Python script runs via apache when permissions are 755 but gives Error 500 when 777?
I uploaded a basic python script to my shared hosting at Dreamhost, and changed the permissions to 777. It ran fine from the shell (via SSH) but would display a 'Server Error' when called from the browser. In the error.log, the error was 'Premature end of script headers'. I wrote to DreamHost, who (surprisingly quickly) replied by chan...