<rule name="Rewrite to loupan/loupan.php">
<match url="^loupan/(\d+).html*$" ignoreCase="false" />
<action type="Rewrite" url="/loupan/index/index/id/{R:1}" />
我用的是IIS服务器,TP5版本
输入: http://127.0.0.1:99/loupan/123.html
执行 :http://127.0.0.1:99/loupan/index/index/id/{R:1}
但是这样写有问题,麻烦大家知道的给下意见