title: .htaccess REQUEST_URI not work well
body: <p>I try this rules</p>
  
  <pre><code>RewriteCond %{REQUEST_URI} !^/dr/he
  RewriteCond %{HTTP_HOST} temp.il.gl
  RewriteRule ^(.*)$ http://m.il.gl/$1 [R=301,L]
  </code></pre>
  
  <p>but when I try also temp.il.gl/dr/he/ and also <a href="http://temp.il.gl/dr/" rel="nofollow">http://temp.il.gl/dr/</a></p>
  
  <p>They both go to m.il.gl
  I try it at .htaccess tester and this work, but when insert it in my .htaccess is not work.
  Thanks.</p>
  
  <p>EDITED:
  I have this lines also:</p>
  
  <pre><code>RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteCond %{REQUEST_URI} !=/favicon.ico
  RewriteRule ^ index.php [L]
  </code></pre>
  
  <p>EDITED:
  I add the condition:</p>
  
  <pre><code>RewriteCond %{REQUEST_URI} !^/(.*)index.php
  </code></pre>
  
  <p>before:</p>
  
  <pre><code>RewriteRule ^(.*)$ http://m.il.gl/$1 [R=301,L]
  </code></pre>
  
  <p>And now is work.
  Thanks to you
  Yoni</p>