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
_______________________________________________
Zope maillist - Zope@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 )