输入banner图图片脚本导航/分类

请教这段rewrite如何写

请问这段rewrite怎么写
我想在.htaccess文件中让请求为http://www.***.com/wxchat/index.php/api/index.php的重定向到http://www.***.com/wxchat/index.php/api 呢?rewrite 规则不熟,请大侠们帮忙 谢谢了

分享到:


------解决方案--------------------
Redirect 301 /wxchat/index.php/api/index.php http://www.***.com/wxchat/index.php/api