Re: [users@httpd] Multiple virtual hosts

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

 



Dean,
	http://httpd.apache.org/docs/2.0/mod/core.html#serveralias

rgds


Is it possible to have multiple virtual names for a single host?
Something like:
<VirtualHost *:80>
DocumentRoot /usr/local/apache2/htdocs/www.mydomain.com
ServerName www.mydomain.com
ServerName www.other-mydomain.com
ServerAdmin webmaster@xxxxxxxxxxxx
ErrorLog logs/error_log_www
CustomLog "|/usr/local/apache2/bin/cronolog
/usr/local/apache2/logs/www-access_%Y-%m-%d" "combined" env=!dontlog
LogLevel emerg
</VirtualHost>

Or so I need to specify each independantly?  Im trying to avoid this as
it's a case of having both a .com and a .com.au domain
Thanks
D.

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


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