FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


Python problems - Fixed





Simplechat
Hello all, i'm trying to get python to work with my hosting account.

atm i'm running it at http://www.simple.frih.net/cgi-bin/test.cgi

It is chmod 775, in my cgi-bin directory, however it seems to be stuck on an "internal server error". (500)

I've been trying for awhile now to get rid of the error (i've had a look through the forums, just in case it was a stupid error, but i didn't find anything.)

The script itself is this: (a "working" hello world script)

Quote:

#!/usr/bin/env python

# Required header that tells the browser how to render the text.
print "Content-Type: text/plain\n\n"

# Print a simple message to the display window.
print "Hello, World!\n"
[/quote]

Fixed: Chmod 755 rather then 777, and use #!/usr/bin/python as shebang.
Related topics
Mozilla plugs Thunderbird holes
Web-Related Depression
CSS Problems + Cache control
Wiered PC problems
Server 2 Problems
Wiki Problems (Fixed)
Rosanova's Community Site ver. 3.0 Update
What do you think about cheap labor
Python...
Rate my layout.
recover lost files.
Review my site please
What guitar amplifier do you have?
Ownership problems and setting up NameServers Issue [FIXED]
Reply to topic    Frihost Forum Index -> Support and Web Hosting -> Web Hosting Support

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.