The following reply was made to PR config/1304; it has been noted by GNATS.
From: =?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?= <[EMAIL PROTECTED]> To: Dean Gaudet <[EMAIL PROTECTED]> Cc: [EMAIL PROTECTED] Subject: Re: config/1304: Main server broken by first VirtualHost found (with workaround) Date: Thu, 23 Oct 1997 14:05:04 +0400 (MSD) On Thu, 23 Oct 1997, Dean Gaudet wrote: > Ok I tried it with > > ServerName www.arctic.org > > <VirtualHost twinlark.arctic.org> > ServerName twinlark.arctic.org > </VirtualHost> > > and there was no problem. > Do www.host.com and host.com have the same address? Yes, I talk about only *one* IP address, the same port but different DNS names. Here is my full config, maybe it can clarify something (it the example below www.nagual.pp.ru replaced by lsd.relcom.eu.net) maybe HostnameLookups off play role here? ServerType standalone Port 80 HostnameLookups off User nobody Group nogroup ServerRoot /usr/local/etc/apache ErrorLog /var/log/httpd-error.log TransferLog /var/log/httpd-access.log ServerName www.nagual.pp.ru NameVirtualHost 193.124.23.23:80 <VirtualHost lsd.relcom.eu.net> ServerName lsd.relcom.eu.net Redirect gone / ErrorLog /dev/null TransferLog /dev/null </VirtualHost> <VirtualHost www.nagual.ru> ServerName www.nagual.ru RewriteEngine on RewriteRule ^/cgi-bin/redirect\.cgi? - [L] RewriteRule (^/.*) /usr/local/www/cgi-bin/redirect.cgi?$1 [L] TransferLog /dev/null </VirtualHost> <VirtualHost www2.ru.freebsd.org> ServerName www2.ru.freebsd.org UserDir disabled ServerAdmin [EMAIL PROTECTED] DocumentRoot /usr/local/www/data/www.freebsd.org/data ScriptAlias /cgi/ /usr/local/www/data/www.freebsd.org/data/cgi/ ErrorLog /var/log/www2.ru-error.log TransferLog /var/log/www2.ru-access.log </VirtualHost> -- Andrey A. Chernov <[EMAIL PROTECTED]> http://www.nagual.pp.ru/~ache/
