The following reply was made to PR mod_proxy/2538; it has been noted by GNATS.
From: Marc Slemko <[EMAIL PROTECTED]> To: Ronnie Misra <[EMAIL PROTECTED]> Cc: [EMAIL PROTECTED] Subject: Re: mod_proxy/2538: proxy server behaves incorrectly on http://proxy:port/ Date: Wed, 1 Jul 1998 18:05:41 -0700 (PDT) On 1 Jul 1998, Ronnie Misra wrote: > 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: Please give a sample config. Are you sure you are specifying the Port directive explicitly in the vhost?
