Forum Moderators: phranque

Message Too Old, No Replies

mod_rewrite problem with getting SSL working as well

         

csmith

9:43 pm on Oct 26, 2004 (gmt 0)



I have been racking my brain.

Here is my .htaccess file:

RewriteEngine On
Options +FollowSymlinks
RewriteCond %{HTTP_HOST} 127.0.0.1
RewriteBase /
RewriteRule ^index\.html$ /Merchant2/merchant.mvc [L]

My site is working fine untill I try and access the site by https instead of http. I have changed the ip address from the server to the loopback address to hide our site. We are still in development with it and don't want anything to leak out.

If I remove the .htaccess file everything works fine.

I can put my finger on what I am missing.

Thanks in advance for any help.
-- Chris