I have Apache 2.2.11 and a web server behind it (CherryPy).
When I upload a large file to the CherryPy server, I see the file in
/tmp/modrproxy.tmp.FOO
It uploads completely.
Then Apache returns a 502 error without ever hitting the backend (the
first line of code in the handler is to spit out a log line saying it
was reached).

The access and error logs are below and my virtual host config.
I can't think what else to try.  I was using RewriteRules for this.
Same situation.

This is a production server and it's having problems.  Any help would be
greatly appreciated.

Scott


access log
<IPADDRESS> - - [24/Nov/2009:16:13:46 -0500] "POST
/lertwfm/addFileToCase HTTP/1.1" 502 422

error log
[Tue Nov 24 16:18:23 2009] [error] [client <IPADDRESS>] (70014)End of
file found: proxy: error reading status line from remote server
127.0.0.1, referer:
http://lertwfmdev.odc.vzwcorp.com/lertwfm/detail_edit_case?case_id=6667
[Tue Nov 24 16:18:23 2009] [error] [client <IPADDRESS>] proxy: Error
reading from remote server returned by /lertwfm/addFileToCase, referer:
http://lertwfmdev.odc.vzwcorp.com/lertwfm/detail_edit_case?case_id=6667


<VirtualHost *>
    DocumentRoot "/opt/webapp/wfm"
    ServerName foo.bar.com
    ErrorLog "|/usr/local/apache2/bin/rotatelogs
/usr/local/apache2/logs/lert_wfm-error_log 86400"
    CustomLog "|/usr/local/apache2/bin/rotatelogs
/usr/local/apache2/logs/lert_wfm-access_log 86400" common

  <Location ~ "^/static/.*$">
    FileETag None

    ExpiresActive On
    ExpiresDefault "access plus 2 hours"

    Order allow,deny
    allow from all
    SetHandler default-handler
  </Location>

  ProxyPass /static/ !
  ProxyPass /lertwfm/static/js/ !
  ProxyPass /fax/ http://127.0.0.1:9010/fax/
  ProxyPass / http://127.0.0.1:9000/ connectiontimeout=900 timeout=900

  <Location ~ "^(?!/static/).*$">
    Order allow,deny
    allow from all
  </Location>

</VirtualHost>



---------------------------------------------------------------------
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-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to