You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Tapas Mishra <mi...@gmail.com> on 2010/06/07 15:06:24 UTC
[users@httpd] using 2 reverse proxy for one application
Hi,
due to some problem I have to use 2 reverse proxy to access an internal server.
Server A Server B -----------instance 1
Public IP 192.168.1.5
|
| --------------instance2
On the first one that is A
ProxyPass / http://192.168.1.5
ProxyPassReverse / http://192.168.1.5
and the internal Server is running a server known as Zope and
application is available on 8080 on it.
To be able to redirect a request to Zope on local machine the Apache
Vhost configuration should be some thing like this
ProxyPass / http://localhost:8080/VirtualHostBase/http/localhost:80/vhm/VirtualHostRoot/application
ProxyPassReverse /
http://localhost:8080/VirtualHostBase/http/localhost:80/vhm/VirtualHostRoot/application
What is happening is if some one tries to reach application with
Public IP of server A
then in url at first ProxyPass
http://192.168.1.5 is written and then on this server B
another ProxyPass is written so the
effective url on A becomes
http://localhost:8080/VirtualHostBase/http/localhost:80/vhm/VirtualHostRoot/application
and application is not running on A so some one from outside can not access it.
So in this situation what should I do?
If I have not been able to make myself clear then let me know.
--
Tapas
---------------------------------------------------------------------
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