CGI Python

i14mail-forum52

New Member
Messages
2
Reaction score
0
Points
0
Can i use a python cgi in X10Hosting?

All my scripts get just a forbidden page. I try this code:

#!/usr/bin/env python
print "Content-Type: text/html \r\n\r\n"
print "Hello world"

in a teste.py file with 755 permission.

I read other posts about this, but they are old and never get an answer.
 

chanh.ong25

New Member
Messages
52
Reaction score
0
Points
0
I found out recently that python, perl and ASP.NET have been disable for abuse and security reason.
 

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
Currently PHP is the only scripting language enabled on the Free Hosting servers. They can be run from any directory.
 

sedesign

New Member
Messages
24
Reaction score
0
Points
0
is Jquery allowed? ive been testing a site function locally and it works perfectly but when i upload it, it doesnt (yes ive uploaded the .js lib with it :p)
 

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
jQuery runs on the user's browser, not on the server.
Maybe your links to the .js files are not correct.
 

sedesign

New Member
Messages
24
Reaction score
0
Points
0
jQuery runs on the user's browser, not on the server.
Maybe your links to the .js files are not correct.

ahh right, well i havent done webdesign in nearly a year so it could be something im missing - possibly the links as i am prone to putting it to local structure such as "C:\..." lol ill have a look over it and try again, thanks descalzo :)
 
Top