title: Hidden redirect of / to subfolder using .htaccess in TYPO3
body: <p>We're setting up a TYPO3 installation, and if the user calls <strong>example.com/</strong> we'd like the server to redirect to <strong>/typo/index.php?id=106</strong>. </p>
  
  <p>This should happen without a change in the address bar. Every other file access on the server (for example example.com/test.png) should be redirected to example.com/typo/test.png).</p>
  
  <p>This is the .htaccess file in the root directory. As I understand, it will redirect everything which doesn't have <strong>/typo</strong> in the URL to the subfolder and attach the parameters:</p>
  
  <pre><code>RewriteCond %{REQUEST_URI} !^/typo/
  RewriteRule ^(.*)$ typo/$1 [L]
  </code></pre>
  
  <p>Now, this already seems to work, when I call example.com/index.php?id=106 I'm not getting a 404. Unfortunately TYPO3 seems to have some trouble (or the .htaccess configuration isn't correct), because we get a message saying "No input file specified".</p>
  
  <p>What's also missing is the initial redirect when no path is specified. It should then go to /typo/index.php?id=106.</p>