Cannot match / in mod_rewrite

前端 未结 1 1071
太阳男子
太阳男子 2020-12-20 14:17

I have a set of rewrite rules (in a .htaccess) something like this:

RewriteRule ^list/vendor/(.*)$ list.php?vendor=$1
RewriteRule ^list/product/(.*)$ list.ph         


        
相关标签:
1条回答
  • 2020-12-20 15:02

    Bah, I found it... Apache option AllowEncodedSlashes, which cannot be set per directory or from .htaccess, and which is Off by default.

    Build-a-workaround time, if I can't get the hosting guys to turn it on in my virtual server.

    0 讨论(0)
提交回复
热议问题