[Zope] Zope+Apache+ProxyPass
Ivan Cornell
ivan.cornell@framestore.co.uk
Fri, 23 Feb 2001 11:22:11 +0000
Stephan Goeldi wrote:
> >Use rewriting rules, eg:
> >
> > ProxyPassReverse / http://www.mysite.com:1485/
> > RewriteEngine On
> > RewriteLogLevel 0
> > RewriteLog "/var/log/httpd/rewrite_log"
> > RewriteRule ^/stat/ - [L]
> > RewriteRule ^/(.*) http://www.mysite.com:1485/$1 [P]
> >
>
> What do you need ProxyPassReverse for, when you use Rewrite?
>
> I too think, that Rewrite is a better solution, but there should be the
> Rewrite Module compiled in or loaded as a DSO by Apache.
I can't take any credit for the above, I've got it all straight out of zope
howtos:
http://www.zope.org/Members/anser/apache_zserver
http://www.zope.org/Members/shaw/HowTo/ApacheFrontEnd
http://www.zope.org/Members/jec/virtual_howto_html
Excpet I can't find the ProxyPassReverse line! However, as I understand it,
it is requied for redirects to work, by fixing up the location header:
http://www.apacheref.com/ref/mod_proxy/ProxyPassReverse.html
Ivan