[Zope] Apache

Tim Zegir trzegir at ncable.net.au
Fri Feb 20 18:18:52 EST 2004


I have the following setup
Mandrake 9.2
Apache 2
Zope 2.7.0
Webmin 1.130

I am using webmin to apply the following rewrite rule.
----------
<VirtualHost dev.foo.com.au>
ServerName dev.foo.com.au
DocumentRoot /var/www
RewriteEngine On
RewriteLog "/var/log/httpd/rewrite_log"
RewriteLogLevel 1
RewriteRule ^/(.*) /
http://localhost:8080/VirtualHostBase/http/dev.foo:80/foo/VirtualHostRoot/$1 [L,P]
</VirtualHost>
-----------
In the file VHosts.conf

When clicking apply in webmin i get the following error
---------------
Failed to apply changes : 
Syntax error on line 54 of /etc/httpd/2.0/conf/vhosts/Vhosts.conf:
RewriteRule: bad flag delimiters
---------------
which is this line
RewriteRule ^/(.*) / http://localhost:8080/VirtualHostBase/http/dev.foo:80/foo/VirtualHostRoot/$1 [L,P]

can anyone tell me what is wrong with it?

thank you
-tim zegir




More information about the Zope mailing list