Why Can't Apache See My Python Module?
I am running a Python 3.4 virtualenv on Ubuntu 14.04 with mod_wsgi in apache 2.4. For some reason, apache cannot see the pyodbc.cpython-34m.so module (which, of course, lacks a .py
Solution 1:
Try This:
sudo apt-get remove libapache2-mod-python libapache2-mod-wsgi
sudo apt-get install libapache2-mod-wsgi-py3
pip3 install mod_wsgi
and check in your virtual host if have Require all granted this:
<Directory /path/to/mysite.com/mysite><Fileswsgi.py>
Require all granted
</Files></Directory>
And also check the permissions of mod wsgi.py in your project
Post a Comment for "Why Can't Apache See My Python Module?"