SSL exclusion

can anyone give me insight on how to exclude the XMLRPC folder from SSL so I can have a proper working mobile app? What I thought I knew to do was put the following in the htaccess. I tried both the root .htaccess, the ssl .htaccess and the folder itself .htaccess but it still rewrites to https:  Any help is greatly needed.

RewriteEngine On RewriteCond %{HTTPS} on RewriteCond %{THE_REQUEST} !/xmlrpc [NC] RewriteRule ^ http://%{HTTP_HOST}%{REQUEST_URI} [L,NE,R=302] 

Quote · 9 May 2018

You can try to change redirect in inc/header.inc.php file to look something like this, so it will skip xmlrpc folder:

//check correct hostname
if (false === strpos($_SERVER['REQUEST_URI'], 'xmlrpc')) {
  $aUrl = parse_url( $site['url'] );
  $iPortDefault = 'https' == $aUrl['scheme'] ? '443' : '80';
  if ( isset($_SERVER['HTTP_HOST']) and 0 != strcasecmp($_SERVER['HTTP_HOST'], $aUrl['host']) and 0 != strcasecmp($_SERVER['HTTP_HOST'], $aUrl['host'] . ':' . (!empty($aUrl['port']) ? $aUrl['port'] : $iPortDefault)) ) {
      $sPort = empty($aUrl['port']) || 80 == $aUrl['port'] || 443 == $aUrl['port'] ? '' : ':' . $aUrl['port'];
      header( "Location:{$aUrl['scheme']}://{$aUrl['host']}{$sPort}{$_SERVER['REQUEST_URI']}", true, 301 );
      exit;
  }
}
Rules → http://www.boonex.com/terms
Quote · 21 May 2018
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.