1π
I just setup my site www.noobniche.com on Linode using WSGI. Unfortunately Iβm not at home to compare my setup, if youβre still having problems tonight I can look into it. From memory in my case, I had to enable by adding to sites-enabled and sites-available.
the structure should look something similar to this;
webapps(root directory)
nichesite
static
django_project_name
--> myproject.wsgi
--> settings.py
--> urls.py
--> views.py
manage.py
it seems your .wsgi file is located in your root directory, when it should be located within your django project folder.
0π
So it looks as if you have conflicting settings for WSGIScriptAlias
β one in httpd.conf, pointing to the right path for your wsgi file, and one in your sites-enabled file, pointing to the wrong path (/var/
instead of /srv/
).
You should remove the one in httpd.conf and move it to sites-enabled/quickerhub.com so that the version there is correctly pointing to /srv/
.
- [Answer]-How do I check whether a path matches a view name defined in urls.py?
- [Answer]-Why won't newly installed Django app with NGINX serve static assets properly?
- [Answer]-Django template values
- [Answer]-Django turn based browser game β database design to handle separate time steps
- [Answer]-Django and url creation