Hello, I'm trying to configure the apache to handle the python scripts. My
platform is a CentOs server.
I wrote these directives in the conf.d/python.conf:
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
AddHandler mod_python .py
PythonHand
Ok, solved: apache is unable to follow relative paths from the script.
Putting ol absolute paths it's ok!
Simo D wrote:
>
> Hi, I'm using a script.py to write a file in a dir on the server.
> Mod_python work but i get:
> Mod_python error: "PythonHandler mod_pytho
Hi, I'm using a script.py to write a file in a dir on the server. Mod_python
work but i get:
Mod_python error: "PythonHandler mod_python.publisher"
Traceback (most recent call last):
File "/usr/lib64/python2.4/site-packages/mod_python/apache.py", line 299,
in HandlerDispatch
result = objec