当前位置: 代码迷 >> PHP >> apache伪静态守则转IIS伪静态规则
  详细解决方案

apache伪静态守则转IIS伪静态规则

热度:233   发布时间:2013-10-07 19:41:22.0
apache伪静态规则转IIS伪静态规则
这是apache伪静态规则


RewriteEngine On
RewriteCond %{REQUEST_URI} ^/admin/
RewriteRule !\.(js|ico|gif|jpg|jpeg|bmp|png|swf|css|html|htm|php|rar|xml|ani|cur|mp3|mp4|flv|tpl|inc)$ /admin/index.php [L,NC]

RewriteCond %{REQUEST_URI} !^/admin/
RewriteRule !\.(js|ico|gif|jpg|jpeg|bmp|png|swf|css|html|htm|php|rar|xml|ani|cur|mp3|mp4|flv|tpl|inc)$ index.php [L,NC]


求大神转为IIS的,谢谢了没分了

apache 伪静态 url重写 iis

------解决方案--------------------
iis有一个官方工具URL Rewrite
可以直接导入.htaccess文件
  相关解决方案