Make sure all the directories, from static leading all the way up to the root, are chmod a+x
On Friday, November 30, 2012 4:00:55 PM UTC-8, Loai Ghoraba wrote: > > Hi > > I have installed apache and mod_wsgi and my basic site *skeleton is > running* on local host, but with NO static files loaded such as css, when I > try to access a static file (e.g:http://localhost/static/css/base.css) it > says that I don't have permission to access the file, same goes to media > files > > I have followed the steps in the presentation slides > http://code.google.com/p/modwsgi/downloads/detail?name=mod_wsgi-pycon-sydney-2010.pdf > and > made the directories accessible to others via chmod o+rx > , my httpd.conf part is : > > WSGIScriptAlias / /home/loai/workspace/Faculty/Faculty/wsgi.py > WSGIPythonPath /home/loai/workspace/Faculty > > Alias /media/ /home/loai/workspace/Faculty/Faculty/media > Alias /static/ /home/loai/workspace/Faculty/Faculty/static > > <Directory /home/loai/workspace/Faculty/Faculty/static> > Order deny,allow > Allow from all > </Directory> > > <Directory /home/loai/workspace/Faculty/Faculty/media> > Order deny,allow > Allow from all > </Directory> > > Thanks > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/L3Sm-aDXA_UJ. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.