Re: ProxyPass and POST Requests

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 04 Nov 2008, Volkan YAZICI <yazicivo@xxxxxxxxxx> 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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux