William Smith
wmedia at hotmail.com
Fri Aug 18 12:22:02 EST 2000
I am using RedHat 6.2 x86, Apache 1.3.12 and mod_python 2.4.1. I compiled and installed mod_python with apxs. Apache runs as user nobody and group nobody I read the modpython archives and have the following server errors which I saw mentioned in the archive message Aug 2, 2000 by Boh Heong Yap (bohheong at asiacontent.com): make_obcallback(): could not import mod_python.apache. make_obcallback(): could not call init. I tried in httpd.conf both: <Directory /usr/apache/python> AddHandler python-program .py PythonHandler test PythonDebug On </Directory> and <Directory /usr/apache/python> AddHandler python-program .py PythonHandler test PythonDebug On </Directory> which I also saw in the archives as a fix. However this did not work. The directories and files in /usr/lib/python1.5/site-packages/mod_python are world readable but owned by root. Using the comand line I get: File "/usr/lib/python1.5/site-packages/mod_python/apache.py", line 18, in ? import _apache ImportError: No module named _apache when I try "from mod_python import apache". Any help getting this to work would be appreciated. ________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
|