I got a forbidden message error when I type localhost/project on windows 10. Tried suggestions with
Order allow,deny
Allow from all
Tried also the solution suggested here, without success, conf file of the apache on wamp 2.5 already listens on
Listen 0.0.0.0:80
Listen [::0]:80
Could it be because of the WSGIScriptAlias or WSGIPythonPath? If so see how I've declared it:
WSGIScriptAlias /project "C:/project/project/code.py"
WSGIPythonPath "C:/project/"
<Directory "C:/project/project/">
<Files code.py>
Order deny,allow
Require all granted
</Files>
</Directory>
Thank you!
As I changed the Files code.py
with wsgi.py it worked. The thing is that now I encounter rather different problem. Which I think is related to this one.
The picture shows the difference between the apache and Django web server. On the left is the address localhost/admin on the right is localhost:8000/admin
could that be because of the mod_wsgi not working properly?
tried to put in settings file STATIC_ROOT
and use the command python manage.py collectstatic
but without success. Does anybody knows how to be done in django1.8?