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 06:57:49 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.

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