Find answers, ask questions, and connect with our
community around the world.

Forums Forums Web Design Apache WSGI Flask Website on a custom Anaconda Python on Shared Hosts

  • Apache WSGI Flask Website on a custom Anaconda Python on Shared Hosts

    updated 3 years, 1 month ago 0 Member · 1 Post
  • Maverick

    Member
    September 4, 2019 at 12:35 am

    I would like to know if I could use WSGI (mod_wsgi enabled for Apache server) on a shared host (CentOS 6.8 with Apache 2.2.15). I originally tried to use CGI but Apache ignored the shebang that leads to the Anaconda Python 3.7 binary even if apache group had rwx permissions on the directory of Anaconda Python. Because of that, I would like to ask if it is possible to set up WSGI (https://flask.palletsprojects.com/en/1.1.x/deploying/mod_wsgi/) of a Flask website using only .htaccess (please help me with examples) and not any configs that require root, and preferably any example configuration that enables this. Also, it is required that Apache executes the Anaconda Python 3.7 directly. Thank you very much in advance. – by hq overview ehfd – –

Viewing 1 of 1 replies
Reply to: Maverick
Your information:

Cancel
Original Post
0 of 0 posts June 2018
Now