How come my Apache can't read my media folder, but it can load the site? (static files don't work)

Posted by Alex on Server Fault See other posts from Server Fault or by Alex
Published on 2010-03-24T10:57:47Z Indexed on 2010/03/24 11:03 UTC
Read the original article Hit count: 470

Filed under:
|
|
|
|
Alias /media/ /home/matt/repos/hello/media
<Directory /home/matt/repos/hello/media>
Options -Indexes
Order deny,allow
Allow from all
</Directory>
WSGIScriptAlias / /home/matt/repos/hello/wsgi/django.wsgi

/media is my directory. When I go to mydomain.com/media/, it says 403 Forbidden. And, the rest of my site doesn't work because all static files are 404s. Why? The page loads. Just not the media folder.

Edit: hello is my project folder. I have tried 777 all my permissions of that folder.

© Server Fault or respective owner

Related posts about apache

Related posts about unix