title: htaccess - rewrite only inside folder
body: <p>I hava a folder - careers - and i want to do the rewrite only for the files of that folder, for example:</p>
  
  <p>mydomain.com/file.html -> its out of the folder</p>
  
  <p>mydomain.com/folerone/file.html -> its out of the folder</p>
  
  <p>mydomain.com/careers/ -> this calls the file index.php</p>
  
  <p>mydomain.com/careers/item -> this calls the file index.php with the $_GET variable item</p>
  
  <p>mydomain.com/careers/item2 -> this calls the file index.php with the $_GET variable item2</p>
  
  <p>My actual .htaccess is:</p>
  
  <pre><code>RewriteEngine on
  
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule ([^/]+) index.php?itemid=$1 [QSA]
  </code></pre>
  
  <p>This is not working.. can someone help?</p>