Darran Edmundson wrote:
I apologize profusely in advance - no doubt what I am about to report has been covered before. While my own ZServer installation of the latest Zope works flawlessly, our sysadmin is desperately trying to get Zope working with Apache (v1.3.9). If someone could look at the following setup and error snippets, I would greatly appreciate it. I need our site to run Zope so that I can migrate my ZODB over and publish it to the outside world. I don't know anything about Apache so, if possible, please try and phrase your response appropriately.
Thanks in advance, Darran.
----- Traceback --------------------
Traceback (innermost last): File /tmp_mnt/users/optics/www124/public_html/Zope-2.1.0-src/lib/python/ZPublisher/Publish.py, line 214, in publish_module File /tmp_mnt/users/optics/www124/public_html/Zope-2.1.0-src/lib/python/ZPublisher/Publish.py, line 179, in publish File /tmp_mnt/users/optics/www124/public_html/Zope-2.1.0-src/lib/python/Zope/__init__.py, line 202, in zpublisher_exception_hook (Object: ApplicationDefaultPermissions) File /tmp_mnt/users/optics/www124/public_html/Zope-2.1.0-src/lib/python/ZPublisher/Publish.py, line 151, in publish File /tmp_mnt/users/optics/www124/public_html/Zope-2.1.0-src/lib/python/ZPublisher/BaseRequest.py, line 304, in traverse File /tmp_mnt/users/optics/www124/public_html/Zope-2.1.0-src/lib/python/OFS/Application.py, line 249, in __bobo_traverse__ (Object: ApplicationDefaultPermissions) File /tmp_mnt/users/optics/www124/public_html/Zope-2.1.0-src/lib/python/ZPublisher/HTTPResponse.py, line 511, in notFoundError NotFound: (see above)
------ Zope error in html source ----------------
Sorry, the requested Zope resource does not exist.<p>Check the URL and try again.<p> <!-- [e=HTTP_CGI_AUTHORIZATION:,t=application GET
<HR NOSHADE>
-------- Snip from httpd.conf (apache version 1.3.9) --------------
... LoadModule rewrite_module libexec/mod_rewrite.so
You also have AddModule mod_rewrite.c right?
# Zope configuration maps /Zope/ to the Zope.cgi CGI script
RewriteEngine on RewriteCond %{HTTP:Authorization} ^(.*) RewriteRule ^/Zope(.*) /usr/local/apache/cgi-bin/Zope.cgi $1[e=HTTP_CGI_AUTHORIZATION:%1,t=application/x-httpd-cgi,l]
from your traceback it seems there is no %1 there (so no HTTP Authorization headers) I experienced the same problem, still unsolved - because of the rewrite all the headers are changed to REDIRECT_* -- but I also sow the python code(in Zope) which *was* dealing with this. -- CIMPOESU Teodor, Web Programmer @ DIGICOM S.A. Bucharest, Romania @ Internet, site development @ teo@digiro.net , +(401)-330.47.28 official home page ~ http://www.digiro.net/ Internet web page ~ http://internet.digiro.net/