[COLUG] CentOS / RHEL mod_python
Joshua Kramer
josh at globalherald.net
Sun Mar 11 13:54:22 EST 2007
Howdy All,
Is anyone using the stock httpd / mod_python under any of the RHEL 4.4
derivatives? When trying to import mod_python, I get an error. Any
ideas?
[root at threephase ~]# python
Python 2.3.4 (#1, Feb 22 2005, 04:09:37)
[GCC 3.4.3 20041212 (Red Hat 3.4.3-9.EL4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from mod_python import *
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "/usr/lib/python2.3/site-packages/mod_python/apache.py", line 28,
in ?
import _apache
ImportError: No module named _apache
>>>
I'd rather not dig around "factory standard" mod_python files if I don't
have to...
Cheers,
-J
More information about the colug432
mailing list