title: Map home to django admin
body: <p>I am using django 2.0.6 with apache2 and mod_wsgi. I would like to map the home url to admin of my application (an internal application which only has the admin and no public interface). The following code in url.py works when I am using django's runserver but does not work when I use apache2 with mod_wsgi</p>
  
  <pre><code>urlpatterns = [
       path('', admin.site.urls),
  ]
  </code></pre>
  
  <p>When using apache2 with mod_wsgi, I get redirected to /cgi-bin/webproc saying "Not Found".</p>
  
  <p>The following works with both django's runserver as well as mod_wsgi</p>
  
  <pre><code>urlpatterns = [
       path('admin/', admin.site.urls),
  ]
  </code></pre>
  
  <p>My apache config is</p>
  
  <pre><code>&lt;VirtualHost *:80&gt;
          TimeOut 1200
  
      LogLevel info 
  
      ErrorLog ${APACHE_LOG_DIR}/error.log
      CustomLog ${APACHE_LOG_DIR}/access.log combined
  
          Alias /media/ /var/www/myapp/media/
          Alias /static /var/www/myapp/myapp/static
          &lt;Directory /var/www/myapp/myapp/static&gt;
              Require all granted
          &lt;/Directory&gt;
  
          &lt;Directory /var/www/myapp/media&gt;
              Require all granted
          &lt;/Directory&gt;
  
          &lt;Directory /var/www/myapp/myapp&gt;
             &lt;Files wsgi.py&gt;
              Require all granted
             &lt;/Files&gt;
          &lt;/Directory&gt;
  
           WSGIDaemonProcess myapp python-home=/var/www/myapp/env python-path=/var/www/myapp 
           WSGIProcessGroup myapp
           WSGIScriptAlias / /var/www/myapp/myapp/wsgi.py
  &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>Would be grateful if anyone could help.</p>