明凯博客

关注网站技术,一个特立独行的程序员

rewriterule

RewriteCond 和RewriteRule规则说明

Apache的Mod_rewrite学习 (RewriteCond重写规则的条件)收藏 RewriteCond Syntax: RewriteCond TestString CondPattern [flags]   RewriteCond指令定义一条规则条件。在一条Rewrit […]

, ,

RewriteRule中的正则表达式是否加上^的区别

例子一 1 RewriteRule /news/(/d+)/.html /news/.php/?id=$1 [N,L] 不仅匹配 1 http://localhost/news/1.html 也会匹配 1 http://localhost/test […]

, ,