httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ashish kulkarni <>
Subject Default server and virtual host in Apache1.3.22
Date Thu, 17 Jan 2002 16:18:21 GMT
I am trying to configure 2 virtual host in apache
1.3.22 on windows 2000.
I am Using Name-based Virtual Hosts, 
my default server name is
pfizer-maps, with DocumentRoot "C:/maps" and ipaddress 
then i define 2 virtual host 
they look some thing like this
    ServerName as400-maps
    DocumentRoot "C:/mapsjrun/pages"
	ServerName testvh
        DocumentRoot "C:/application/maps"
every thing works fine for virtualhost, if i get
request by as400-maps name i go to its document root,
and if i get request testvh i go to its document root,

but when i get request as pfizer-maps i go to the
document root of as400-maps.
Now the question is, does apache work like this only,
i came accross a document at
which has a statement 
Note: the "main server" and any _default_ servers will
never be served for a request to a NameVirtualHost IP
so what does this mean , can i access the server
default document root or not, i am a bit confused how
can i access my default server


Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message