httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nelson, Robert D." <>
Subject RE: [users@httpd] redirect question
Date Wed, 30 Jun 2004 20:07:17 GMT

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

In the VirtualHost for the non-SSL site, try adding:

 Redirect /

Take a look at the docs:

 ~ Robert

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message