title: Redirect all to a file using mod-rewrite
body: <p>I'm trying to redirect all to <code>http://site.com/folder1/folder2/file.php</code></p>
  
  <p>works perfectly in Windows but not Linux</p>
  
  <p><code>.htaccess is inside folder1</code></p>
  
  <pre><code>  RewriteEngine On
    RewriteRule ^(.*)$ folder2/file.php
  </code></pre>
  
  <p>If I try to access <a href="http://site.com/folder1" rel="nofollow">http://site.com/folder1</a> without last "/" I get "Bad Request" error on Linux</p>
  
  <p><strong>I do not want to change the URL in the address bar</strong></p>
  
  <p>any ideas?</p>