title: Apache rewriterule to redirect folder to subfolder without loop
body: <p>Long story short, I am trying for the last 3 hours to perform what seems to be a basic url redirect. All the website requests to mysite.com/folder should be redirected to mysite.com/folder/subfolder/. The redirect should be performed "only!" if the user enters /folder. If he accesses /folder/file no redirect should happen.</p>
  
  <p>I have tried the following but with no success, all attempts cause an infinite loop:</p>
  
  <pre><code>RewriteRule ^/folder$ /folder/subfolder/ [R]
  Redirect 301 /folder /folder/subfolder/
  </code></pre>
  
  <p>I don't have access to the vhost file, neither am I allowed to perform this using php or a similar 'workaround'. Either way, htaccess should be the best place to do this. Can anybody shade a light on what I am doing wrong?</p>