title: Django and PHP simultaneous use
body: <p>I have an <code>Apache</code> server with <code>PHP</code> support. I also installed <code>Python</code> with <code>mod_wsgi</code> and with <code>mysql-connector</code>. Besides I installed Django. Now, I want to try to use <code>PHP</code> and <code>Python</code> simultaneously at the server side. The catch is, I worked with <code>PHP</code> for a couple of years and I see that it is becoming less and less popular, so I plan to port some of my PHP-code to Python-code, or just to try it, to see how they work together. So, I now have a site located at <code>C:\Apache\htdocs</code> and I created a first <code>Django</code> project at <code>C:\WebPython\djsite</code>. Inside <code>djsite</code> I have <code>djsite</code> folder and four files <code>_init_.py, settings.py, urls.py and wsgi.py</code>. In my site I want to address both to PHP handlers (or scripts) and to Python scripts, so, I guess, the problem is in how to config <code>httpd.conf</code>. I looked through many forum threads here at stackoverflow and outside, but still I can't make it work. Now, my httpd.conf looks like this:</p>
  
  <pre><code>...
  ServerName localhost
  &lt;Directory "c:/Apache/htdocs"&gt;
     Options Indexes FollowSymLinks
  &lt;/Directory&gt; 
  &lt;IfModule dir_module&gt;
    DirectoryIndex index.html index.htm index.php
  &lt;/IfModule&gt;
  ...
  </code></pre>