mod_python and file not found

2008-11-10 Thread Simo D
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

Re: Mod_python permission denied

2008-11-07 Thread Simo D
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

Mod_python permission denied

2008-11-07 Thread Simo D
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