title: Ignore requests from internal redirects
body: <pre><code>RewriteRule ^resources/.+$ - [L]
  
  RewriteRule .? index.php?t=$0 [QSA,L]
  </code></pre>
  
  <p>Would produce a <code>500 - Internal Server Error</code>, because it would repeat again and again the same rule, due to internal redirected requests which are exactly treated as the first one. It would lead to an infinite chain of <code>index.php?t=index.php&amp;t=index.php&amp;t=index.php&amp;[...infinite more...]&amp;t=test.php</code></p>
  
  <p>But in my opinion this is not much better:</p>
  
  <pre><code>RewriteRule ^resources/.+$ - [L]
  
  RewriteCond %{QUERY_STRING} !t=
  RewriteCond %{REQUEST_URI} !^index\.php$
  RewriteRule .? index.php?t=$0 [QSA,L]
  </code></pre>
  
  <p>Because now the user could input <code>index.php?t=test.php</code> as address, would pass the script and get the same content as if he had given <code>test.php</code>. I don't like that.</p>
  
  <p>So how do I execute the first one without the issue of repeating internal redirects?<br /> Surely, a flag <em>VL</em> - <em>Very Last</em> would do the trick but sadly it does not exist.</p>