Get Python Run

dadom

New Member
Messages
2
Reaction score
0
Points
0
Hi..

i am very new to the Web - PythonStuff, and i try to run a "helloWord" Python Script on my Webspace.

But i can't find the Python Path, which i have to add to my CGI Files...

My locale Test File works fine, i changed the first line like it may be correct, but i can't find any informations about:

(pytest.cgi)
#!/usr/bin/python

print "Content-Type: text/html\n\n";

print "Python - OK";

But on my Webspace i get an Error:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.


Have i to configure something first?

thx D
 

fluxon

New Member
Messages
2
Reaction score
0
Points
0
I am also facing the same probl;em. are we doing some thing wrong. Please reply...
 

dadom

New Member
Messages
2
Reaction score
0
Points
0
Nobody have an idea? It seems that many people can run Python.... :(

Greetz D
 

blu3fire

New Member
Messages
14
Reaction score
0
Points
0
Move file to cgi-bin directory and chmod it 755 :)
 
Last edited:
Top