httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Volkan YAZICI <yazic...@ttmail.com>
Subject [users@httpd] Re: ProxyPass and POST Requests
Date Wed, 05 Nov 2008 10:09:44 GMT
On Tue, 04 Nov 2008, Volkan YAZICI <yazicivo@ttmail.com> writes:
> The other side of the redirection (192.168.1.{3,4}) is handled by Apache
> Tomcat servers. When one issues a POST request, Apache (192.168.1.2)
> complains that:
>
>   Proxy Error
>
>   The proxy server received an invalid response from an upstream server.
>   The proxy server could not handle the request POST /do.
>
>   Reason: Error reading from remote server
>
> and it dumps
>
>   (70014)End of file found: proxy: error reading status line from remote server 192.168.1.3,
referer: http://alice.home.com/
>   proxy: Error reading from remote server returned by /do, referer: http://alice.home.com/
>
> in to the error log.

Answering to my own question: There is problem with Apache Tomcat while
trying to make it sit behind an Apache HTTP Server gateway proxy.
Instead of using http://192.168.1.3/ in the ProxyPass URL, load
mod_proxy_ajp module and use ajp://192.168.1.3/ as URL.


Regards.

---------------------------------------------------------------------
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