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

WBOY
Release: 2016-06-13 12:30:22
Original
879 people have browsed it

关于.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)之外,应该如何写呀。
Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template