If I run mod_wsgi-express from within the directory
/home/joel/myappointments, with the command:
mod_wsgi-express start-server --document-root ./htdocs wsgi.py --user
www-data --group www-data --port 80 --host
myopip.com
It works fine. Everything loads. static files load correctly. But of
course this is terminated along with the shell.
However if I setup the script with:
mod_wsgi-express setup-server --document-root
/home/joel/myappointments/htdocs /home/joel/myappointments/wsgi.py
--user www-data --gro www-data --port 80 --host
myopip.com
and then start it with:
/etc/mod_wsgi-express-80/apachectl start
Then, static files are not being loaded.
How can I fix this issue?