httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davide Bianchi <dav...@walterisookeensufferukker.nl>
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.

Davide

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