I am using a reverse proxy to send
http://revproxy/blah/blah2/URL to
http://internal:port/URL.
I have tried the following configuration, without success. It works
fine if "prefix = /", but for anything else I get a 404, whether I
visit the internal server directly or not. I have tried every
combination of URLs I can think of, but nothing works if I have
"prefix = /blah/blah2". Any thoughts?
TIA.
[server:main]
use = egg:Paste#http
host = 0.0.0.0
port = 28354
#port = 8080
[composite:main]
use = egg:Paste#urlmap
/ = pipe
[pipeline:pipe]
pipeline = prefix-filter myapp
[filter: prefix-filter]
use = egg:PasteDeploy#prefix
prefix = /blah/blah2
[app:myapp]
use = egg:myapp