title: Running multiple django apps in apache https server one in / and another in /app2
body: <p>I am trying to deploy two django apps in same server ssl port 443. While I comment following three lines in first block app2 is running while commenting in second block app1 is running and when uncommenting in both block both apps is not running and showing Internal Server Error and apache error log showing</p>
  <blockquote>
  <p>mod_wsgi (pid=48352): Failed to exec Python script file '/var/www/html/app1/app1/wsgi.py'.</p>
  </blockquote>
  <pre><code>WSGIDaemonProcess ......
  WSGIProcessGroup ...... 
  WSGIScriptAlias ......
  </code></pre>
  <p>my default.conf file VirtualHost *:443 block is as follows</p>
  <pre><code>    Alias /static /var/www/html/app1/static
      &lt;Directory /var/www/html/app1/static&gt;
              Require all granted
      &lt;/Directory&gt;
  
      &lt;Directory /var/www/html/app1/app1&gt;
              &lt;Files wsgi.py&gt;
                      Require all granted
              &lt;/Files&gt;
      &lt;/Directory&gt;
  
  
      WSGIDaemonProcess app1 python-path=/var/www/html/app1
      WSGIProcessGroup app1
      WSGIScriptAlias / /var/www/html/app1/app1/wsgi.py
  </code></pre>
  
  <pre><code>    Alias /museum/static /var/www/html/app2/static
      &lt;Directory /var/www/html/app2/static&gt;
             Require all granted
      &lt;/Directory&gt;
  
      &lt;Directory /var/www/html/app2/app2&gt;
             &lt;Files wsgi.py&gt;
                     Require all granted
             &lt;/Files&gt;
      &lt;/Directory&gt;
  
      #WSGIDaemonProcess app2 python-path=/var/www/html/app2
      #WSGIProcessGroup app2
      #WSGIScriptAlias /app2 /var/www/html/app2/app2/wsgi.py
  </code></pre>
  <p>for the above code app1 is running perfectly</p>
  <pre><code>    Alias /static /var/www/html/app1/static
      &lt;Directory /var/www/html/app1/static&gt;
              Require all granted
      &lt;/Directory&gt;
  
      &lt;Directory /var/www/html/app1/app1&gt;
              &lt;Files wsgi.py&gt;
                      Require all granted
              &lt;/Files&gt;
      &lt;/Directory&gt;
  
  
      #WSGIDaemonProcess app1 python-path=/var/www/html/app1
      #WSGIProcessGroup app1
      #WSGIScriptAlias / /var/www/html/app1/app1/wsgi.py
  </code></pre>
  
  <pre><code>    Alias /museum/static /var/www/html/app2/static
      &lt;Directory /var/www/html/app2/static&gt;
             Require all granted
      &lt;/Directory&gt;
  
      &lt;Directory /var/www/html/app2/app2&gt;
             &lt;Files wsgi.py&gt;
                     Require all granted
             &lt;/Files&gt;
      &lt;/Directory&gt;
  
      WSGIDaemonProcess app2 python-path=/var/www/html/app2
      WSGIProcessGroup app2
      WSGIScriptAlias /app2 /var/www/html/app2/app2/wsgi.py
  </code></pre>
  <p>for the above code app2 is running perfectly</p>
  <p>I want to run both servers together.</p>