On Wed, Jul 14, 2010 at 6:36 PM, Eric Covener <covener@xxxxxxxxx> wrote: > The filename affects the order the system returns results for an > Include directive with a wildcard. Can you give a link to what you just mentioned. > > It's really only significant for "the very first one" vs. "all > others", in the case where your request does not match any specific > ServerName/ServerAlias -- the first vhost will be used. > > If you intentionally create virtualhosts with overlapping ServerName > and ServerAlias directives, maybe the order matters there too. The > primary means for figuring out which name-based vhost to use is based > on the ServerName/ServerAlias of course. what ServerName/ServerAlias should I use for default vhost. I am asking this question because when on localmachine i.e. webserver in browser we type http://localhost on Ubuntu based systems we get an html page saying it works. localhost in this case as per our discussion if I understand correctly is being served by the default vhost configuration. which on Ubuntu systems is http://pastebin.com/gKsmUeJa how is localhost hooked up because when I am requesting http://localhost I am not requesting any particular vhost which contains ServerName localhost or ServerAlias localhost. I want to read more about how apache handles vhost so that in future I do not have such problems.If you know some link please share here. -- Tapas http://mightydreams.blogspot.com http://wiki.xensource.com/xenwiki/Xen_on_4_app_servers --------------------------------------------------------------------- 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