title: Setup Django on Centos with Apache and mod_wsgi
body: <p>I am having a hard time to setup mod_wsgi on centos, I am keep getting the following error:</p>
  
  <blockquote>
    <p>403 Forbidden You don't have permission to access / on this server.</p>
  </blockquote>
  
  <p>-----Sever Setup----- <br/></p>
  
  <pre><code>Python Version: 2.6.6
  Apache Version: 2.2.15
  mod_wsgi: mod_wsgi-3.2-3.el6.x86_64
  </code></pre>
  
  <p>-----Apache Config "httpd.conf"-----</p>
  
  <pre><code>LoadModule wsgi_module modules/mod_wsgi.so
  WSGIScriptAlias / /home/prj1/prj1/wsgi.py
  WSGIPythonPath /home/prj1
  &lt;Directory /home/prj1&gt;
  Order deny,allow
  Allow from all
  &lt;/Directory&gt;
  </code></pre>
  
  <p>-----Django  /home/prj1/prj1/wsgi.py-----<br/></p>
  
  <pre><code>import os
  import sys
  
  sys.path.append('/home/prj1')
  os.environ.setdefault("DJANGO_SETTINGS_MODULE", "prj1.settings")
  
  from django.core.wsgi import get_wsgi_application
  application = get_wsgi_application()
  </code></pre>