: How to enable python scripts on 123-reg shared hosting? I'm trying to use python for scripting on 123-reg.co.uk and the host has no tutorials available. Does anyone have any examples?
I'm trying to use python for scripting on 123-reg.co.uk and the host has no tutorials available. Does anyone have any examples?
More posts by @Phylliss660
1 Comments
Sorted by latest first Latest Oldest Best
Nevermind, I got it working.
test.py
#!/usr/bin/env python
import cgitb
import cgi
cgitb.enable()
cgi.test()
.htaccess
Options +ExecCGI
AddHandler cgi-script .py
Set execute on test.py by chmod 755
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.