Apache + python
am 27.09.2007 19:32:53 von tiagobeckerHi,
I'm trying to get python to work with apache and i'm getting this
error bellow
Python is working on the shell, added mod_python on apache, atarted
without any error,but whe n i try to access a .py page,
i get a 500 server error.
I googled for all afternoon yesterday, changed my apache.conf a
million times and nothing.
apache error_log:
[Wed Sep 26 18:52:22 2007] [error] make_obcallback: could not import
mod_python.apache.\n
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/mod_python/apache.py", line
616, in
make_table = _apache.make_table
AttributeError: 'module' object has no attribute 'make_table'
[Wed Sep 26 18:52:22 2007] [error] make_obcallback: Python path being
used
"['/usr/lib/python25.zip', '/usr/lib/python2.5',
'/usr/lib/python2.5/plat-linux2', '/usr/lib/python2.5/lib-tk',
'/usr/lib/python2.5/lib-dynload', '/usr/local/lib/python2.5/site-
packages',
'/usr/lib/python2.5/site-packages', '/var/lib/python-support/
python2.5']".
[Wed Sep 26 18:52:22 2007] [error] python_handler: no interpreter
callback
found.
[Wed Sep 26 18:52:22 2007] [error] [client 172.19.10.36]
python_handler:
Can't get/create interpreter.
[Wed Sep 26 18:55:16 2007] [error] make_obcallback: could not import
mod_python.apache.\n
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/mod_python/apache.py", line
616, in
make_table = _apache.make_table
AttributeError: 'module' object has no attribute 'make_table'
apache config:
AddHandler mod_python .py
PythonHandler mod_python.publisher
PythonDebug On
Options FollowSymLinks
AllowOverride None
Can someone help me? Thnx in advance for your time and help! :-)
Tiago Becker