Krist van Besien wrote: > On Sun, Apr 5, 2009 at 6:18 PM, J. Greenlees <lists@xxxxxxxxxxxxxxxxxxx> wrote: > > > >> I tried specifying the name in the NameVirtualHost for 3 domains. >> [ one entry per domain, naturally. ] It was only by using the *.:80 in >> the NameVirtualHost directive, and only having the one NameVirtualHost >> for multiple vhosts that the error went away. >> > > You could have found this out by reading the manual too :-) > But then I wouldn't remember it as well. ;-) I always try to figure it out without touching the docs, and usually succeed, so I remember it better. I may not know why it was done that way until I read them, but I do at least remember how to use the directives correctly. ~snip~ > Putting the servhostname in the <VirtualHost> tag itself does not > cause apache to match requests to this hostname to this block, as in > the value inside the <VirtualHost> tag is only used to match against a > NameVirtualHost statement... > > Krist True, it just makes it easier for a human to scan a listing of them and find the one they want. The layout of the Virtualhost container makes finding the container delimiters easer than finding the servername directive when scanning through a number of them. Jaqui --------------------------------------------------------------------- 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