SSL on Hostgator

I'm trying to help a guy get his SSL working on Hostgator and for some reason I just can do it. The SSL cert is installed and the config.local.php file is fine so I'm thinking that his problem must be with his .htaccess file.



Below is the .htaccess file. Does it look ok? What is wrong? Any ideas?


```php DirectoryIndex index.html index.php





RewriteEngine on

Some hostings require RewriteBase to be uncommented

Example:

Your store url is http://www.yourcompany.com/store/cscart

So “RewriteBase” should be:

RewriteBase /store/cscart

RewriteBase /

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule . index.php?sef_rewrite=1 [L,QSA]



RewriteCond %{REQUEST_FILENAME} ./catalog/.

RewriteCond %{REQUEST_FILENAME} -d

RewriteCond %{REQUEST_FILENAME}/index.html !-f

RewriteRule . index.php?sef_rewrite=1 [L,QSA]









SetOutputFilter DEFLATE


compress content with type html, text, js, and css

AddOutputFilterByType DEFLATE text/html text/plain text/css text/javascript text/xml image/svg+xml application/javascript application/x-javascript application/atom_xml application/rss+xml application/xml application/xhtml+xml application/x-httpd-php application/x-httpd-fastphp


Properly handle old browsers that do not support compression

BrowserMatch ^Mozilla/4 gzip-only-text/html

BrowserMatch ^Mozilla/4.0[678] no-gzip

BrowserMatch \bMSIE !no-gzip !gzip-only-text/html


Explicitly exclude binary files from compression just in case

SetEnvIfNoCase Request_URI .(?:gif|jpe?g|png)$ no-gzip dont-vary

SetEnvIfNoCase Request_URI .(?:exe|t?gz|zip|bz2|sit|rar)$ no-gzip dont-vary

SetEnvIfNoCase Request_URI .pdf$ no-gzip dont-vary

SetEnvIfNoCase Request_URI .avi$ no-gzip dont-vary

SetEnvIfNoCase Request_URI .mov$ no-gzip dont-vary

SetEnvIfNoCase Request_URI .mp3$ no-gzip dont-vary

SetEnvIfNoCase Request_URI .mp4$ no-gzip dont-vary

SetEnvIfNoCase Request_URI .rm$ no-gzip dont-vary


properly handle requests coming from behind proxies

Header append Vary User-Agent env=!dont-vary





order allow,deny

allow from all





```



Thank you,



BRandon