Return-Path: Delivered-To: apache-bugdb-archive@hyperreal.org Received: (qmail 6845 invoked by uid 6000); 23 Oct 1997 10:10:01 -0000 Received: (qmail 6831 invoked by uid 2001); 23 Oct 1997 10:10:00 -0000 Date: 23 Oct 1997 10:10:00 -0000 Message-ID: <19971023101000.6830.qmail@hyperreal.org> To: apache-bugdb@apache.org Cc: apache-bugdb@apache.org, From: =?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?= Subject: Re: config/1304: Main server broken by first VirtualHost found (with workaround) Reply-To: =?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?= Sender: apache-bugdb-owner@apache.org Precedence: bulk The following reply was made to PR config/1304; it has been noted by GNATS. From: =?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?= To: Dean Gaudet Cc: apbugs@hyperreal.org 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 > > > ServerName twinlark.arctic.org > > > 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 ServerName lsd.relcom.eu.net Redirect gone / ErrorLog /dev/null TransferLog /dev/null 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 ServerName www2.ru.freebsd.org UserDir disabled ServerAdmin webmaster@www2.ru.freebsd.org 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 -- Andrey A. Chernov http://www.nagual.pp.ru/~ache/