title: 403 Forbidden error with Django and mod_wsgi
body: <p>I created Django project in home directory so it is in home directory.</p>
  
  <p><strong>Setup</strong></p>
  
  <pre><code>Django Verison  : 1.5.1
  Python Version  : 2.7.5
  mod_wsgi Version: 3.4
  Home Directory  : /home/aettool
  </code></pre>
  
  <p><strong>Contents of <code>/home/aettool/aet/apache/django.wsgi</code></strong></p>
  
  <pre><code>import os
  import sys
  os.environ['DJANGO_SETTINGS_MODULE'] = 'aet.settings'
  
  import django.core.handlers.wsgi
  application = django.core.handlers.wsgi.WSGIHandler()
  </code></pre>
  
  <p><strong>Contect of <code>httpd.conf</code></strong></p>
  
  <pre><code>WSGIScriptAlias / /home/aettool/aet/apache/django.wsgi
  
  &lt;Directory /home/aettool/aet/apache&gt;
  Order deny,allow
  Allow from all
  &lt;/Directory&gt;
  </code></pre>
  
  <p><strong>Error in <code>error_log</code></strong></p>
  
  <pre><code>[Sun Jul 21 02:01:30.923364 2013] [authz_core:error] [pid 21540:tid 1193011520] [client 10.20.17.184:51340] AH01630: client denied by server configuration: /home/aettool/aet/apache/django.wsgi
  </code></pre>
  
  <p><strong>Contents of <code>urls.py</code></strong></p>
  
  <pre><code>from django.conf.urls import patterns, include, url
  from django.contrib import admin
  admin.autodiscover()
  
  urlpatterns = patterns('',
      url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
      url(r'^admin/', include(admin.site.urls)),
  )
  </code></pre>
  
  <p>Permissions of <code>/home/aettool/aet : 775</code></p>
  
  <p>Permissions of <code>/home/aettool/aet/apache : 755</code></p>
  
  <p>Permissions of <code>django.wsgi file : 664</code></p>
  
  <p>I am getting error on browser <code>403 Forbidden</code> <code>You don't have permission to access / on this server.</code></p>
  
  <p>Please help me out with the configuration .</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>For now I am moving forward by changing </p>
  
  <pre><code>&lt;Directory /&gt;
      AllowOverride none
      Require all denied
  &lt;/Directory&gt;
  </code></pre>
  
  <p>to</p>
  
  <pre><code>&lt;Directory /&gt;
      Order deny,allow
      Allow from all
  &lt;/Directory&gt;
  </code></pre>
  
  <p>So,this has definitely something to do with <code>httpd.conf</code> file configuration,but my worry is that I only added 5 lines in that file and not able to figure out what's wrong .</p>