You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Matthew McGillis <ma...@accessone.com> on 1998/02/26 20:41:09 UTC
general/1877: http://hostname:port/~username not found
>Number: 1877
>Category: general
>Synopsis: http://hostname:port/~username not found
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: apache
>State: open
>Class: sw-bug
>Submitter-Id: apache
>Arrival-Date: Thu Feb 26 11:50:01 PST 1998
>Last-Modified:
>Originator: matthew@accessone.com
>Organization:
apache
>Release: 1.2.5
>Environment:
HP-UX 10.20
HP ansi C compiler
>Description:
The problem is very similar in nature to what is described in the FAQ about the server not working correctly when a trailing "/" is not found. If I use a trailing "/" everything is ok. But, when I remove it everything stops working. The ServerName is set correctly to hostname but I have a feeling the code does not account for when the port is different than 80 the server in this situation must return http://hostname:port/~username/ and I suspect it is forgetting about the port number.
>How-To-Repeat:
Should be able to by starting httpd with a port number different than 80.
>Fix:
Add code to check if the port number is different than 80 and if it is include it in what is sent back to the client
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <ap...@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED. This is not done]
[automatically because of the potential for mail loops. ]