In my localhost, I cannot setup working environment. I copied web.config from staging where everything is ok. I get error 404 for html page.
Module IIS Web Core
Notification MapRequestHandler
Handler StaticFile
Error Code 0x80070002
I added following in web.config from this article which is not present in Staging and still works but I added in my localhost with no success :
Site has CMS and html pages are stored in DB, no physical HTML page exists. But I thought following should do job for redirecting:
What else can I do here to run my html page? Any help is much appriciated!
本文描述了作者在本地IIS环境中遇到HTML页面404错误的情况,并尝试通过修改web.config文件来解决问题的过程。尽管从预生产环境复制了配置文件,但问题仍未得到解决。

被折叠的 条评论
为什么被折叠?



