Home >Backend Development >PHP Tutorial > apache伪静态守则转IIS伪静态规则
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 />