Hi. I trie to install Zope-2.2.2 with mod_pcgi2 and the Apache web server. I follow the steps in the README files, but when I trie to access to the URL http://localhost/pcgi I get the following error message: Zope Error Zope has encountered an error while publishing this resource. Resource not found Sorry, the requested Zope resource does not exist. Check the URL and try again. Troubleshooting Suggestions The URL may be incorrect. The parameters passed to this resource may be incorrect. A resource that this resource relies on may be encountering an error. For more detailed information about the error, please refer to the HTML source for this page. If the error persists please contact the site maintainer. Thank you for your patience. <!-- Traceback (innermost last): File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line 187, in publish File /usr/local/Zope/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook (Object: ApplicationDefaultPermissions) File /usr/local/Zope/lib/python/ZPublisher/Publish.py, line 162, in publish File /usr/local/Zope/lib/python/ZPublisher/BaseRequest.py, line 338, in traverse File /usr/local/Zope/lib/python/OFS/Application.py, line 251, in __bobo_traverse__ (Object: ApplicationDefaultPermissions) File /usr/local/Zope/lib/python/ZPublisher/HTTPResponse.py, line 529, in notFoundError NotFound: (see above) --> The httpd.conf file has the following instruccions: LoadModule pcgi2_module libexec/libpcgi2.so AddModule mod_pcgi2.c <IfModule mod_pcgi2.c> PCGI_NAME Zope PCGI_MODULE_PATH /usr/local/Zope/lib/python/Zope PCGI_PUBLISHER /usr/local/Zope/pcgi/pcgi_publisher.py PCGI_EXE /usr/local/bin/python PCGI_SOCKET_FILE /usr/local/Zope/var/pcgi.soc PCGI_PID_FILE /usr/local/Zope/var/pcgi.pid PCGI_ERROR_LOG /usr/local/Zope/var/pcgi.log PCGI_DISPLAY_ERRORS 1 <Location /pcgi> SetHandler pcgi-handler PCGI_ROOT /usr/local/Zope PCGI_SetEnv SiteRootPATH / </Location> </IfModule> Is the error related with the PCGI_ROOT directive? How can I set this directive? Thanks. ---------------------------------------------------------------------- _/ _/ _/_/_/_/ _/_/_/ Rafael Amer Ramon _/ _/ _/ _/ _/ Departament de Matemà tica Aplicada II _/ _/ _/_/_/_/ _/ E.T.S.E.I.T. _/ _/ _/ _/ Universitat Politècnica de Catalunya _/_/_/_/ _/ _/_/_/_/ e-mail: amer@ruth.upc.es ----------------------------------------------------------------------
Hi! I am the author of mod_pcgi2. Thank you for using it. On Mon, 27 Nov 2000, Rafael Amer Ramon wrote:
PCGI_ROOT /usr/local/Zope
Is the error related with the PCGI_ROOT directive?
Yes.
How can I set this directive?
PCGI_RROT should point to *a Zope folder*, not a directory on disk. Initially, when you have fresh Zope install, you have one Zope folder - root, so set PCGI_ROOT / Later you'll connect to Zope and create more folders in ZODB, so you can create different configurations, and set PCGI_ROOT to different folders. Oleg. ---- Oleg Broytmann http://phd.pp.ru/ phd@phd.pp.ru Programmers don't die, they just GOSUB without RETURN.
In psql a delete command returns a count of the number of rows deleted. Is this returned result available to a ZSQL method using PoPy or PyGreSQL? Cheers, Chris
participants (3)
-
Chris Gray -
Oleg Broytmann -
Rafael Amer Ramon