[Zope] Apache + ZServer: Excluding some URLS from a ProxyPass

Evan Simpson evan@4-am.com
Thu, 21 Jun 2001 00:13:54 -0400


From: "Peter Hernberg" <petehern@yahoo.com>
> ProxyPass / http://www.oursite.com:9673/
> ProxyPassReverse / http://www.oursite.com:9673/
>
> But somehow I'd like http://www.oursite.com/survey.cgi to bypass this rule
> untouched.

I suspect that you'll need RewriteRules.  Something like:

RewriteRule /survey.cgi - [L]
RewriteRule /(.*) http://www.oursite.com:9673/$1 [P,L]

The ProxyPassReverse *may* still do its job, but I recommend a
VirtualHostMonster anyway.

Cheers,

Evan @ digicool & 4-am