httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Will" <>
Subject mod_proxy problem with APC on the backend
Date Sat, 07 Apr 2012 22:58:35 GMT
With a light httpd worker front end as a reverse proxy to a mod_php backend everything works
fine, until I enable APC for PHP on the backend.  If I use wget to make a request to the backend
directly, it works fine.  If I restart the httpd backend, it works for one request from the
light side, then fails with:

Proxy Error
The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request GET /test.php. 
Reason: Error reading from remote server

Logs show:
[Sat Apr 07 10:09:02 2012] [error] [client] (70014)End of file found: proxy: error
reading status line from remote server
[Sat Apr 07 10:09:02 2012] [error] [client] proxy: Error reading from remote server
returned by /test.php

Is this similar to your bug report?

You can see my full config without the actual vhost here:

The vhost contains: 
        <IfDefine light>
                ProxyPassReverse /
                RewriteEngine on
                RewriteCond   %{REQUEST_URI} .*\.(php)$
                RewriteRule ^/(.*)$1 [P]

Also I've switched the heavy side to prefork from itk but still the same results.


View raw message