I am setting up a Zope Site (zope) behind an Apache Server. I have the
ReWrite rule working correctly:
<VirtualHost 10.0.0.12:80>
ServerName
www.example.com
ServerAlias example.com
RewriteEngine on
RewriteRule ^/(.*)
http://www.example.com:8081/VirtualHostBase/http/www.example.com:80/zo...Virtual
[P,L]
ErrorLog /path/to/error/log
TransferLog /path/to/access/log
ProxyVia on
Alias /mail /var/www/mail
<Directory "/var/www/mail">
Order deny,allow
Deny from all
Allow from 10.0.0
DirectoryIndex "Index.htm"
</Directory>
</VirtualHost>
This works perfectly with the zope site (www.example.com goes directly
to the zope site login page) but it is also redirecting
www.example.com/mail to the zope server when I don't want it to.
How do I stop the ReWrite rule redirecting everything on
www.example.com to the Zope server without interferring with the zope
site?
Gavin Young
"Despite the tons of examples and docs mod_rewrite is voodoo. Damned
cool voodoo, but still voodoo." --Brian Moore