Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
apache:redirect-http-to-https [2011-04-17 23:13:16]
shaun.reitan Approved
apache:redirect-http-to-https [2011-04-25 15:56:46]
shaun.reitan Approved
Line 6: Line 6:
 RewriteEngine On RewriteEngine On
 RewriteCond %{HTTPS} off RewriteCond %{HTTPS} off
-RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}+RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L]
 </code> </code>
  
 {{tag>how-to apache}} {{tag>how-to apache}}