[Zope] Apache ProxyPass + Zope == bad?
Oliver Bleutgen
myzope@gmx.net
Fri, 08 Mar 2002 17:07:49 +0100
Reformated message, for readability ...
Chris, do you have a new mail client? ;-)
Chris McDonough wrote:
> Ouch. ;-) How did you fix it with mod_rewrite, out of curiosity?
>
> Zachery Bir" <zbir@urbanape.com> wrote:
>>Just a word. Don't know if it's been brought up before, but
>>mod_proxy, using the details on zope.org ( even though outdated )
>>like this:
>>
>>NameVirtualHost 192.192.123.234
>>
>><VirtualHost 192.192.123.234>
>>ServerName www.fightclub.org
>>ServerAdmin tyler@fightclub.org
>>
>>ProxyPass / http://zserver.xyz.com:9180/fightclub/
>>ProxyPassReverse / http://zserver.xyz.com:9180/fightclub/
>>ProxyPass /misc_ http://zserver.xyz.com:9180/misc_
>>ProxyPass /p_ http://zserver.xyz.com:9180/p_
>>
>></VirtualHost>
>>
>>Will open up your server to be a Proxy server on the net.
>>
>>I've found that this isn't the case with mod_rewrite and
>>VirtualHostMonster.
>>[SNIP]
The above is not quite correct.
Look at http://httpd.apache.org/docs/mod/mod_proxy.html#proxyrequests
You have to explicitly enable that stuff (via "ProxyRequests on"),
but ProxyPass will work anyway - maybe some braindead distributions/*nix
products enable that by default.
cheers,
oliver