iis环境未配置好伪静态的缘故:
1、修改 PHP.INI cgi.fix_pathinfo=0,把0改为1
2、打开web.config
<action type="Rewrite" url="index.php/{R:1}" />
改成
<action type="Rewrite" url="index.php?s={R:1}" />
3、在配置文件里加上 'URL_MODEL'=>2
转载于:https://blog.51cto.com/13839324/2306705
iis环境未配置好伪静态的缘故:
1、修改 PHP.INI cgi.fix_pathinfo=0,把0改为1
2、打开web.config
<action type="Rewrite" url="index.php/{R:1}" />
改成
<action type="Rewrite" url="index.php?s={R:1}" />
3、在配置文件里加上 'URL_MODEL'=>2
转载于:https://blog.51cto.com/13839324/2306705