You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wiki-changes@httpd.apache.org by Apache Wiki <wi...@apache.org> on 2007/03/29 09:19:00 UTC

[Httpd Wiki] Update of "ScratchPad/RedirectSSL" by sjorge

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Httpd Wiki" for change notification.

The following page has been changed by sjorge:
http://wiki.apache.org/httpd/ScratchPad/RedirectSSL

The comment on the change is:
Remove the port 8443, it can cause confusion

------------------------------------------------------------------------------
  <Location /secure>
     RewriteEngine On
     ReWriteCond %{HTTPS} !=on
-    RewriteRule .* https://%{HTTP_HOST}:8443%{REQUEST_URI} [QSA,R=301,L]
+    RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [QSA,R=301,L]
  </Location>
  }}}