【发布时间】:2009-11-26 12:20:21
【问题描述】:
我目前在 IIS6 上为两个包含 Wordpress 的虚拟目录使用 ISAPI Rewrite3。
我需要在网站的根目录设置一些规则来将旧网址重定向到新网址:
i.e.
http://www.example.com/somefolder/* > http://www.example.com/newfolder/
&
http://www.example.com/somefolder/file_1.htm > http://www.example.com/newmvcpath/
我需要在不破坏 MVC(因为它设置为通配符)和不影响两个虚拟目录的情况下执行此操作。
另外,我将如何为 /somefolder/file_1.htm 数字位设置通配符。
非常感谢任何帮助
(heliontech iis 重写)
【问题讨论】:
标签: asp.net-mvc iis-6 isapi-rewrite helicontech