[ZWeb] using 2 reverse proxy for one application

Andreas Jung lists at zopyx.com
Mon Jun 7 10:54:07 EDT 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Wrong list. Ask the on zope at zope.org list.

- -aj

Tapas Mishra wrote:
> 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?
> 
> 
> 
> 
> 


- -- 
ZOPYX Limited           | zopyx group
Charlottenstr. 37/1     | The full-service network for Zope & Plone
D-72070 Tübingen        | Produce & Publish
www.zopyx.com           | www.produce-and-publish.com
- ------------------------------------------------------------------------
E-Publishing, Python, Zope & Plone development, Consulting


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkwNCA8ACgkQCJIWIbr9KYw/YACgi3n2CQyUPQQ+tVvyku9Xz7k9
tsUAoK52OJslUioqDHKK3ZR80VVRWoAM
=ubjR
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lists.vcf
Type: text/x-vcard
Size: 316 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope-web/attachments/20100607/af269c81/attachment.vcf 


More information about the Zope-web mailing list