You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2002/09/18 14:07:20 UTC
DO NOT REPLY [Bug 12767] New: -
Proxy to a server that returns a 301 causes delay
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12767>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12767
Proxy to a server that returns a 301 causes delay
Summary: Proxy to a server that returns a 301 causes delay
Product: Apache httpd-2.0
Version: 2.0.40
Platform: PC
OS/Version: Windows NT/2K
Status: NEW
Severity: Normal
Priority: Other
Component: mod_proxy
AssignedTo: bugs@httpd.apache.org
ReportedBy: jfletcher@quark.com
http://server:port/ - An origin server, in my case it's not running Apache, but
I doubt that that matters.
http://proxy:port/ - A 2.0.40 Apache server acting as a proxy.
If I hit http://server:port/ in the browser, the server replies with a 301
and the browser's URL changes to the the new Location. Fine.
If I set up the Apache proxy server with:
<IfModule mod_proxy.c>
ProxyRequests On
ProxyPass / http://server:port/
ProxyPassReverse / http://server:port/
</IfModule mod_proxy.c>
And hit http://proxy:port/ in the browser, there is a delay, equal to the
Apache proxy Timout setting, before the reply ends up in the browser.
When I hit http://proxy:port/, the origin server is responding with the 301
immediately, and it really seems like Apache is waiting (for the Timeout
duration) before it does the new request.
If I hit http://proxy:port/resource/that/exists.html, I get the reply
immediately.
This same configuration works fine for me in Apache 1.3.22, which I also
have installed and set up as a proxy to the same origin server. In this
case, I do not get the Timeout delay.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org