[ZWeb] using 2 reverse proxy for one application
Tapas Mishra <[email protected]> Mon, 7 Jun 2010 19:57:14 +0530
| Newsgroups | gmane.comp.web.zope.websites |
|---|---|
| Message-ID | <[email protected]> |
Hi, =A0due to some problem I have to use 2 reverse proxy to access an internal = server. Server A =A0 =A0 =A0 =A0 =A0 =A0 =A0Server B -----------instance 1 Public IP =A0 =A0 =A0 =A0 =A0 =A0192.168.1.5 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0| =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0| --= ------------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/Vir= tualHostRoot/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? -- = Tapas _______________________________________________ Zope-web maillist - [email protected] https://mail.zope.org/mailman/listinfo/zope-web