Home >Backend Development >PHP Tutorial >apache伪静态规则转IIS伪静态规则

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

WBOY
WBOYOriginal
2016-06-23 14:22:331001browse

apache 伪静态 url重写 iis

这是apache伪静态规则

RewriteEngine OnRewriteCond %{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的,谢谢了没分了


回复讨论(解决方案)

这个应该可以帮助你
http://hi.baidu.com/lijunzaizi/item/ba8121280a37ea1609750862

楼上说的,我知道,但是那个规则写法,我不会写,求规则写法!!!!

再看看这个吧

http://xueguang668.blog.163.com/blog/static/97722122201111151415593/

还是不会,大神能帮我转转写吗???@@@

iis有一个官方工具URL Rewrite
可以直接导入.htaccess文件

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn