title: .htaccess always redirects to a folder
body: <p>I would like to create an installation folder, before the installation the <code>.htaccess</code> in the main folder may redirect always to the installation folder.</p>
  
  <p>The url could be:</p>
  
  <pre><code>http://server.com/somefolder/mainFolder/someFileOrFolder.ext
  redirects to
  http://server.com/somefolder/mainFolder/install/
  
  http://server.com/mainFolder/someFileOrFolder.ext
  redirects to
  http://server.com/mainFolder/install/
  </code></pre>
  
  <p>SomeFolder is unknown</p>
  
  <p>I tried something in the <code>.htaccess</code> file but I couldn't solve.</p>
  
  <p><strong>EDIT:</strong> I forgot to say that mainFolder is where the .htaccess is and its name is also unknown.</p>