[Zope] Apache2 rewrite gives frustrating 403 error

Luca Olivetti luca at wetron.es
Wed Apr 5 06:52:28 EDT 2006


En/na Flemming Bjerke ha escrit:
> 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:
> 
> NameVirtualHost 213.173.259.117
> <VirtualHost 213.173.259.117>
>  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 ^/(.*)$
> http://globalfordring.dk:8083/VirtualHostBase/http/globalfordring.dk:80/portaler/globalfordring/VirtualHostRoot/$1
> [L,P]
> </VirtualHost>
> 
> If I remove the rewrite rule, a browser reads html-files from the 
> DocumentRoot. I can also browse zope directly:
> 
> http://globalfordring.dk:8083/portaler/globalfordring. 
> 
> But, when I rewrites this url to globalfordring.dk, I get:
> You don't have permission to access / on this server.

Maybe a missing proxy directive?

<Proxy http://globalfordring.dk:8083/*>
   Allow from 213.173.259.117
</Proxy>

Bye
-- 
Luca Olivetti
Wetron Automatización S.A. http://www.wetron.es/
Tel. +34 93 5883004      Fax +34 93 5883007


More information about the Zope mailing list