请教一个apache重写规则
小弟实在是没有办法了,所以请教大家了!
我想实现类似如下情况:
http://xxx.com/read.php?save_1
http://xxx.com/read.php?save_2
http://xxx.com/read.php?save_3
http://xxx.com/read.php?save_4
都重写为:
http://xxx.com/read.php?1
http://xxx.com/read.php?2
http://xxx.com/read.php?3
http://xxx.com/read.php?4
---------------------------
我这样写但是不好使:
RewriteEngine on
RewriteRule ^read.php?save_([0-9]*)$ read.php?$1