[Zope] zope + apache + rewrite
Ruslan Spivak
alienoid@is.lg.ua
Fri, 11 Apr 2003 11:35:36 +0300
Hello, zope users.
I need help. i have apache + zope + VHM configuration:
<VirtualHost www.is.lg.ua:5000>
ServerName www.is.lg.ua
RewriteEngine On
RewriteRule ^/(.*) http://192.168.1.1:6080/VirtualHostBase/
http/www.is.lg.ua:5000/is/VirtualHostRoot/$1 [L,P]
ProxyVia on
</VirtualHost>
In root of zope i have /is folder.
All this works, but in apache /cgi-bin directory i have irc.cgi script
and i need to call www.is.lg.ua:5000/chat so that
www.is.lg.ua:5000/cgi-bin/irc.cgi will be called.
I tried 'ScriptAlias /chat /cgi-bin/irc.cgi' inside VirtualHost, but
that doesn't work, because all mapping goes to zope, so i need probably
the rewrite rule, but dunno how to make it work.
Maybe you can help me with that?
Your help is very, very appreciated.
Thanks in advance,
Ruslan