[Zope] PCGI_ROOT

Rafael Amer Ramon amer@ruth.upc.es
Mon, 27 Nov 2000 17:07:17 +0100


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