title: Simple Apache Rewrite
body: <p>Folks,</p>
  
  <p>This is easy, but I cannot seem to get this right, any help appreciated.</p>
  
  <p>I if someone goes to a URL</p>
  
  <pre><code>http://test.api.com/somestuff I want it to redirect to 
  http://test.api.com/en/api/somestuff
  </code></pre>
  
  <p>However my rewrite rule keeps resulting in a endless redirect - can someone spot the error?</p>
  
  <pre><code>RewriteCond %{REQUEST_URI} !^(/en/api/).*
  RewriteRule ^(.*)$ http://%{HTTP_HOST}/en/api/$1 [R,L]
  </code></pre>