[Zope] Rewrite problem
Sam Bright
exciter at exciter.ws
Fri May 14 00:50:16 EDT 2004
If anyone can help, I'd appreciate it. I'm trying to setup zope to work with apache. I want apache to answer everything except when an url goes to /blog, then I want zope to take over for that directory. I have my rewrite rule setup as:
NameVirtualHost *
<VirtualHost *>
ServerName myservername
Rewrite Engine On
RewriteLog "/var/log/apache/rewrite.log
RewriteLogLevel 1
RewriteRule ^/(.*) http://127.0.0.1:8080/VirtualHostBase/http/myservername:80/blog/VirtualHostRoot/_vh_blog/$1 [L,P]
</VirtualHost>
Whenever I try to access my server I get:
Forbidden
You don't have permission to access / on this server.
I've tried many combinations from the tutorials and I either get this or nothing gets passed to zope.
I turned mod_proxy on with:
<IfModule mod_proxy.c>
ProxyRequests On
<Directory proxy:">
Order deny,allow
Allow from myservername
Deny from all
</Directory>
</IfModule>
Any ideas?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20040513/b81a8153/attachment.html
More information about the Zope
mailing list