Re: [ZWeb] using 2 reverse proxy for one application
Andreas Jung <[email protected]> Mon, 07 Jun 2010 16:54:07 +0200
| Newsgroups | gmane.comp.web.zope.websites |
|---|---|
| Organization | ZOPYX Ltd & Co. KG |
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format. --------------050006090405080608000505 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Wrong list. Ask the on [email protected] list. - -aj Tapas Mishra wrote: > Hi, > due to some problem I have to use 2 reverse proxy to access an interna= l server. >=20 >=20 > Server A Server B -----------instance 1 > Public IP 192.168.1.5 > | > | --------------instance2 >=20 > On the first one that is A >=20 > ProxyPass / http://192.168.1.5 > ProxyPassReverse / http://192.168.1.5 >=20 >=20 > 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 >=20 > ProxyPass / http://localhost:8080/VirtualHostBase/http/localhost:80/vhm= /VirtualHostRoot/application > ProxyPassReverse / > http://localhost:8080/VirtualHostBase/http/localhost:80/vhm/VirtualHost= Root/application >=20 >=20 > 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 >=20 > http://localhost:8080/VirtualHostBase/http/localhost:80/vhm/VirtualHost= Root/application >=20 > and application is not running on A so some one from outside can not ac= cess it. > So in this situation what should I do? >=20 >=20 >=20 >=20 >=20 - --=20 ZOPYX Limited | zopyx group Charlottenstr. 37/1 | The full-service network for Zope & Plone D-72070 T=FCbingen | 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 =3DubjR -----END PGP SIGNATURE----- --------------050006090405080608000505 Content-Type: text/x-vcard; charset=utf-8; name="lists.vcf" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="lists.vcf" begin:vcard fn:Andreas Jung n:Jung;Andreas org:ZOPYX Ltd. & Co. KG adr;quoted-printable:;;Charlottenstr. 37/1;T=C3=BCbingen;;72070;Germany email;internet:[email protected] title:CEO tel;work:+49-7071-793376 tel;fax:+49-7071-7936840 tel;home:+49-7071-793257 x-mozilla-html:FALSE url:www.zopyx.com version:2.1 end:vcard --------------050006090405080608000505 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Zope-web maillist - [email protected] https://mail.zope.org/mailman/listinfo/zope-web --------------050006090405080608000505--