On 1/12/2012 3:48pm, Loai Ghoraba wrote:
I have ran chmod o+rx on the root directory, isn't this enough (isn't
chmod applied to all folders down recursively ?) ?

No. You need chmod -R o+rx



and I have checked the directories from the root down to static, all
have the permission of drwxr-xr-x

On Sat, Dec 1, 2012 at 2:21 AM, Chris Cogdon <ch...@cogdon.org
<mailto:ch...@cogdon.org>> wrote:

    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
        <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
        
<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
    <mailto:django-users@googlegroups.com>.
    To unsubscribe from this group, send email to
    django-users+unsubscr...@googlegroups.com
    <mailto:django-users%2bunsubscr...@googlegroups.com>.
    For more options, visit this group at
    http://groups.google.com/group/django-users?hl=en.


--
You received this message because you are subscribed to the Google
Groups "Django users" group.
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.

--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
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.

Reply via email to