HelioHost Posted December 14, 2019 Posted December 14, 2019 Username: N/A, Server: N/A, Main Domain: N/A Hi There is a python code that I need to run in the same folder of a html pageand I would like to request some help on how to run that script. Can youhelp? Thanks
Krydos Posted December 14, 2019 Posted December 14, 2019 By default you can only run python cgi in the cgi-bin folder. If you'd like to run python cgi in the public_html folder where your html page likely is you can do so by creating an .htaccess file with these contents: AddHandler cgi-script .py Options +ExecCGI Let us know if you need additional help.
HelioHost Posted December 14, 2019 Author Posted December 14, 2019 Thank you for your reply For now I think that will be enough Thanks On Sat, Dec 14, 2019 at 7:21 PM Heliohost Support wrote: > By default you can only run python cgi in the cgi-bin folder. If you'd> like to run python cgi in the public_html folder where your html page> likely is you can do so by creating an .htaccess file with these> contents:AddHandler cgi-script .pyOptions +ExecCGILet us know if you need> additional help.>> You may view the status of your ticket by visiting:>> https://www.helionet.org/index/index.php?showtopic8031>> Thank you,> Heliohost support> https://www.heliohost.org/> https://www.helionet.org/>>
Recommended Posts