httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jsl...@gmail.com>
Subject Re: [users@httpd] redirect question
Date Wed, 30 Jun 2004 19:54:17 GMT
On Wed, 30 Jun 2004 15:47:57 -0400, Shaun T. Erickson <ste@smxy.org> wrote:
> I just installed apache 2.0.48 and can get to my site by going to either
>   http://... or https://...
> 
> I want users to only access the site securely. Rather than blocking port
> 80, can I somehow redirect anything that tries to access the site
> insecurely, to its secure url? How would I do that?

<VirtualHost _default_:80>
Redirect / https://yourhost.example.com/
</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