Request exceeded the limit of 10 internal redirects

前端 未结 7 659
暗喜
暗喜 2020-11-29 07:08

My website has been slowed down a little last couple of days. I\'ve looked into my error log and found lots of these:

[Mon Sep 30 00:09:53 2013] [error] [c         


        
7条回答
  •  借酒劲吻你
    2020-11-29 07:11

    You can also use the END flag, instead of the L flag:

    RewriteRule ^(.*)$ index.php?/$1 [END]
    

    Using the [END] flag terminates not only the current round of rewrite processing (like [L]) but also prevents any subsequent rewrite processing from occurring in per-directory (htaccess) context.

    This does not apply to new requests resulting from external redirects.

提交回复
热议问题