【发布时间】:2012-04-18 22:55:30
【问题描述】:
我有一个类似www.foo.com/start/rewrite.php/home/say/index的网址
如何使用 UrlRewriteFilter 从该 URL 中删除 rewrite.php,例如
www.foo.com/start/home/say/index
我认为 mod_rewrite 可以使用
Options +FollowSymlinks
RewriteEngine on
RewriteRule ^/start/rewrite.php/?(.*) /$1 [R=301,L]
谁能帮忙?
【问题讨论】:
标签: url-rewriting tuckey-urlrewrite-filter