title: .htaccess returns 500 for a simple redirect in Laravel
body: <p>I have created an app in Laravel.
  My initial .htaccess was:</p>
  
  <pre><code>&lt;IfModule mod_rewrite.c&gt;
      Options +FollowSymLinks
      RewriteEngine On
  &lt;/IfModule&gt;
  &lt;IfModule mod_rewrite.c&gt;
      RewriteCond %{REQUEST_FILENAME} !-f
      RewriteCond %{REQUEST_FILENAME} !-d
      RewriteRule ^(.*)$ index.php/$1 [L]
  &lt;/IfModule&gt;
  </code></pre>
  
  <p>And it worked properly for the domain api.viglug.org.
  After I added the m.forum.viglug.org domain (with the same root directory of api.viglug.org).
  At this point was exactly the same to call api.viglug.org and m.forum.viglug.org.
  I wanted to use the m.forum.viglug.org for the folder api.viglug.org/mobile so I thought it would have worked with this .htaccess:</p>
  
  <pre><code>&lt;IfModule mod_rewrite.c&gt;
      Options +FollowSymLinks
      RewriteEngine On
  &lt;/IfModule&gt;
  &lt;IfModule mod_rewrite.c&gt;
      RewriteCond %{HTTP_HOST} m\. [NC] 
      RewriteRule ^(.*)$ index.php/mobile/$1 [L]
      RewriteCond %{REQUEST_FILENAME} !-f
      RewriteCond %{REQUEST_FILENAME} !-d
      RewriteRule ^(.*)$ index.php/$1 [L]
  &lt;/IfModule&gt;
  </code></pre>
  
  <p>I was wrong. It keeps returning error 500 if I use m.forum.viglug.org, while api.viglug.org works as expected.
  How can I fix this?</p>