Re: NameVirtualHost Directive

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

 



On Dec 17, 2007 12:17 AM, Bryan Richardson <btricha@xxxxxxxxx> wrote:
> Hi Florian,
>
> Thanks for the response.  I guess my question is why have the
> NameVirtualHost directive since the *same* IP address is required to be
> specified as an attribute in the VirtualHost block?

It makes request processing more efficient for IP-based virtual hosts
if you need to specify explicitly when a host is name-based.

This way, for IP-based virtual hosts (ie, for any IP address that has
not been specified in a NameVirtualHost directive), apache doesn't
need to bother matching against the ServerName inside each
<VirtualHost> block, it can simply use the first block that matches
the IP address/port.

Joshua.

---------------------------------------------------------------------
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