title: laravel 4 app in subdomain and subfolder
body: <p>I have a domain structure that setup so I can easily add new projects/experiments by using this url labs.domainname.com/[app-name]</p>
  
  <p>with this apache configuration</p>
  
  <pre><code>ServerName labs.domainname.com
  
  DocumentRoot /var/www/labs.domainname.com
  
  &lt;Directory /var/www/labs.domainname.com/&gt;
      Options FollowSymLinks MultiViews Indexes
      DirectoryIndex index.php index.html
      AllowOverride All
      Order allow,deny
      allow from all
  &lt;/Directory&gt;
  </code></pre>
  
  <p>it works for simple projects but I have yet to be able to figure out how to make it work for a L4 project. Can this configuration work for what I'm trying to do without having to make a new virtual host file for every project? and yes mod_rewrite is enabled. </p>