title: Set up Laravel 5 on Apache VirtualHost
body: <p>For the last week I've been setting up my development environment on my new MacBook using Homebrew.
  So far everything went great, but I'm stumped when it comes to Laravel 5.</p>
  
  <p>During my last semester at school I intensively worked in Laravel 4 and I knew how to set it up properly to serve from the public folder using Apache instead of the php artisan serve command.
  I modified the Apache configs to point the DocumentRoot to the L4 public folder and changed the paths in index.php to match that. I can't seem to find out how to do this properly in L5 and not break any functionality.
  This seems to have changed quite a bit in Laravel 5. </p>
  
  <p>I'm running a VirtualHost configuration on my Apache setup and am using dnsmasq to enable usage of .dev domains, so I can do things like www.wordpress.dev and www.junk.dev which point to localhost/wordpress and localhost/junk respectively.</p>
  
  <p>So my goal is to serve Laravel 5 from the public folder using VirtualHosts and assign it to the virtual domain name www.laravel.dev. Currently this gives me a blank page. 
  Can anybody help me set this up correctly?</p>
  
  <p>My httpd-vhosts.conf is:</p>
  
  <pre><code>&lt;VirtualHost *:80&gt;
     ServerAdmin ******@***.com
     DocumentRoot "/Server/laravel/public"
     ServerName laravel.dev
     ServerAlias www.laravel.dev
     ErrorLog "/Server/logs/laravel_log"
     CustomLog "/Server/logs/laravel_custom_log" common
  &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>And public/index.php is unmodified (not that I didn't try to modify it...).
  Thanks in advance for any help!</p>