I am attempting to get a website to load within a web browser using Django + mod_wsgi and apache. I have exactly the same problem as in This Question Here, but the solution found there does not work in my case.
Here is my httpd-vhosts.conf setup:
WSGIDaemonProcess binshellpress.com python-home=/usr/local/docs/binshellpress-production/virtpy/ python-path=/usr/local/docs/binshellpress-production/virtpy/lib/python3.6/
WSGIProcessGroup binshellpress.com
WSGIApplicationGroup %{GLOBAL}
<VirtualHost *:80>
ServerAdmin webmaster@binshellpress.com
DocumentRoot "/usr/local/docs/binshellpress-production/root"
ServerName binshellpress.com
ServerAlias www.binshellpress.com
ErrorLog "/var/log/httpd/bsp-error_log"
CustomLog "/var/log/httpd/bsp-access_log" common
Alias /robots.txt /usr/local/docs/binshellpress-production/static/robots.txt
Alias /favicon.ico /usr/local/docs/binshellpress-production/static/favicon.ico
Alias /media/ /usr/local/docs/binshellpress-production/media
Alias /static/ /usr/local/docs/binshellpress-production/static
<Directory /usr/local/docs/binshellpress-production/static>
Require all granted
</Directory>
<Directory /usr/local/docs/binshellpress-production/media>
Require all granted
</Directory>
WSGIScriptAlias / /usr/local/docs/binshellpress-production/binshellpress/wsgi.py process-group=binshellpress.com
<Directory /usr/local/docs/binshellpress-production/binshellpress>
<Files wsgi.py>
Require all granted
</Files>
</Directory>
</Virtualhost>
I have a virtual environment set up at /usr/local/docs/binshellpress-production/virtpy
. I have rebuilt mod_wsgi to explicitly use that virtual environment. I have performed the permissions modifications as described in the answer to This Question
No change.
I am desperate. I have been searching up and down. I can't figure out what to do. Please, help me. I beg you.
Thank you, for anything, thank, just please, help me, thank you.