apache permission errors
Posted
by Wilduck
on Server Fault
See other posts from Server Fault
or by Wilduck
Published on 2010-03-08T21:39:27Z
Indexed on
2010/03/08
21:51 UTC
Read the original article
Hit count: 497
I'm trying to set up Apache on a arch-linux box as a testing environment (I'm only using the localhost, not trying to serve anything to the greater web).
When setting up Django with mod_wsgi, it recommended that I set up a WSGIScriptAlias from / to /usr/local/django/mysite/apache/django.wsgi . I've done this, as well as added the /usr/.../apache directory to my httpd.conf. When I try to access http://localhost I get a 403 forbidden error. I have no idea why this is happening. Things I've tried so far:
1) chown -R http .../apache 2) chmod -R 777 .../apache 3) using a simple Alias directive to host a static file from that directory.
None of these have worked. I'm at a loss for what I'm doing wrong. Below is a relevant excerpt from my httpd.conf:
Alias / /usr/local/django/mysite/apache
<Directory "/usr/local/django/mysite/apache">
Order deny,allow
Allow from all
</Directory>
So my question is: what am I doing wrong?
© Server Fault or respective owner