httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Dessent <br...@dessent.net>
Subject Re: [users@httpd] SSL the whole site
Date Sat, 24 Jan 2004 01:23:00 GMT
Dirk-Willem van Gulik wrote:

> <VirtualHost *:80>
>         ...
>         RewriteEngine on
>         RewriteRule     ^(.*)   https://%{HTTP_HOST}$1 [R=301]

You can accomplish the same thing much more efficiently with:

Redirect / https://servername.foo/

Brian

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message