RE: [us...@httpd] how to setup mod_ssl to accept only https requests

2009-06-18 Thread ravindra
Thanks guys your solutions worked. _ From: Lyle Wincentsen [mailto:lyle.wincent...@gmail.com] Sent: Thursday, June 18, 2009 12:47 PM To: users@httpd.apache.org Subject: Re: [us...@httpd] how to setup mod_ssl to accept only https requests >Davide wrote: >You have two way:

Re: [us...@httpd] how to setup mod_ssl to accept only https requests

2009-06-18 Thread Lyle Wincentsen
>Davide wrote: >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. You could also call the following php function at the top of each page where you

Re: [us...@httpd] how to setup mod_ssl to accept only https requests

2009-06-17 Thread Davide Bianchi
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,