mod_rewrite number of parameters/back-references limitation

后端 未结 3 1992
臣服心动
臣服心动 2020-12-19 13:47

Apparently there is a limitation (9) on how many backreferences you can access in htaccess RewriteRules..

But we have a RewriteRule that requires more than 9 paramet

3条回答
  •  爱一瞬间的悲伤
    2020-12-19 13:52

    One solution might be to use the same regex, without captures, and pass the request to index.php

    Then use index.php to explode the Request URI by the forward slashes and you can work from there with the data.

提交回复
热议问题