Robert Landrum wrote:
Actually, it's been literally 5 years since I've done any named virtualhost stuff, so it could've changed in that time... But as I recall, it will use the global configuration as defined by httpd.conf, not any one specific VirtualHost block.

For NameVirtualHosts, it takes the first one:

"If no matching virtual host is found, then the first listed virtual host that matches the IP address will be used."

http://httpd.apache.org/docs/2.2/vhosts/name-based.html

The VirtualHost setup in this case is IP-based though.

- Perrin

Reply via email to