From nobody@hyperreal.com Wed May 14 14:47:08 1997 Received: (from nobody@localhost) by hyperreal.com (8.8.5/8.8.5) id OAA09896; Wed, 14 May 1997 14:47:08 -0700 (PDT) Message-Id: <199705142147.OAA09896@hyperreal.com> Date: Wed, 14 May 1997 14:47:08 -0700 (PDT) From: Jack Holt Reply-To: holt@smarthealth.com To: apbugs@hyperreal.com Subject: _default_ VirtualHost not matching when IP number and port used X-Send-Pr-Version: 3.2 >Number: 583 >Category: config >Synopsis: _default_ VirtualHost not matching when IP number and port used >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: closed >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Wed May 14 14:50:00 1997 >Originator: holt@smarthealth.com >Organization: >Release: 1.2b10 >Environment: SunOS rabies 5.5 Generic sun4m sparc SUNW,SPARCstation-20 GCC 2.7.2 >Description: Our config consists of two VirtualHosts, one specific to one port & IP, the other intended to catch requests on a different port on all IP's. (like this: Listen 80 Listen 1.2.3.4:8080 ... ... This works fine for requests using any of our multiple hostnames for this machine, but a request to http://1.2.3.4/ (or even http:/1.2.3.4:80/) is served by the main server, not the second virtualhost. Since we don't set a DocumentRoot for the main server, and there is no htdocs dir in the ServerRoot directory, an error gets logged to the error log, which is specified in the main server, and inherited by the second virtual host (so I am assuming the main server is logging the error based on it looking for htdocs in the ServerRoot.) >How-To-Repeat: Try a configuration like I described above. >Fix: >Audit-Trail: State-Changed-From-To: open-analyzed State-Changed-By: dgaudet State-Changed-When: Sun Jun 22 21:08:37 PDT 1997 State-Changed-Why: I'm having trouble reproducing this problem. Does it still occur with the 1.2 release? If so can you send me your config files? Thanks Dean State-Changed-From-To: analyzed-closed State-Changed-By: marc State-Changed-When: Thu Jun 26 11:35:10 PDT 1997 State-Changed-Why: User reports problem fixed with 1.2.0. From: Marc Slemko To: apbugs@apache.org Subject: Re: config/583: _default_ VirtualHost not matching when IP number and port used (fwd) Date: Thu, 26 Jun 1997 12:36:29 -0600 (MDT) ---------- Forwarded message ---------- Date: Thu, 26 Jun 1997 09:34:22 -0700 (MST) From: Jack Holt To: dgaudet@hyperreal.com Cc: apache-bugdb@apache.org, dgaudet@apache.org Subject: Re: config/583: _default_ VirtualHost not matching when IP number and port used This problem no longer occurs with 1.2.0 using the same configuration files as I used with 1.2b10. Thanks for looking into it, though. --Jack; >Unformatted: >Last-Modified: Thu Jun 26 11:35:11 PDT 1997