httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wang, Mary Y" <mary.y.w...@boeing.com>
Subject [users@httpd] Virtual Hosting Document Root Problem
Date Wed, 28 Aug 2002 01:42:11 GMT
Hi,
I am running apache-1.3.20-16.
I following the instructions from the documentation, however, it still
didn't work for me.
This is the portion of my httpd.conf file.
------------------------------------------------------

ServerName 129.172.115.125
DocumentRoot /usr/www
DirectoryIndex index.php index.html
NameVirtualHost 129.172.115.125
<Directory />
    Options FollowSymLinks
    AllowOverride None
</Directory>

<Directory  /usr/www>
Options Indexes FollowSymlinks
AllowOverride All
order allow,deny
allow from all
</Directory>

<VirtualHost 129.172.115.125>
ServerName brass.web.boeing.com 
ServerAlias rpr-fom-btsn.web.boeing.com
ServerAdmin Mary.Y.Wang@boeing.com
DocumentRoot /usr/www
</VirtualHost>

<VirtualHost 129.172.115.125>
ServerName rpr-fom-btsn.web.boeing.com
DocumentRoot /home/project/rprf/htdocs
AddHandler cgi-script .cgi
</VirtualHost>
--------------------------------------------------------

The problem is everytime I go to the rpr-fom-btsn.web.boeing.com,
Apache is still grabing the index.html from /usr/www NOT from
/home/project/rprf/htdocs that I specified as the DocumentRoot for
rpr-fom-btsn.web.boeing.com.

Any clue?

Thanks in advance.
Mary 


---------------------------------------------------------------------
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