httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Heligon Sandra <sandra.heli...@nextream.fr>
Subject RE: [users@httpd] mod_proxy and 301 responses
Date Tue, 17 Sep 2002 13:58:18 GMT
how can i do to unsubsribe from this list ?
an empty mail to 'users-unsubscribe@httpd.apache.org' dosn't work.

-----Original Message-----
From: Jeff Fletcher [mailto:jfletcher@quark.com]
Sent: 17 September 2002 15:54
To: 'users@httpd.apache.org'
Subject: RE: [users@httpd] mod_proxy and 301 responses


Here's (hopefully) a clearer picture of my setup:
http://server:port/ - An origin server, NOT running Apache.  It's actually
based on Jigsaw.
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.

Thanks again,
Jeff


> -----Original Message-----
> From: Zac Stevens [mailto:zts@cryptocracy.com]
> Sent: Tuesday, September 17, 2002 7:32 AM
> To: users@httpd.apache.org
> Subject: Re: [users@httpd] mod_proxy and 301 responses
> 
> 
> On Tue, Sep 17, 2002 at 07:14:11AM -0600, Jeff Fletcher wrote:
> > Good point.  In my test environment the browser can see 
> http://server:port/,
> > but in reality I should be using ProxyPassReserve too.
> > But there is still a 5 minute wait for a hit to 
> http://apache:port/.  I did
> > play with the Timeout setting in httpd.conf, and that is 
> the length of time
> > the browser has to wait for a reply.
> 
> ahh...I think I may have made an incorrect reading of your 
> original post.
> Could you please describe your setup in a little more detail 
> - have you
> upgraded Apache on both machines, or only the proxy?  On 
> which machine have
> you adjusted the timeouts?  ie, is it the proxy or the backend that is
> sitting on the request?  Is there anything unusual in the log messages
> pertaining the the problem requests?
> 
> Issues with server-generated redirects in proxy environments 
> usually seem
> to be due to incorrect hostnames making it into the response, but your
> problem sounds a bit different.
> 
> 
> Zac
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP 
> Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message