Forum Moderators: phranque

Message Too Old, No Replies

Proxy connect apache to server located in different subnet

proxy connect apache

         

satheeshkumar

4:04 pm on May 23, 2011 (gmt 0)

10+ Year Member



Hi,

I am trying to connect my apache webserver to an application server(147.243.205.33) which is located in different subnet. So i tried to enable proxy from webserver to application server. All the firewall settings are fine and application running at port 8080.

My proxy settings is below:

LoadModule proxy_module modules/mod_proxy.so
<IfModule mod_proxy.c>
ProxyRequests On
<Proxy *>
Order deny,allow
Allow from all
</Proxy>

ProxyVia On
</IfModule>

SSLProxyEngine on
ProxyPreserveHost Off

and the proxypass is as below:

ProxyPass /docs
http://147.243.205.33:8080/docs/

ProxyPassReverse /docs
http://147.243.205.33:8080/docs/


but, still i am facing the proxy error as below:

proxy: error reading status line from remote server 147.243.205.33
proxy: Error reading from remote server returned by /docs/

If i am trying to connect another server within same subnet, its working fine.

Can anyone suggest me how to tune my webserver to connect app server in different subnet.