title: URLs redirection problems deploying a working django app in apache (via mod_wsgi)
body: <p>I've a django app that works perfectly under the django development server. I'm trying to deploying it in apache2.2 using the mod_wsgi and I have errors.<br />
   In the httpd.conf file I "mounted" my app under the root /myapp using:<br /><br /></p>
  
  <pre><code>WSGIScriptAlias /myapp /home/path_to_my_app/apache_conf/django.wsgi
  </code></pre>
  
  <p><br />
  I've followed the standard indication to prepare django.wsgi. Now, I can reach the main page template of my app but it seems to have redirection errors. The "/myapp" root is not inserted automatically on ULRs redirection requests. Request from the main page template to some modules in views.py via urls.py cannot be correctly delivered.<br /><br />
  apache error log:</p>
  
  <pre><code>127.0.0.1 - - [21/Feb/2011:16:11:44 +0100] "GET /myapp/ HTTP/1.1" 200 1795  
  127.0.0.1 - - [21/Feb/2011:16:11:46 +0100] "GET /api/dir HTTP/1.1" 404 205
  </code></pre>
  
  <p>"/api/dir" doesn't exist, it should be matched from a pattern in urls.py, but id doesn't</p>
  
  <p>I've spent more than 2 days with it, please can somebody help?</p>