Is Python supported on the free plan or not?

Status
Not open for further replies.

methodjs

New Member
Messages
26
Reaction score
1
Points
3
I've been getting mixed answers.

Here on this post it says that Python is not supported on Free: http://x10hosting.com/forums/tutorials/103124-how-run-python-x10hosting.html

And it says it here to: http://x10hosting.com/free-hosting-comparison


--------

But then, on the plan comparison: https://x10hosting.com/wiki/Plan_comparison, it says it is on free.

It also say it is when comparing the free to any other host: http://x10hosting.com/free-hosting-comparison-110mb

-------

I'm confused. Is Python supported on Free or not? Please update those other sources so all of them say the correct information.
 

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
In the .htaccess file in public_html (or subdirectory where you want to run the Python script) add the line:

AddHandler cgi-script .py

(note: if you place the script in cgi-bin, you shouldn't have to do the above)

Make sure your script has permissions set to 0750 and the shebang line is set to:

#!/usr/local/bin/python

And someone has passed a note along to the Admins about the Hosting Comparison page. Also, note the thread you cited was over two years old. Things change.
 
Status
Not open for further replies.
Top