title: .htaccess [L] and [end] flags
body: <p>What is the difference between <code>[L]</code> and <code>[end]</code>?<br>
  <code>last</code> and <code>end</code> are the same, aren't they?</p>
  
  <p>In my <code>.htaccess</code> I have</p>
  
  <pre><code>RewriteEngine On
  RewriteBase /
  
  # I use this only to test my $_SERVER variables
  RewriteRule ^phpinfo phpinfo.php [QSA,L]
  
  RewriteRule ^(.*)$ index.php?data=$1 [QSA,L]
  </code></pre>
  
  <p>and the behaviour of the both <code>end</code> and <code>L</code> is the same. I suppose that in a more complicated example it won't be, so can you give me such an example?</p>
  
  <p>From the <a href="http://httpd.apache.org/docs/current/rewrite/flags.html" rel="noreferrer">docs</a>:</p>
  
  <blockquote>
    <p>The [L] flag causes mod_rewrite to stop processing the rule set. In
    most contexts, this means that if the rule matches, no further rules
    will be processed.</p>
  </blockquote>
  
  <p>and</p>
  
  <blockquote>
    <p>Using the [END] flag terminates not only the current round of rewrite
    processing (like [L]) <strong>but also prevents any subsequent rewrite
    processing from occurring in per-directory (htaccess) context.</strong></p>
  </blockquote>
  
  <p>What does this mean?</p>