求助大神:把.htacess文件转换为能支持IIS的伪静态规则

浏览:376 发布日期:2018/01/20 分类:ThinkPHP5专区 关键字: thinkphp IIS伪静态
原.htacess如下:
<IfModule mod_rewrite.c>
RewriteEngine on
Rewritebase /
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php?s=/$1 [QSA,PT,L]
</IfModule>

加载到iis网站(2012,UR重写)添加规则时显示如下:
最佳答案
评论( 相关
后面还有条评论,点击查看>>