>Number:         2538
>Category:       mod_proxy
>Synopsis:       proxy server behaves incorrectly on http://proxy:port/
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Wed Jul  1 14:10:01 PDT 1998
>Last-Modified:
>Originator:     [EMAIL PROTECTED]
>Organization:
apache
>Release:        1.2.6
>Environment:
Linux florey.mit.edu 2.0.33 #3 Wed Jun 17 22:11:34 EDT 1998 i586 unknown
>Description:
When I configure a browser to use apache as a proxy server, and then
try to access a nonstandard port on the server, apache incorrectly proxies
me to port 80.
>How-To-Repeat:
set up host foo.mydomain.org as a proxy server on port 80
try to access http://foo.mydomain.org:8080/ through the proxy
this will give you the wrong page (http://foo.mydomain.org:80/)
>Fix:
I suspect that the proxy code ignores the port number of a URL if the host
matches the local hostname. The fix would be to not ignore the port number.
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <[EMAIL PROTECTED]> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]



Reply via email to