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

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

WBOY
WBOYOriginal
2016-06-13 12:36:33991browse

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

<br />
RewriteEngine On<br />
RewriteCond %{REQUEST_URI} ^/admin/<br />
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]<br />
<br />
RewriteCond %{REQUEST_URI} !^/admin/<br />
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]<br />
<br />

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

apache 伪静态 url重写 iis
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