-
求高手帮忙看下伪静态web.config哪里错了
-
-
我是新手 求高手指点
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<httpErrors errorMode="Custom" />
<rewrite>
<rules>
<rule name="Imported Rule 1">
<match url="^/index\.html$" ignoreCase="false" />
<action type="Rewrite" url="{R:1}/index.php" appendQueryString="false" />
</rule>
<rule name="Imported Rule 2">
<match url="^/([a-z]+)/([0-9]+)\.html$" ignoreCase="false" />
<action type="Rewrite" url="{R:1}/index\.php\?c={R:2}&a=detail&id={R:3}" appendQueryString="false" />
</rule>
<rule name="Imported Rule 3">
<match url="^/home/([0-9]+)$" ignoreCase="false" />
<action type="Rewrite" url="{R:1}/index\.php\?c=home&uid={R:2}" appendQueryString="false" />
</rule>
<rule name="Imported Rule 4">
<match url="^/wap$" ignoreCase="false" />
<action type="Rewrite" url="{R:1}/wap.php" appendQueryString="false" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>
-
2116 次浏览
2 条评论
收藏
2个评论
-
-
--
2020-12-01 10:00
-
我也在找这个问题,能说下吗,谢谢
-
-
回复 · 0条回复
-
-
-
--
楼主 2020-12-01 10:00
-
[s:12]自己乱改 竟然解决了
-
-
回复 · 0条回复
-
作者信息
-
关注
-
试
免费试用
-
咨询热线
-
咨询热线
020-82299 259
-
在线咨询