Skip to Content
0
Mar 23, 2005 at 02:23 PM

Apache2 reverse proxy Proxy Error and fine tuning for NW04

2035 Views

Hi,

I installed Apache2 reverse proxy on my NW04 cluster environment but every few navigations I get the follwoing error:

<i>

Proxy Error

The proxy server received an invalid response from an upstream server.

The proxy server could not handle the request POST /irj/...

Reason: Error reading from remote server

Apache/2.0.53 (Win32) Server at <server name> Port 80

</i>

I think that the proxy error might occurs since the reverse proxy isn't fine tune.

I defined the follwoing virtual host as follow::

<i>

ProxyPreserveHost On

Listen <hostname>:80

<VirtualHost <hostname>:80>

ServerName <hostname>:

ServerAdmin <admin name>

LogLevel info

ErrorLog logs/error_log

CustomLog logs/access_log common

ProxyVia Off

ProxyPreserveHost On

ReWriteEngine on

ReWriteLogLevel 0

ReWriteLog logs/rewrite_http.log

ReWriteRule ^/(.*)$ http://<hostname>:52000/$1 [P,NC,L]

ProxyPassReverse / http://<hostname>:52000/

</VirtualHost>

</i>

I defined the global environment and the Server-Pool Size Regulation as follow:

<i>

Timeout 3000000

KeepAlive On

MaxKeepAliveRequests 100

KeepAliveTimeout 15000

<IfModule mpm_winnt.c>

ThreadsPerChild 250

MaxRequestsPerChild 0

</IfModule>

</i>

Thanks in advance

Yael