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 same ServerName and DocumentRoot in both <VirtualHost> stanzas. That's all.

For more information on setting up Virtual Hosts in Apache HTTP Server 2.4, see https://httpd.apache.org/docs/2.4/vhosts/ For more information about setting up HTTPS, see https://httpd.apache.org/docs/2.4/ssl/

--
  Mark Montague
  m...@catseye.org

Reply via email to