httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davide Bianchi <>
Subject Re: [users@httpd] how to setup mod_ssl to accept only https requests
Date Thu, 18 Jun 2009 06:55:58 GMT
ravindra wrote:
> But when I type “http://localhost “ it is still working (showing the
> index.html content in htdocs) . I want my apache server to accept only
> “https “requests.
> How to configure this?

You have two way: remove the 'Listen 80' option, basically disabling the
whole http part, or add a 'RedirectPermanent / https:...' to the default
http vhost to redirect all the http request to https.


I am a fully rounded human being, with a degree from the university of
life, a diploma from the school of hard knocks, and three gold stars
from the kindergarten of getting the shit kicked out of me.
- Edmund Blackadder

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