Im running a website hosted on HelioHost, I'm a 10th grade student, so I can't exactly afford to pay for hosting.
I was trying to run a simple CGI Script written in python on the web server:
#!/usr/bin/env python
print "Content-type: text/html\n\n"
print "<h1>Hello World</h1>"
Unfortunately, I got a 500 Internal Server error at http://fpl.heliohost.org/cgi-bin/lel.py
I tried replacing the shebang line with #!/usr/bin/python
, as suggested at http://www.heliohost.org/home/features/languages/python, but I'm still facing the same error.
chmod is 755. Also, I'm able to run this on my PC via Python Command Line, and it works fine on my Apache Web Server on my Raspberry Pi.
Any idea what could be causing the problem?