[Twisted-web] ReverseProxy subpath

Siegmund Fuehringer sifu-twisted at 0xx0.net
Tue May 31 02:11:15 MDT 2005


hi!

i would like to setup a reverse proxy, which serves the root of an 
internal server as '/subpath' of the external server:
http://external.org/subpath -> http://internal.org/
but i can't get it to work.

my current setup requires that the internal server also serves the 
content as '/subpath':

root.putChild( 'subpath', ReverseProxyResource( '127.0.0.1', 6080, 
'/vhost/http/external.org:80/subpath' ) )


is there a way to achieve, what i would like to have?

thank you,
sifu



More information about the Twisted-web mailing list