httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tapas Mishra <mightydre...@gmail.com>
Subject Re: [users@httpd] beginner problem in setting up apache2
Date Wed, 14 Jul 2010 15:41:21 GMT
On Wed, Jul 14, 2010 at 6:36 PM, Eric Covener <covener@gmail.com> 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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message