我試圖將所有不存在的頁面重定向到不同的域,因爲我的博客被移到了不同的域。Intelligencia URLRewriter不存在或非aspx頁面
所以www.mydomain.com/blog/asdf應該重定向到blog.mydomain.com/blog/asdf
使用Intelligencia URLRewriter模塊我也可以把博客/但如果我做博客/什麼我得到一個404
即使沒有這樣一個正則表達式的簡單規則,它沒有博客文件夾
<rewrite url="~/blog/^" to="http://blog.softwaresynergy.com/blog/" />
我也試過這件T下任何工作o強制所有請求去處理器
<modules runAllManagedModulesForAllRequests="true">
有關如何在博客/ /重定向到其他域的所有內容的任何想法?
你使用IIS嗎? – turtlepick
是的,但它是一個共享託管服務,所以我無法直接在IIS中修改任何內容。需要全部通過網絡配置。 – xmorera