I've set permissions in folders scgi-bin and cgi-bin.
I uploaded testing.py to both folders.
I've tried the htaccess handler in both folders with the internal error 500 message.
I've used a very simple script, an example from these forums that was stated to work.Code:AddHandler cgi-script .py
Code:print("Content-type: text/html") print("") print("<html>") print("<body>") print( "Hi there") print("</body>") print("</html>")
I get the script outputting the whole script's code line by line but never the processed code.
Is there something obvious I'm doing wrong? It's a "free" account at x10hosting, does that matter or do all accounts have access to python and cgi?
Thanks in advance.


LinkBack URL
About LinkBacks
Reply With Quote
