On Thu, 20 Jan 2000, Federico Di Gregorio wrote:
downloaded, compiled, installed. now, my httpd.conf contains (note: the strange paths are due to the debian Zope install):
PCGI_SOFTWARE_NAME Zope PCGI_SOFTWARE_HOME /usr/lib/zope PCGI_SOFTWARE_EXE /usr/bin/python PCGI_MODULE_PATH /usr/lib/zope/lib/python/Zope PCGI_PUBLISHER /usr/lib/zope/pcgi/pcgi_publisher.py PCGI_SOCKET_FILE /var/lib/zope/var/Z2-pcgi.soc PCGI_PID_FILE /var/lib/zope/var/Z2-pcgi.pid PCGI_ERROR_LOG /var/lib/zope/var/Z2-pcgi.log PCGI_DISPLAY_ERRORS 1
Looks good.
/var/log/apache/error.log contains:
[Thu Jan 20 16:05:36 2000] [notice] Apache/1.3.9 (Unix) Debian/GNU (mod_pcgi2/1.0.0; PCGI/2.0a5) configured -- resuming normal operations
Ok here.
in srm.conf I have:
Oops! Are you sure Apache reads the file? Latest Apache just skips it; or your particular installation may redefine the file to /dev/null or such...
<Location /test> SetHandler pcgi-handler PCGI_ROOT / PCGI_SetEnv SiteRootPATH / </Location>
Looks good.
but apache returns page not found
The directives had not been handled by some reasons. In case of the real error in my module you'll get error 500 (Internal server error). Try moving the directives into httpd.conf. Oleg. ---- Oleg Broytmann Foundation for Effective Policies phd@phd.russ.ru Programmers don't die, they just GOSUB without RETURN.