[Zope] Apache

Phil Harris phil at harris-family.info
Fri Feb 20 18:42:45 EST 2004


Tim,

you have an extra / on that line, it should be:

RewriteRule ^/(.*) http://localhost:8080/VirtualHostBase/http/dev.foo:80/foo/VirtualHostRoot/$1 [L,P]




Tim Zegir wrote:

>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
>
>
>_______________________________________________
>Zope maillist  -  Zope at zope.org
>http://mail.zope.org/mailman/listinfo/zope
>**   No cross posts or HTML encoding!  **
>(Related lists - 
> http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope-dev )
>  
>




More information about the Zope mailing list