title: Correctly configure httpd.conf for django site
body: <p>So I'm trying to deploy my django project using <code>apache 2.2</code> and <code>mod_wsgi</code>. I've gotten to the point of configuring my <code>httpd.conf</code> file for <code>apache</code> but think I might be doing something wrong since I keep getting <code>"403: You don't have permission to access / on this server."</code> when trying to access my site.<a href="https://i.stack.imgur.com/T7FkH.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/T7FkH.png" alt="enter image description here"></a></p>
  
  <p>This is what my project structure looks like:</p>
  
  <pre><code>"C:\wamp2.2\ums" 
  myapp/
      pm_app/
          __init__.py
          settings.py
          urls.py
          wsgi.py
  
      ums/
          static/..
          templates/..
          __init__.py
          admin.py
          models.py
          views.py
      manage.py
      requirements.txt
  </code></pre>
  
  <p><code>pm_app</code> contains the <code>wsgi.py</code> file and ums is the folder with the site</p>
  
  <p>wsgi.py:</p>
  
  <pre><code>import os, sys
  
  sys.path.append('C:/wamp2.2/ums')
  os.environ.setdefault("DJANGO_SETTINGS_MODULE", "pm_app.settings")
  
  from django.core.wsgi import get_wsgi_application
  application = get_wsgi_application()
  </code></pre>
  
  <p>httpd.conf:</p>
  
  <pre><code>WSGIPythonPath "C:/wamp2.2/ums"
  WSGIScriptAlias / "C:/wamp2.2/ums/pm_app"
  
  &lt;Directory "C:/wamp2.2/ums/ums"&gt;
  &lt;Files wsgi.py&gt;
      Order deny,allow
      Allow from all
  &lt;/Files&gt;
  &lt;/Directory&gt;
  </code></pre>
  
  <p>Did I get my pathing wrong, or am I missing something. Am I also accessing the site correctly via <code>localhost</code> or should it be <code>localhost/ums</code>?</p>