Home  >  Article  >  Backend Development  >  关于.htaccess文件一段伪静态规则写法有关问题

关于.htaccess文件一段伪静态规则写法有关问题

WBOY
WBOYOriginal
2016-06-13 12:30:22882browse

关于.htaccess文件一段伪静态规则写法问题

本帖最后由 kaixinmaitian 于 2014-01-03 10:14:28 编辑 .htaccess文件中的代码为:
RewriteRule ^(?!rewrite\.php)(.*)$ /rewrite.php\?rewrite=$1&%1 [QSA,NU,PT,L]

除了rewrite.php外所有文件都做了转向,我现在还需要除去图片文件(jpeg,jpg,png,gif)之外,应该如何写呀。
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