Error with file paths using mod_wsgi-express

12 views
Skip to first unread message

Joel Mathew

unread,
Sep 1, 2018, 10:44:16 AM9/1/18
to django...@googlegroups.com
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?
Reply all
Reply to author
Forward
0 new messages