From nobody@hyperreal.com Fri May 2 17:24:18 1997 Received: (from nobody@localhost) by hyperreal.com (8.8.5/8.8.5) id RAA00641; Fri, 2 May 1997 17:24:18 -0700 (PDT) Message-Id: <199705030024.RAA00641@hyperreal.com> Date: Fri, 2 May 1997 17:24:18 -0700 (PDT) From: Jack Holt Reply-To: holt@smarthealth.com To: apbugs@hyperreal.com Subject: VirtualHost _default_ stopped working with 1.2b10 on nonstandard port X-Send-Pr-Version: 3.2 >Number: 530 >Category: config >Synopsis: VirtualHost _default_ stopped working with 1.2b10 on nonstandard port >Confidential: no >Severity: serious >Priority: medium >Responsible: apache >State: closed >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Fri May 2 17:30:01 1997 >Last-Modified: Sun May 4 13:23:10 PDT 1997 >Originator: holt@smarthealth.com >Organization: >Release: 1.2b10 >Environment: uname -a: SunOS ... 5.5 Generic sun4m sparc SUNW,SPARCstation-20 GCC 2.7.2 >Description: I have a configuration that works fine with 1.2b8, but doesn't work with 1.2b10. Basicallly what this configuration does is Listen 1.2.3.4:8085 Listen 1.2.3.4:8086 Listen 2.3.4.5:8086 ...proxy requests, but don't serve any local documents... ...This host is meant to serve our documents (on both interfaces, on port 8086 only), and not proxy anything... This DTRT on beta 8, but in beta 10 the proxy works but the default VirtualHost doesn't seem to get called for requests on port 8086. Running 'truss' showed that Apache was looking in /usr/local/etc/httpd/htdocs, instead of /www/docs as the instructed. Also, the ErrorLog for the default VirtualHost is not being written to when this happens. My "main server" configuration sets up very little. Maybe it's falling back to that instead of the _default_ virtualhost. >How-To-Repeat: Try setting up a configuration like above, where apache is listening on two non-standard ports, with a virtualhost specified on one of them, and the default is supposed to handle the other. (If that doesn't work, let me know, and I'll try to characterize it better; also, I can send the httpd.conf, if that'd help.) >Fix: >Audit-Trail: State-Changed-From-To: open-closed State-Changed-By: dgaudet State-Changed-When: Sun May 4 13:23:10 PDT 1997 State-Changed-Why: I realised that this is expected behaviour after the bug fix that went into 1.2b10. I've improved the documentation and updated the CHANGES. Your setup should work if you use . Thanks for using Apache! Dean >Unformatted: