[ZOPE] Newbie Zope step 2.

mgb58@hotmail.com mgb58@hotmail.com
Sun, 29 Aug 1999 23:46:02 -0700


Hello,

I've "finally" got ZOPE up and running, but I still have one small(?)
problem.

Details:
on apache redhat 4.2 linux
Python 1.5.1 (#1, Aug 17 1999, 09:42:48)  [GCC 2.7.2.1]
Apache/1.3.6 (Unix)

At the end of my httpd.conf
i have:

---------------------------------------------------
<Location /Zope/>
AuthType Basic
AuthName Zope-realm
AuthUserFile /etc/httpd/users
require valid-user
</Location>

RewriteEngine On
RewriteLog /new/usr/apache/logs/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]

---------------------------------------------------

and most of it works....  I can get the Zope front screen to go... I can open the manage page, I can add users, I can edit current documents, and it serves them fine... but ...

I can't add pages... I can't add anything...

When I press the add button no matter what I try to add, and no matter where I try to add it I get the HTTP 500 Internal server error page.

The button seems to want the document:

http://linus/Zope/.?%3Amethod=manage_addDTMLDocumentForm

but I think somewhere the "." before the "?" disapears and it says it cant find:

http://linus/Zope/?%3Amethod=manage_addDTMLDocumentForm


The access_log says 

203.32.226.34 - superuser [30/Aug/1999:16:42:48 +1000] "GET /Zope/?%3Amethod=man
age_addDTMLDocumentForm HTTP/1.1" 500 282

and the 

rewrite_log says stuff like

203.32.226.34 - superuser [30/Aug/1999:15:59:43 +1000] [linus.tg.nsw.gov.au/sid#
80a21e4][rid#80bc65c/subreq] (3) applying pattern '^/Zope/(.*)' to uri '/'
203.32.226.34 - superuser [30/Aug/1999:15:59:43 +1000] [linus.tg.nsw.gov.au/sid#
80a21e4][rid#80bc65c/subreq] (1) pass through /

I'm guessing the rewrite isn't working for me..... 

Would/Can anyone help me?

Michael Bradbery.