title: Apache alias for Laravel and Lumen
body: <p>I'm trying to make an alias on my server which directs all traffic that comes into <code>example.com/z/</code> to a different directory than the rest of <code>example.com</code>, where <code>example.com</code> has a Laravel 4.2 install and <code>example.com/z/</code> has a Lumen install which runs a service.</p>
  
  <p>This is my original vhost:</p>
  
  <pre><code>&lt;VirtualHost *:80&gt;
   ServerName example.com
   DocumentRoot /data/user/public_html/public
   &lt;Directory /data/user/public_html/public&gt;
    Options +FollowSymlinks
    AllowOverride All
   &lt;/Directory&gt;
  &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>And this is the vhost with the <code>/z/</code> alias added in:</p>
  
  <pre><code> &lt;VirtualHost *:80&gt;
    ServerName example.com
    DocumentRoot /data/user/public_html/public
    Alias /z/ /data/user/service/public
    &lt;Directory /data/user/service/public&gt;
     Options +FollowSymlinks
     AllowOverride All
    &lt;/Directory&gt;
    &lt;Directory /data/user/public_html/public&gt;
     Options +FollowSymlinks
     AllowOverride All
    &lt;/Directory&gt;
   &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>When a navigate to <code>exmaple.com/z/</code> I get a 403 page and in the logs this error:</p>
  
  <pre><code> Directory index forbidden by Options directive: /data/user/service/public
  </code></pre>
  
  <p>And if I go to anything else under <code>/z/</code> (example: <code>/z/abcd</code>) I get a 404 page, but it looks like the Laravel 404 page instead of the Lumen 404 page.</p>
  
  <p>Any ideas on how I can get this working?</p>