- Question
- 開發環境
- 架設環境
- Win 7, IIS 7.5 - 成功
- Win 2008, IIS 7 - 失敗
- Error - HTTP ERROR 403.14
- 經過網路查詢此錯誤,發現也有許多大大有發生此問題
- 主要 web.config 缺少一段程式碼
< system.webServer >
< modules >
< remove name="FormsAuthentication" >
< /modules >
...
< /system.webServer >
< system.webServer >
< modules runAllManagedModulesForAllRequests="true" >
< remove name="FormsAuthentication" >
< /modules >
...
< /system.webServer >
- REF:
- https://blog.miniasp.com/post/2013/06/24/ASPNET-MVC-4-IIS-runAllManagedModulesForAllRequests-ExtensionlessUrlHandler.aspx
- http://blog.darkthread.net/post-2015-05-30-aspnet-mvc-on-win2008.aspx
- http://www.luminowebdesign.no/tech-blogg/asp-net-routing-and-web-config-setting-runallmanagedmodulesforallrequests
沒有留言:
張貼留言