Re: How to configure http and https for same hostname

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On March 13, 2013 8:59 , <vitthal.tcs@xxxxxxxxxxxxxx> 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
  mark@xxxxxxxxxxx

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux