[Zope] Problem with Apache 2 and Zope 2.7

Florian Lindner mailinglists at xgm.de
Tue Oct 14 09:50:17 EDT 2003


Hello,
I try to setup a Apache and Zope configuration using RewriteRules.
The Zope Server is bound to the IP 127.0.0.1.
I've used these expressions inside a VirtualHost block of http.conf. As a 
first step they should redirect all requests to the VirtualHost to the Zope 
server:

      RewriteEngine On
      RewriteLog "/var/log/httpd/rewrite.log"
      RewriteRule ^/(.*) http://localhost:8080/$1 [L,P]

The client web-browser says: 403 Forbidden

Forbidden
You don't have permission to access /manage on this server.
Apache/2.0.47 (Unix) mod_ssl/2.0.47 OpenSSL/0.9.6g PHP/4.3.2 Server at 
centershock.net Port 80

When accessing it with http://centershock.net:8080/manage it works perfect.
What's wrong?
Thanks,
Florian

This is a output of the rewrite.log

217.86.12.38 - - [14/Oct/2003:15:43:18 +0200] [centershock.net/sid#811e570]
[rid#823aa58/initial] (2) init rewrite engine with requested uri /manage
217.86.12.38 - - [14/Oct/2003:15:43:18 +0200] [centershock.net/sid#811e570]
[rid#823aa58/initial] (2) rewrite /manage -> http://localhost:8080/manage
217.86.12.38 - - [14/Oct/2003:15:43:18 +0200] [centershock.net/sid#811e570]
[rid#823aa58/initial] (2) forcing proxy-throughput with http://
localhost:8080/manage

This is a part of netstat -l:

Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State

tcp        0      0 *:http-alt              *:*                     LISTEN

Zope is listening.




More information about the Zope mailing list