On 10/26/05, Dean Maunder <[EMAIL PROTECTED]> wrote:
> 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 [EMAIL PROTECTED]
> 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>


<VirtualHost 192.168.1.100:80>
        ServerName   mydomain.com:80
        ServerAlias  www.mydomain.com
        ServerAlias  blah.mydomain.com
        UseCanonicalName Off
        DocumentRoot /www/mydomain.com/www.mydomain.com/htdocs
</VirtualHost>

---------------------------------------------------------------------
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to