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/RedirectSSL The comment on the change is: added note to using vertual hosts about redirect working in other locations too ------------------------------------------------------------------------------ There is a separate page for this located here: ["RewriteHTTPToHTTPS"] - === Using virtual hosts === + === Using virtual hosts (using redirect) === When using SSL, you will frequently have at least two virtual hosts: one on port 80 to serve ordinary requests, and one on port 443 to serve SSL. If you wish to redirect users from the non-secure site to the SSL site, you can use an ordinary [http://httpd.apache.org/docs/trunk/mod/mod_alias.html#redirect Redirect] directive inside the non-secure VirtualHost: {{{ @@ -33, +33 @@ # etc... </VirtualHost> }}} + '''Note:''' redirect can also be used inside directory and .htaccess files ----
