Changes between Version 2 and Version 3 of Ticket #775, comment 12


Ignore:
Timestamp:
May 26, 2016, 5:36:26 PM (10 years ago)
Author:
Torsten Riemer

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #775, comment 12

    v2 v3  
    66  RewriteCond %{HTTP_HOST}                 !\.(.*)\. [NC]
    77  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]
    99
    1010  ##-- redirect to https-domain (Do not uncomment if you only have a SSL-Proxy!)
    1111  RewriteCond %{HTTPS} off
    12   RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
     12  RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
    1313}}}