Hi,
I am having problems with Python on Plesk 7.5.3 server. On a domain i am trying to execute some python scripts from cgi-bin directory. But i am always getting 'Internal Server Error', when i check error log it says 'Premature end of script headers: test.py'. I know this type of problem is usually fixed with setting up correct permissions and making sure that files are uploaded in ASCII mode, and saved in Unix file format. I tried all possible combination that i could think of, and i cannot make it work. I cannot even make work simple hello world python script, witch works on non-plesk server. cgi-bin has 755 permission, and also all the scripts.
I am starting to think this is something related to plesk, but i am not sure. Does anyone have any idea what i can do to make this python scripts work?
Mike