You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Oliver von Bueren <ov...@ovb.ch> on 1998/04/09 22:20:00 UTC
Re: config/2005: Incorrect Virtual Servers
The following reply was made to PR config/2005; it has been noted by GNATS.
From: ovb@ovb.ch (Oliver von Bueren)
To: dgaudet@arctic.org, al@shatz.co.uk
Cc: apbugs@Apache.Org
Subject: Re: config/2005: Incorrect Virtual Servers
Date: Thu, 09 Apr 1998 20:11:29 GMT
Hello.
I've upgraded to 1.2.6 from 1.2.5 and one (only one) of my virtual
hosts did not point to the correct one. They are non-IP virtual hosts
(all on one IP address). The pages showed where the "default" for this
address, meaning the last host entered in the configuration.=20
The host that fails is ntinternals.ovb.ch, ntinternals.mhs.ch works
fine, which points to exactly the same location, perhaps that matters.
Here are the relevant lines, all virtual host for this ip address.
# --- Address 195.65.24.145---
<VirtualHost fwu.ovb.ch>
ServerAdmin ovb@ovb.ch
DocumentRoot /usr/www/fwu
ServerName fwu.ovb.ch
ErrorLog logs/fwu.ovb.ch-error_log
TransferLog logs/fwu.ovb.ch-access_log
CustomLog logs/fwu.ovb.ch-referer_log "%t Host: %v From: %{Referer}i
=46or: %U By: %h"
</VirtualHost>
# --- Address 195.65.24.145 ---
<VirtualHost ntinternals.ovb.ch>
ServerAdmin ovb@ovb.ch
DocumentRoot /usr/www/mirrors/ntinternals
ServerName ntinternals.ovb.ch
ErrorLog logs/ntinternals.ovb.ch-error_log
TransferLog logs/ntinternals.ovb.ch-access_log
CustomLog logs/ntinternals.ovb.ch-referer_log "%t Host: %v From:
%{Referer}i For: %U By: %h"
</VirtualHost>
# --- Address 195.65.24.145 ---
<VirtualHost ntinternals.mhs.ch>
ServerAdmin ovb@ovb.ch
DocumentRoot /usr/www/mirrors/ntinternals
ServerName ntinternals.mhs.ch
ErrorLog logs/ntinternals.ovb.ch-error_log
TransferLog logs/ntinternals.ovb.ch-access_log
CustomLog logs/ntinternals.ovb.ch-referer_log "%t Host: %v From:
%{Referer}i For: %U By: %h"
</VirtualHost>
# --- Address 195.65.24.145 ---
<VirtualHost www.ovb.ch>
ServerAdmin ovb@ovb.ch
DocumentRoot /usr/www/ovb
ServerName www.ovb.ch
ErrorLog logs/www.ovb.ch-error_log
TransferLog logs/www.ovb.ch-access_log
CustomLog logs/www.ovb.ch-referer_log "%t Host: %v From: %{Referer}i
=46or: %U By: %h"
</VirtualHost>
I also noticed, that the time needed to answer a request to
ntinternals.ovb.ch, which returns www.ovb.ch, took much longer until
it got answered as all the other hosts which work correctly.
Cheers,
Oliver
/---------------------------------------------------------------------\
=A6 Oliver von Bueren ovb@ovb.ch =
=A6
=A6 Schlierenstr. 42 www.ovb.ch =
=A6
=A6 8142 Uitikon Switzerland =
=A6
=A6 VoicePhone: ++41-1-4958181 =
=A6
=A6 Attention: TimeZone GMT+1 -> VoiceCalls only 09.00-21.00 local time =
=A6
\---------------------------------------------------------------------/