[ZOPE] Newbie Zope step 2.

Martijn Pieters mj@antraciet.nl
Mon, 30 Aug 1999 09:25:56 +0200


At 08:46 30/08/99 , mgb58@hotmail.com wrote:
>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>

You don't need the Auth* directives because you obviously want to have Zope 
handle the authentication. This is not causing you r problem, but might be 
causing one later on.


>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...

Try ^/Zope(.*) /home/httpd/cgi-bin/Zope.cgi$1

This works for me.

--
Martijn Pieters, Web Developer
| Antraciet http://www.antraciet.nl
| Tel: +31-35-7502100 Fax: +31-35-7502111
| mailto:mj@antraciet.nl http://www.antraciet.nl/~mj
| PGP: http://wwwkeys.nl.pgp.net:11371/pks/lookup?op=get&search=0xA8A32149
------------------------------------------