[Zope] a quick note on a redhat 6.0/apache install

Stuart Woolford stuartw@newmail.net
Mon, 6 Sep 1999 16:17:42 +1200


Having done great battle to get 2.0.0 zope working under apache, I thought I'd
pass on a couple of tips:

0 - remember to run the install script in the zope directory, and check you
have the zope/pcgi/pcgi-wrapper executable

1 - you need to add the required lines to the httpd.conf
(/etc/httpd/httpd.conf) apache file as per the existing documentation.

2 - you need to make Zope.cgi in both the zope directory and the
/home/httpd/cgi-bin directory *readable by the zope process*- which gets run as
nobody - THIS IS EASY TO MISS!!!!

3 - user 'nobody' must be able to execute the Zope.cgi and pcgi-wrapper programs

4 - you must start the zope server (from in the zope directory, and usually as
root ) by running './start -p ./Zope.cgi' (hey, there are other ways, but this
is for a simple test) - and leave it running while you test access.

5 - With (from memory) the normal setup strings for httpd.conf, you need to
access either 
http://localhost/cgi-bin/Zope.cgi 
or 
http://localhost/Zope/
*note the trailing slash- it's required*

6 - zope/var must be writable by the Zope server *and* (I think) by the
pcgi-wrapper, so must be writable by user 'nobody' (this needs checking, it's
from memory..)

 7 - if things don't work, look in ALL the
error/log files for hints (the files in /etc/httpd/logs and zope/var)

anyway, hope these help someone, and I also hope the zope gurus out there will
correct whatever errors I have included :)
 
------------------------------------------------------------ 
Stuart Woolford,
stuartw@newmail.net Unix Consultant.
Software Developer.
Supra Club of New Zealand.
------------------------------------------------------------