title: How to link a Python project to a WSGI file?
body: <p>I want to link my Python project to a <code>wsgi</code> file. I am using <code>mod_wsgi</code>.</p>
  
  <p>I would like my Python project to be located in <code>/var/www/myProject/start.py</code>.</p>
  
  <p>I've configured Apache as follows:</p>
  
  <pre><code>&lt;VirtualHost *:80&gt;
      ServerName www.example.me
      ServerAlias example.me
      ServerAdmin example@gmail.com
      DocumentRoot /usr/local/www/documents
      LogLevel warn
  
      Alias /robots.txt /usr/local/www/documents/robots.txt
      Alias /favicon.png /usr/local/www/documents/favicon.png
      Alias /media/ /usr/local/www/documents/media/
  
      &lt;Directory /usr/local/www/documents&gt;
          Order allow,deny
          Allow from all
      &lt;/Directory&gt;
  
      WSGIScriptAlias / /usr/local/www/wsgi-scripts/myApp.wsgi
  
      &lt;Directory /usr/local/www/wsgi-scripts&gt;
          Order allow,deny
          Allow from all
      &lt;/Directory&gt;
  &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>So far this is what I have in <code>myApp.wsgi</code> file:</p>
  
  <pre><code>import web
  
  urls = (
      '/.*', 'hello',
  )
  
  class hello:
      def GET(self):
          return "Hello, world"
  
  application = web.application(urls, globals()).wsgifunc()
  </code></pre>
  
  <p>What do I have to do in order to link my project which is located in <code>/var/www/myProject/start.py</code> to be called by <code>myApp.wsgi</code>?</p>