title: Django wsgi.py + Apache can't deploy, but
body: <p><strong>Environment and version: Windows 8-64bit, Wamp Apache 2.4.9, Python 3.4.2, Django 1.8</strong></p>
  
  <p><a href="https://stackoverflow.com/questions/20427718/deploying-django-with-apache-using-wsgi-py">Deploying Django with apache using wsgi.py</a></p>
  
  <p>followed following post got mod_wsgi setup</p>
  
  <pre><code>WSGIScriptAlias /mysite/mysite/wsgi "C:/wamp/www/mysite/mysite/wsgi.py"
  WSGIPythonPath "C:/wamp/www/mysite/mysite/"
  
  &lt;Directory "C:/wamp/www/mysite/mysite/"&gt;
  &lt;Files wsgi.py&gt;
  Order deny,allow
  Require all granted
  &lt;/Files&gt;
  &lt;/Directory&gt;
  </code></pre>
  
  <p>Directory:</p>
  
  <p>wamp 
   |
    www
     |
      testweb1
      manage.py
          |
        testweb1 - settings.py
                 - urls.py
                 - wsgi.py</p>
  
  <p>Inside wsgi.py(original code):</p>
  
  <pre><code>import os
  
  from django.core.wsgi import get_wsgi_application
  
  os.environ.setdefault("DJANGO_SETTINGS_MODULE", "testweb1.settings")
  
  application = get_wsgi_application()
  </code></pre>
  
  <p>The problem is when starting Wamp Apache server, the icon appear green. 
  <strong>Server Online</strong> </p>
  
  <p>But when I enter my ip address and port, for example <strong>125.138.0.1:8080</strong></p>
  
  <p>The page only gives me this:</p>
  
  <p><strong>Apache/2.4.9 (Win64) mod_wsgi/4.4.2 Python/3.4.2 PHP/5.5.12 Server at 125.138.0.1 Port 8080</strong></p>
  
  <p>I had done so many research and followed the doc from 
  <a href="https://code.google.com/p/modwsgi/wiki/IntegrationWithDjango" rel="nofollow noreferrer">https://code.google.com/p/modwsgi/wiki/IntegrationWithDjango</a></p>
  
  <p>tried many ways in wsgi.py  , still couldn't get let Apache the deploy Django site from home IP address</p>
  
  <p>By the way, in Apache httpd.conf </p>
  
  <pre><code># Virtual hosts
  Include conf/extra/httpd-vhosts.conf
  </code></pre>
  
  <p>Also tried 
  <a href="https://docs.djangoproject.com/en/1.8/howto/deployment/wsgi/modwsgi/" rel="nofollow noreferrer">https://docs.djangoproject.com/en/1.8/howto/deployment/wsgi/modwsgi/</a></p>
  
  <pre><code>os.environ["DJANGO_SETTINGS_MODULE"] = "{{ project_name }}.settings"
  </code></pre>