title: Internal server error 500 with new rule in .htaccess in Prestashop
body: <p>I try to put a new rule in my .htaccess to redirect when some url appears, I put the following rule in the top of the .htaccess to preserve the content in case of it's regenerated again.</p>
  
  <pre><code>RewriteRule ^webservice/?(.*)$ %{ENV:REWRITEBASE}api/test.php [QSA,L]
  </code></pre>
  
  <p>I created too a new <strong>/api</strong> directory under the root folder and inside it a <strong>test.php</strong> with the following stamement :</p>
  
  <pre><code>&lt;?php
  echo "Hello";
  </code></pre>
  
  <p>but I always get the 500 Internal Server Error.</p>
  
  <p>But if I change the directory to one of the defaults of Prestashop, (e.g <strong>/webservice</strong>) and create a new php like the above it's work perfectly when I make the request.</p>
  
  <p>I check all the permissions in the directory and everything its fine.</p>
  
  <p>In the error log appears the following error:</p>
  
  <p><code>Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.</code></p>
  
  <p>Thanks in advance.</p>