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.

Instead of using ProxyPass with VirtualHosts, using below RewriteRule
resulted with the same above problem.

  RewriteEngine On
  RewriteCond %{HTTP_POST} ^alice\.home\.com$
  RewriteRule ^/(.*) http://192.168.1.3/$1 [L,P]
  RewriteCond %{HTTP_POST} ^bob.home\.com$
  RewriteRule ^/(.*) http://192.168.1.4/$1 [L,P]

I'm still looking for a solution. Any helps will be really appreciated.


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