title: Run Python under Apache already running PHP using mod_wsgi
body: <p>I am running PHP at the server using apache web-server.
  My website is running nice.</p>
  
  <p>Now i need to run python on my web-server without affecting PHP in anyway.</p>
  
  <p>I used the following link to configure mod_wsgi in httpd.conf under apche after installing mode_wsgi.</p>
  
  <p><a href="http://code.google.com/p/modwsgi/wiki/QuickConfigurationGuide" rel="nofollow">http://code.google.com/p/modwsgi/wiki/QuickConfigurationGuide</a></p>
  
  <p>The configuration I updated is as follows:</p>
  
  <pre><code>&lt;VirtualHost *:80&gt;
  
      ServerName www.quipmate.com
      ServerAlias quipmate.com
      ServerAdmin webmaster@quipmate.com
  
      DocumentRoot /usr/local/www/documents
  
      Alias /robots.txt /usr/local/www/documents/robots.txt
      Alias /favicon.ico /usr/local/www/documents/favicon.ico
  
      Alias /media/ /usr/local/www/documents/media/
  
      &lt;Directory /usr/local/www/documents&gt;
      Order allow,deny
      Allow from all
      &lt;/Directory&gt;
  
      WSGIDaemonProcess quipmate.com processes=2 threads=15 display-name=%{GROUP}
      WSGIProcessGroup quipmate.com
  
      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>After updating and restarting apache, I got 404 error on my index.php file in my web document root. Also it did not helped me any way with the python script which was outputed directly on the browser. Please help.</p>