title: RewriteRule [F,L] shows 500 in Apache log instead of 403
body: <p>I am blocking bad bots in my htaccess file. Checking headers, I correctly see a 403 returned, but in my access logs, I see 500 instead of 403:</p>
  <pre><code>x.x.x.x - - [04/Aug/2020:10:56:02 -0600] &quot;GET /testurl HTTP/1.1&quot; 500 - &quot;&quot; &quot;Yeti/1.0 (NHN Corp.; http://help.naver.com/robots/)&quot;
  </code></pre>
  <p>Further, in Apache error log, I see:</p>
  <pre><code>[Tue Aug 04 10:56:02.896243 2020] [core:error] [pid 10430:tid 47402182534912] [client x.x.x.x:35589] AH00124: 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></pre>
  <p>Sample portion of my htaccess file:</p>
  <pre><code>RewriteCond %{HTTP_USER_AGENT} ^.*(bot1|bot2).*$ [NC,OR]
  ...
  RewriteRule ^(.*)$ - [F,L]
  </code></pre>
  <p>These rules are the first to be processed, before canonicalization or https redirects. I don't understand why this is resulting in &quot;10 internal redirects&quot; per the error log.</p>
  <p>Thanks in advance.</p>