Enable python

Status
Not open for further replies.

crexalbo

New Member
Messages
2
Reaction score
0
Points
0
How would i go about enabling python on my web page? The script is just brought up as plain text when i try opening it in my browser.
 

jjordan69

Member
Messages
224
Reaction score
2
Points
18
You need to put your scripts into folder [ public_html/cgi-bin ]
OR in file [ .htaccess ] add this line [ AddHandler cgi-script .pl ] in folder [ public_html ]
be sure and set permission for your script file to [ 0750 ]
have the very first line of your script with the hashbang of [ #!/usr/local/bin/python ]
 
Status
Not open for further replies.
Top