title: Serve multiple directories with Apache
body: <p>I am running Apache on Ubuntu.  My /var/www folder consists of two directories</p>
  
  <pre><code>/codeigniter
  /wordpress
  </code></pre>
  
  <p>I would like mydomain.com to point to /codeigniter and mydomain.com/blog to point to /wordpress.  I have acheived the first one but not the second.  </p>
  
  <p>I have the following in site-available/mydomain.com</p>
  
  <pre><code>&lt;VirtualHost *:80&gt;
    ServerAdmin me@example.com
    ServerName  www.mydomain.com
    ServerAlias mydomain.com
  
    # Index file and Document Root (where the public files are located)
    DirectoryIndex index.html index.php
    DocumentRoot /var/www/codeigniter/public
  
    &lt;Directory "/var/www/codeigniter/public"&gt;
    Options FollowSymLinks
    AllowOverride All
    Order allow,deny
    Allow from all
    &lt;/Directory&gt;
  &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>This works and when I go to mydomain.com in my browser it takes me to my codeigniter directory.  However how can I make apache take me to my wordpress directory when I go to mydomain.com/blog?</p>