Apache Server configuration support - Reverse Proxy Errors

This is Interesting: Free IT Magazines  
Home > Archive > Apache Server configuration support > August 2006 > Reverse Proxy Errors





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Reverse Proxy Errors
dj.rogier@gmail.com

2006-08-03, 7:36 pm

I have
php 5.1.4-1
apache 2.2.2-1.2
perl 4:5.8.8-5
running on a FC5 server.

using VirtualHosts configuration:
<VirtualHost *:80>
ServerName www.webserver.net
ServerAlias webserver.net
DocumentRoot /var/www/html/
ProxyPass /vend http://deathvalley/vend
ProxyPassReverse /vend http://deathvalley/vend
ProxyPass /naf http://deathvalley/naf
ProxyPassReverse /naf http://deathvalley/naf
ProxyTimeout 300
<Location /vend/>
ProxyPassReverse /
RequestHeader unset Accept-Encoding
</Location>
<Location /naf/>
ProxyPassReverse /
RequestHeader unset Accept-Encoding
</Location>
</VirtualHost>

I get the correct server 40% of the time.. The other times I get an
error:
"The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request GET /vend/.
Reason: Error reading from remote server
Apache/2.2.2 (Fedora) Server at www.webserver.net Port 80"


in the logs when the error is returned I see:
[Wed Aug 02 21:16:10 2006] [info] [client x.x.x.x] (32)Broken pipe:
core_output_filter: writing data to the network
[Wed Aug 02 21:16:10 2006] [error] [client y.y.y.y] proxy: error
reading status line from remote server deathvalley
[Wed Aug 02 21:16:10 2006] [error] [client y.y.y.y] proxy: Error
reading from remote server returned by /vend/bugs/report.asp
[Wed Aug 02 21:16:10 2006] [debug] proxy_util.c(1816): proxy: HTTP: has
released connection for (deathvalley)

All threads I have found dealing with (32)Broken pipe: discuss users
hitting the stop button - not the case here. Any Ideas on where to
start?

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2009 webservertalk.com