我想这些URL重定向/转发:
here.com/foo ==> there.com/a/b
here.com/foobar ==> there.com/c/d
我有这两个的.htaccess重写规则行:
RewriteRule ^foo$ http://there.com/a/b [R=301,L]
RewriteRule ^foobar$ http://there.com/c/d [R=301,L]
但结果是:
here.com/foo ==> there.com/a/b
here.com/foobar ==> there.com/a/b
foo
也匹配foobar
我如何工作的呢?