当前位置:Gxlcms > PHP教程 > apache伪静态规则转IIS伪静态规则

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

时间:2021-07-01 10:21:17 帮助过:7人阅读

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文件

人气教程排行