Apache and suexec issue that wont let me run my python script

Paul Kölle paul at subsignal.org
Sun Jun 2 07:51:56 EDT 2013


Am 01.06.2013 07:30, schrieb Νικόλαος Κούρας:
[snipp]

>
> [Thu May 30 15:29:33 2013] [error] [client 46.12.46.11] suexec failure: could not open log file
> [Thu May 30 15:29:33 2013] [error] [client 46.12.46.11] fopen: Permission denied
> [Thu May 30 15:29:33 2013] [error] [client 46.12.46.11] Premature end of script headers: koukos.py
> [Thu May 30 15:29:33 2013] [error] [client 46.12.46.11] File does not exist: /home/nikos/public_html/500.shtml
>
> when i tail -F /usr/local/apache/logs/error_log &
>
> What this error means?
>
> It appears that the effective user of the script does not have permission to open the log file
> that the suexec call requires.
Yes, so which logfile and what user is suexec using to run your script? 
You should be able to answer all this from your apache configuration.

cheers
  Paul






More information about the Python-list mailing list