Run both Django and PHP application in Apache
<p>I'm trying to host Django and PHP(wordpress) app in Apache</p>

<p>domain.com, should point to Django app
domain.com/wp, should point to wordpress app</p>

<p>Here is my 000-default.conf in /etc/apache2/sites-available</p>

<pre><code>&lt;VirtualHost *:80&gt;
    DocumentRoot "/var/www/html/wp"
    ServerName domain.com/wp
    Alias /wp /var/www/html/wp
    &lt;Directory /var/www/html/wp&gt;
        Options Indexes FollowSymLinks
        AllowOverride None
        Order Deny,Allow
        Allow from all
    &lt;/Directory&gt;
&lt;/VirtualHost&gt;                            

&lt;VirtualHost *:80&gt;
        Alias /static /var/www/html/portal/static
        &lt;Directory /var/www/html/portal/static&gt;
                Require all granted
        &lt;/Directory&gt;

        &lt;Directory /home/ubuntu/portal/portal&gt;
                &lt;Files wsgi.py&gt;
                        Require all granted
                &lt;/Files&gt;
        &lt;/Directory&gt;

        WSGIDaemonProcess portal python-path=/home/ubuntu/portal:/home/ubuntu/portal/env/lib/python2.7/site-packages
        WSGIProcessGroup portal
        WSGIScriptAlias / /home/ubuntu/portal/portal/wsgi.py
&lt;/VirtualHost&gt;
</code></pre>

<p>domain.com is taking me to wordpress application.</p>

<p>Can anyone tell me where the issue is or give me a direction to solve this.</p>