httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jay Chandler <chandler.li...@chapman.edu>
Subject [users@httpd] Virtual Hosts in 2.2
Date Tue, 30 Jan 2007 01:10:08 GMT
Attempting to set up my virtual hosts so that www.haderach.net goes to 
the normal DocumentRoot, and mail.haderach.net goes to my squirrelmail 
folder.

Contents of extra/httpd-vhost.conf:

 NameVirtualHost *:80

<VirtualHost *:80>
ServerName www.haderach.net
ServerAlias haderach.net *.haderach.net
DocumentRoot /usr/local/www/apache22/data
</VirtualHost>

<VirtualHost *:80>
ServerName mail.haderach.net
DocumentRoot /usr/local/www/squirrelmail
</VirtualHost>

Yet, my a request to mail.haderach.net goes to the documentroot for Apache.

Help?

-- 
Jay Chandler
Network Administrator, Chapman University
714.628.7249 / chandler@chapman.edu
Today's Excuse: Secretary sent chain letter to all 5000 employees. 


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