httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Slive" <jos...@slive.ca>
Subject RE: Default server and virtual host in Apache1.3.22
Date Thu, 17 Jan 2002 16:25:30 GMT


> -----Original Message-----
> From: Ashish kulkarni [mailto:kulkarni_ash13@yahoo.com]

> 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

No.  Once you have a NameVirtualHost directive, the main server DocumentRoot
will *never* be used.  (See the paragraph before "Compatability with Older
Browsers" in http://httpd.apache.org/docs/vhosts/name-based.html )

This is not a restriction, however.  Just create a third <VirtualHost>
section with
ServerName pfizer-maps
and the same DocumentRoot as the main server.  If you want it to be the
"default" virtualhost, then list it first in the config file.

Joshua.


---------------------------------------------------------------------
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
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message