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?


DirectoryIndex index.html index.php<br />
<br />
<IfModule mod_rewrite.c><br />
RewriteEngine on<br />
# Some hostings require RewriteBase to be uncommented<br />
# Example:<br />
# Your store url is http://www.yourcompany.com/store/cscart<br />
# So "RewriteBase" should be:<br />
# RewriteBase /store/cscart<br />
RewriteBase /<br />
RewriteCond %{REQUEST_FILENAME} !-f<br />
RewriteCond %{REQUEST_FILENAME} !-d<br />
RewriteRule . index.php?sef_rewrite=1 [L,QSA]<br />
<br />
RewriteCond %{REQUEST_FILENAME} .*\/catalog\/.*<br />
RewriteCond %{REQUEST_FILENAME} -d<br />
RewriteCond %{REQUEST_FILENAME}/index.html !-f<br />
RewriteRule . index.php?sef_rewrite=1 [L,QSA]<br />
<br />
</IfModule><br />
<br />
<IfModule mod_deflate.c><br />
SetOutputFilter DEFLATE<br />
<br />
# compress content with type html, text, js, and css<br />
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<br />
<br />
# Properly handle old browsers that do not support compression<br />
BrowserMatch ^Mozilla/4 gzip-only-text/html<br />
BrowserMatch ^Mozilla/4\.0[678] no-gzip<br />
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html<br />
<br />
# Explicitly exclude binary files from compression just in case<br />
SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip dont-vary<br />
SetEnvIfNoCase Request_URI \.(?:exe|t?gz|zip|bz2|sit|rar)$ no-gzip dont-vary<br />
SetEnvIfNoCase Request_URI \.pdf$ no-gzip dont-vary<br />
SetEnvIfNoCase Request_URI \.avi$ no-gzip dont-vary<br />
SetEnvIfNoCase Request_URI \.mov$ no-gzip dont-vary<br />
SetEnvIfNoCase Request_URI \.mp3$ no-gzip dont-vary<br />
SetEnvIfNoCase Request_URI \.mp4$ no-gzip dont-vary<br />
SetEnvIfNoCase Request_URI \.rm$ no-gzip dont-vary<br />
<br />
# properly handle requests coming from behind proxies<br />
Header append Vary User-Agent env=!dont-vary<br />
</IfModule><br />
<Files 403.shtml><br />
order allow,deny<br />
allow from all<br />
</Files><br />
<br />

```<br />
<br />
Thank you,<br />
<br />
BRandon