[users@httpd] How to configure http and https for same hostname

2013-03-13 Thread vitthal.tcs
Hi, How to configure http and https for same hostname. Any good document. Regards Vitthal This e-Mail may contain proprietary and

Re: [users@httpd] How to configure http and https for same hostname

2013-03-13 Thread Mark Montague
On March 13, 2013 8:59 , vitthal@tatamotors.com wrote: How to configure http and https for same hostname. Any good document. You need to have one VirtualHost stanza for HTTP, and a second VirtualHost stanza for HTTPS. In order to configure them both for the same hostname, specify the

Re: [users@httpd] How to configure http and https for same hostname

2013-03-13 Thread Chris Gordon
Hello, If you are trying to setup so that all requests for either http or https go to https I would use a rewrite rule. You can use a virtual host for https, listen on both http port and https port and then add a rewrite rule to your httpd.conf. There are examples that can be found easily,