Hi,
I'm using Apache HTTP Server (192.168.1.2) to redirect incoming HTTP
connections to related servers in the local network. For this purpose, I
configured apache with below directives.
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_http_proxy.so
ServerAdmin [EMAIL PROTECTED]
ServerName me.home.com
NameVirtualHost *:80
ProxyRequests On
<VirtualHost *:80>
ServerName alice.home.com
ProxyPass / http://192.168.1.3/
ProxyPassReverse / http://192.168.1.3/
</virtualHost>
<VirtualHost *:80>
ServerName bob.home.com
ProxyPass / http://192.168.1.4/
ProxyPassReverse / http://192.168.1.4/
</virtualHost>
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. Any ideas about what might be the problem?
Moreover, any alternative methods for domain based proxying is welcome
too.
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: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]