1
niko 2014 年 8 月 26 日 完全可以。
RewriteRule ^/index/a/(.*)$ /index.php?a=$1 [PT] RewriteRule ^news.php$ http://b.com/news.php [NC,NE,R=301,L] |
8
seki 2014 年 8 月 26 日
@muziyue 哦,不好意思之前误解了。这种情况可以用 RewriteCond
RewrtiteCond %{REQUEST_URI} !^/index/ RewriteRule ^(.*)$ http://b.com/$1 [NC,NE,R=301,L] RewrtiteCond %{REQUEST_URI} ^/index/ RewriteRule ^/index/a/(.*)$ /index.php?a=$1 [PT] |