Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Zope: Web

using 2 reverse proxy for one application

 

 

Zope web RSS feed   Index | Next | Previous | View Threaded


mightydreams at gmail

Jun 7, 2010, 7:27 AM

Post #1 of 2 (1583 views)
Permalink
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?





--
Tapas
_______________________________________________
Zope-web maillist - Zope-web [at] zope
https://mail.zope.org/mailman/listinfo/zope-web


lists at zopyx

Jun 7, 2010, 7:54 AM

Post #2 of 2 (1517 views)
Permalink
Re: using 2 reverse proxy for one application [In reply to]

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

Wrong list. Ask the on zope [at] zope 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-----
Attachments: lists.vcf (0.31 KB)

Zope web RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.