Re: Enabling HTTP and HTTPs

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

 



Krist van Besien wrote:
On Mon, Oct 26, 2009 at 9:01 PM, André Warnier <aw@xxxxxxxxxx> wrote:
The other way I could think of would be to use virtual hosts, like

Listen 80 HTTP
Listen 443 HTTPS

NameVirtualHost *:80
<VirtualHost *:80>
...
</VirtualHost>

NameVirtualHost *:443
<VirtualHost *:443>
... (SSL-based config)
</VirtualHost>

You don't need the NameVirtualHost directives.

Uh ?
"If name-based vhosts should be used a NameVirtualHost directive /must/ appear with the IP address set to be used for the name-based vhosts. In other words, you must specify the IP address that holds the hostname aliases (CNAMEs) for your name-based vhosts via a NameVirtualHost directive in your configuration file."

http://httpd.apache.org/docs/2.2/vhosts/details.html





---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[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