From nobody@hyperreal.com Fri Sep 27 17:26:05 1996 Received: by taz.hyperreal.com (8.7.5/V2.0) id RAA23653; Fri, 27 Sep 1996 17:26:05 -0700 (PDT) Message-Id: <199609280026.RAA23653@taz.hyperreal.com> Date: Fri, 27 Sep 1996 17:26:05 -0700 (PDT) From: Brian Behlendorf Reply-To: brian@organic.com To: apbugs@hyperreal.com Subject: Problem with sections for Host: based vhosts. X-Send-Pr-Version: 3.2 >Number: 1 >Category: config >Synopsis: Problem with sections for Host: based vhosts. >Confidential: no >Severity: critical >Priority: medium >Responsible: apache >State: closed >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Fri Sep 27 17:26:09 1996 >Last-Modified: Sun Nov 3 18:04:25 PST 1996 >Originator: brian@organic.com >Organization: >Release: 1.2-dev >Environment: BSDI 2.0, current CVS snapshot, using GCC >Description: In the config files, if a specification for a Host:-based vhost does not appear before the first for IP-based vhosts, then the host-based vhost will not work. I.e., if you have vhost11.com and vhostIP.com representing HTTP/1.1-host:-header-based vhost and an older 1.0-mandated IP-based vhost in the other, with a config file which looks like ... ServerName vhostIP.com ... ServerName vhost11.com then "vhost11.com" will not show up, instead access to http://vhost11.com/ will default to whatever the main web server's home pages are. The vhost11.com section must be placed *BEFORE* vhostIP.com in order to work. >How-To-Repeat: See above. >Fix: No >Audit-Trail: State-Changed-From-To: open-closed State-Changed-By: brian State-Changed-When: Sun Nov 3 18:04:25 PST 1996 State-Changed-Why: Patches provided by Dean Gaudet appeared to fix the problem. These will be in 1.2. >Unformatted: