Premature end of script headers while using a python script

[Fri Sep 16 07:10:25 2011] [error] [client xx.xx.xx.xx] suexec failure: could not open log file
[Fri Sep 16 07:10:25 2011] [error] [client xx.xx.xx.xx] fopen: Permission denied
[Fri Sep 16 07:10:25 2011] [error] [client xx.xx.xx.xx] Premature end of script headers: basicsearch.py

I’ve seen various reasons for the occurrence of this error but this time it was related to the wrong path in the shebang. Changed it to link and no more errors.

3 thoughts on “Premature end of script headers while using a python script

Leave a Reply

Your email address will not be published. Required fields are marked *