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 filesI have followed the steps in the presentation slides http://code.google.com/p/modwsgi/downloads/detail? and made the directories accessible to others via chmod o+rxname=mod_wsgi-pycon-sydney- 2010.pdf , my httpd.conf part is :WSGIScriptAlias / /home/loai/workspace/Faculty/Faculty/wsgi.py WSGIPythonPath /home/loai/workspace/FacultyAlias /media/ /home/loai/workspace/Faculty/Faculty/media Alias /static/ /home/loai/workspace/Faculty/Faculty/static <Directory /home/loai/workspace/Faculty/Faculty/static> Order deny,allowAllow from all</Directory><Directory /home/loai/workspace/Faculty/Faculty/media> Order deny,allowAllow 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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment