Hi,
I'm trying to get Python scripts, called from a web browser, to work. I keep getting the error:
500 Internal Server Error
When I check my error logs I see the message
Premature end of script headers
The only documentation of this error online says that it can be the result of having improper line return characters in your script, but I wrote my test script right from the shell with pico. Also, when I run the file from the command line it executes just fine. " So far the only change I have made to apache is to add the .py to the "AddHandler cgi-script" line.
Thanks!