Virtual Hosts in 2.2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx
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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux