From nobody@hyperreal.com Tue May 13 11:36:16 1997 Received: (from nobody@localhost) by hyperreal.com (8.8.5/8.8.5) id LAA21663; Tue, 13 May 1997 11:36:16 -0700 (PDT) Message-Id: <199705131836.LAA21663@hyperreal.com> Date: Tue, 13 May 1997 11:36:16 -0700 (PDT) From: Jack Holt Reply-To: holt@smarthealth.com To: apbugs@hyperreal.com Subject: Port 0 being added in directory redirects X-Send-Pr-Version: 3.2 >Number: 576 >Category: general >Synopsis: Port 0 being added in directory redirects >Confidential: no >Severity: serious >Priority: medium >Responsible: apache >State: closed >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Tue May 13 11:40:01 1997 >Last-Modified: Fri May 30 04:36:28 PDT 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: When the server does a redirect from a directory without a trailing slash, to the same URL with the trailing slash appended, it adds ":0" after the hostname. This happens even if I have specified port 80 in the URL. This may be specific to configurations like ours, since it hasn't been reported before so far as I could see. Our configuration is basically like this: Listen 1.2.3.4:8080 Listen 80 ProxyRequests on # other directives here, too # Serve no local docs on this port order deny,allow deny from all # This vhost serves all local docs DocumentRoot /yada/yada/yada # lots of other directives Here's a sample telnet session: GET /SP HTTP/1.0 HTTP/1.1 301 Moved Permanently Date: Tue, 13 May 1997 18:34:04 GMT Server: Apache/1.2b10 Location: http://smarthealth.com:0/SP/ Connection: close Content-Type: text/html 301 Moved Permanently

Moved Permanently

The document has moved here.

Connection closed by foreign host. The ":0" makes Netscape (3.01/NT) unhappym since it tried to actually connect to port 0, I guess, but MSIE3.02 seems to ignore it and follows the redirect on port 80 instead, >How-To-Repeat: Try >Fix: >Audit-Trail: State-Changed-From-To: open-closed State-Changed-By: pcs State-Changed-When: Fri May 30 04:36:27 PDT 1997 State-Changed-Why: This is fixed in version 1.2b11. It was a bug in the virtual host code. Category-Changed-From-To: mod_dir-general Category-Changed-By: pcs Category-Changed-When: Fri May 30 04:36:27 PDT 1997 >Unformatted: