Monday, January 31, 2005

Apache and changing http to https

Apache and changing http to https

Try url rewriting

RewriteEngine On
RewriteLog /wwww/logs/rewrite.log
RewriteLogLevel 9
RewriteCond %{HTTPS} !=on
RewriteCond %{HTTP_HOST} ^mysite.com*
RewriteRule ^/* https://%{HTTP_HOST}$1 [R,L]

No comments:

Post a Comment