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?
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAA%3Diw_-kY%2B-3Lzwo%3DqL5Rp0B8E9-3Q7eUdp8rPDy7TAgwtK-4Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment