Hi,
I am using a proxy like this:
[pipeline:default]
pipeline = egg:Paste#httpexceptions
theme.default
zope.default
[filter:theme.default]
use = egg:dv.xdvserver#xdv
theme_uri = file://%(here)s/html/template.html
rules = %(here)s/rules/plone.xml
live = True
absolute_prefix = /static
[app:zope.default]
use = egg:Paste#proxy
address = http://localhost:8080/VirtualHostBase/http/
localhost:5000/test/VirtualHostRoot/
(ignore line break on the last line)
The idea is to have a Deliverance filter (with dv.xdvserver) in front of a
virtual-hosted Zope on port 8080.
I had assumed this is what Paste#proxy is for. However, it seems to not pass
the QUERY_STRING along to the address specified, which means that forms using
GET requests fail spectacularly.
Is this a bug? Or is there another way? I noticed that the TransparentProxy
app does pass the query string. However, this assumes I have some other
middleware that sets the HTTP_HOST and other variables, which I'd rather
avoid having to write.
Martin
_______________________________________________
Paste-users mailing list
[email protected]
http://webwareforpython.org/cgi-bin/mailman/listinfo/paste-users