« 用 srvany 添加 windows services 的一个双引号处理 | Main | ipconfig /flushdns 清除dns cache »
September 17, 2006
启用 apache rewrite 规则
版权声明:可以任意转载,转载时请务必以超链接形式标明文章原始出处和作者信息及本声明。 https://windtear.net/archives/2006/09/17/001088.html Syntax: RewriteCond TestString CondPattern [flags] Syntax: RewriteRule Pattern Substitution [flags] redirect|R last|L nocase|NC LoadModule rewrite_module modules/mod_rewrite.so RewriteEngine on RewriteRule ^/$ http://windtear.net/ [NC,R=301,L] RewriteRule ^/(.+)$ http://windtear.net/$1 [NC,R=301,L] |
Posted by windtear at September 17, 2006 11:27 PM