[Zope] Apache2 rewrite gives frustrating 403 error

Flemming Bjerke flem at bjerke.dk
Wed Apr 5 06:36:37 EDT 2006

I hope someome can help me solving this problem:

My apache2 rewrite statement to zope/plone make persistently 403 error. 
(Exactly the same statement has worked before.)

From sites-available/zope:

 DocumentRoot /var/www/virtual/globalfordring.dk
 ServerName globalfordring.dk
 ServerSignature On
 CustomLog     /var/log/apache2/globalfordring.dk-access.log combined
 ErrorLog      /var/log/apache2/globalfordring.dk-error.log
 LogLevel debug
 RewriteEngine On
 ProxyVia On
 RewriteRule ^/(.*)$

If I remove the rewrite rule, a browser reads html-files from the 
DocumentRoot. I can also browse zope directly:


But, when I rewrites this url to globalfordring.dk, I get:
You don't have permission to access / on this server.

The happens if I exchange RewriteRule with:

 ProxyPass / http://localhost:8083/portaler/globalfordring
 ProxyPassReverse / http://localhost:8080/globalfordring

I don't understand what is wrong?


The server is a debian stable, Sarge, with apache2.0.54, og zope278 is 
compiled with its own python 2.3.5. There is a a virtualhostmoster in /. The 
problem does not disappear when I disable the iptables firewall.

actions.load auth_plain.load mod_python.load perl.load php4.load
proxy_connect.load proxy.load userdir.conf cgi.load perl.conf php4.conf
proxy.conf proxy_ftp.load rewrite.load userdir.load

[client] client denied by server configuration:

More information about the Zope mailing list