Changes between Version 2 and Version 3 of Ticket #775, comment 12
- Timestamp:
- May 26, 2016, 5:36:26 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #775, comment 12
v2 v3 6 6 RewriteCond %{HTTP_HOST} !\.(.*)\. [NC] 7 7 RewriteCond %{HTTP_HOST} !^localhost [NC] 8 RewriteRule (.*)http://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L]8 RewriteRule ^ http://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L] 9 9 10 10 ##-- redirect to https-domain (Do not uncomment if you only have a SSL-Proxy!) 11 11 RewriteCond %{HTTPS} off 12 RewriteRule (.*)https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]12 RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L] 13 13 }}}
