I'm having a problem with this, it gets to a redirect loop. I have a shared SSL and my configure.php and .htaccess are as follow:
configure.php
and the .htaccess is:Code:define('HTTP_SERVER', 'http://www.mysite.com'); define('HTTPS_SERVER', 'https://secure.hosting.com'); // Use secure webserver for checkout procedure? define('ENABLE_SSL', 'true'); // NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes! // * DIR_WS_* = Webserver directories (virtual/URL) // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder) define('DIR_WS_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/~myusername/');
Everythin is fine in the non-SSL pages but as soon as I click login it will go into a loop making it like https:/secure.host.com/~myusername/~myusername/~myusername/~myusername/login?zenid=hash and it should be something like https:/secure.host.com/~myusername//login?zenid=hashCode:# To set your custom php.ini, add the following line to this file: # suphp_configpath /home/yourusername/path/to/php.ini #### BOF SSU Options +FollowSymLinks -MultiViews RewriteEngine On # Make sure to change "~subfolder" and "catalog" to whatever they are on your server. RewriteBase /~myusername/ # Deny access from .htaccess RewriteRule ^\.htaccess$ - [F] RewriteCond %{SCRIPT_FILENAME} !-f RewriteCond %{SCRIPT_FILENAME} !-d RewriteRule ^(.*) index.php?/$1 [E=VAR1:$1,QSA] # STRIP THE REWRITEBASE RULE FROM NON-SSL CONNECTIONS. # Make sure to change "~subfolder" and "catalog" to whatever they are on your server. RewriteCond %{SERVER_PORT} 80 RewriteCond %{REQUEST_URI} ^/~myusername/ RewriteRule ^(.*) /index.php?/$1 [E=VAR1:$1,QSA,L] #### EOF SSU
Any idea? I suspect it's something concerning the .htaccess... Thank you.


Reply With Quote

