[Zope] zope in apache 1.3.6 (still trying)

Perez, Victor vaperez@bechtel.com
Mon, 9 Aug 1999 08:10:13 -0500


Hi:

I've installed the zope rpm on my redhat 6.0, when I try to access the
manage page I get the following:

===================
   You are not authorized to access this resource. No Authorization header
found.
Traceback (innermost last):
  File /tmp/Zope-rootdir/usr/lib/python1.5/ZPublisher/Publish.py, line 877,
in publish_module
  File /tmp/Zope-rootdir/usr/lib/python1.5/ZPublisher/Publish.py, line 531,
in publish
    (Info: /manage)
  File /tmp/Zope-rootdir/usr/lib/python1.5/ZPublisher/Publish.py, line 297,
in unauthorized
Unauthorized: (see above)
===================

Here is part of my httpd.conf:
====================
# httpd.conf
ServerType standalone
Port 80
StartServers 10
MinSpareServers 8
MaxSpareServers 20
KeepAlive 0
KeepAliveTimeout 15
MaxClients 150
MaxRequestsPerChild 100
PidFile /var/run/httpd.pid
Timeout 300
ScoreBoardFile /var/run/httpd.scoreboard
ServerRoot /etc/httpd
HostnameLookups off
ErrorLog logs/error_log
User nobody
Group nobody
Options ExecCgi Includes Indexes FollowSymlinks SymLinksIfOwnerMatch

UseCanonicalName on
CacheNegotiatedDocs
MaxKeepAliveRequests 100

#Rewrite rules for Zope
RewriteEngine on
RewriteLog /var/log/httpd/rewrite.log
RewriteLogLevel 9
RewriteCond %{HTTP:Authorization}  ^(.*)
RewriteRule ^/Zope/(.*) /home/httpd/cgi-bin/Zope.cgi/$1
[e=HTTP_CGI_AUTHORIZATION:%1,t=application/x-httpd-cgi,l]
==================

Here is what I get on rewrite.log

==================
[09/Aug/1999:08:28:58 -0400] [www.mv.cl/sid#80774ac][rid#80930b4/initial]
(2) init rewrite engine with requested uri /cgi-bin/Zope.cgi
[09/Aug/1999:08:28:58 -0400] [www.mv.cl/sid#80774ac][rid#80930b4/initial]
(3) applying pattern '^/Zope/(.*)' to uri '/cgi-bin/Zope.cgi'
[09/Aug/1999:08:28:58 -0400] [www.mv.cl/sid#80774ac][rid#80930b4/initial]
(1) pass through /cgi-bin/Zope.cgi
[09/Aug/1999:08:29:06 -0400] [www.mv.cl/sid#80774ac][rid#80930b4/initial]
(2) init rewrite engine with requested uri /cgi-bin/Zope.cgi/manage
[09/Aug/1999:08:29:06 -0400] [www.mv.cl/sid#80774ac][rid#80930b4/initial]
(3) applying pattern '^/Zope/(.*)' to uri '/cgi-bin/Zope.cgi/manage'
[09/Aug/1999:08:29:06 -0400] [www.mv.cl/sid#80774ac][rid#80930b4/initial]
(1) pass through /cgi-bin/Zope.cgi/manage
[09/Aug/1999:08:29:06 -0400] [www.mv.cl/sid#80774ac][rid#80950c4/subreq] (2)
init rewrite engine with requested uri /manage
[09/Aug/1999:08:29:06 -0400] [www.mv.cl/sid#80774ac][rid#80950c4/subreq] (3)
applying pattern '^/Zope/(.*)' to uri '/manage'
[09/Aug/1999:08:29:06 -0400] [www.mv.cl/sid#80774ac][rid#80950c4/subreq] (1)
pass through /manage
====================

Where is the problem?

-
Atentamente,
Victor Perez Muena
IS&T Support - Port Area (Los Vilos)
Los Pelambres Project - Bechtel Chile Ltda.
Ext. 8033, Phone: (2) 361-8033 - Fax: (2) 361-8025