I am trying to set up an ssl using the shared ssl provided by hostgator.
I use drupal 5.6 , ubercart and secure pages module.
The way to use the secure server layer recommended by hostgator is like so:
https://ns123.hostgator.com/~AccountName/SubFolder/
AccountName is the name registered with hostgator and represents the main domain name.
SubFolder is basically a deferent domain name used under the same main account.
With hostgator you can host unlimited domains under one main account.
When I am using the main account https://ns123.hostgator.com/~AccountName/ all the files on the main account and the files within folders of the main account can be accessed using the ssl.
When I am using the SubFolder under the main account https://ns123.hostgator.com/~AccountName/SubFolder/ I can use the ssl - no problem.
Only when I am trying to use files within the SubFolder I’ll get an error page.
This problem occurs only when .htaccess files with RewriteRule is used in the SubFolder.
When the .htaccess file is not in use or more accurately no RewriteRule within the .htaaccess file (using only plain html files) – there is no problem to use the ssl under SubFolders and all files within the SubFolders.
I have tried to add or change RewriteRule, RewriteBase under. Htaccess - no luck.
I have tried to add or change $base_url in the settings.php file - no luck.
I have also tried following the suggestion at: http://drupal.org/node/61099 - no luck.
Any suggestion on the correct setup for .htaccess and settings.php to solve this problem?





Joined: 06/23/2008