Skip to main content

Enabling python scripts to run in browser

Comments

2 comments

  • cPanelLauren
    What is output in the passenger log file when you attempt to access the URL with testing.py as well as /etc/apache2/logs/error_log
    0
  • rascalsailor
    HI, I don't see that logfile - my directory structure is as in the etc.jpg pic attached The only error file I found is error_log under: /public_ftp/public_html/error_log (and it's empty) It is possible that my (hosted) server does not allow python files to run in the browser. Where should I locate the .py file to run (in cgi-bin ?) browsing to: domain.co.za gives: Internal Server Error Here's the location of the testing.py file gives internal server error
    0

Please sign in to leave a comment.