[Zope] Rewrite problem
Sam Bright
exciter at exciter.ws
Fri May 14 01:03:02 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?
More information about the Zope
mailing list