httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jos...@slive.ca>
Subject RE: [users@httpd] SSL Redirect
Date Fri, 04 Jun 2004 20:42:40 GMT

On Fri, 4 Jun 2004, Brian Quinn wrote:

> hmmm, that threw it into an infinite loop or redirections, any other ideas?
>
>
>
> Also, i'm not using a virtual host, it's the only site on the server (apache 2)

That's why you got an infinite loop.  You need something like this:

<VirtualHost _default_:80>
ServerName yourhost.example.com
Redirect / https://yourhost.example.com/
</VirtualHost>

<VirtualHost _default_:443>
ServerName yourhost.example.com
DocumentRoot ...
SSLDirectives...
</VirtualHost>

Joshua.

---------------------------------------------------------------------
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