我们最近移动了服务器,现在曾经工作过的闪存不能工作,因为它无法识别 xml 文件。这是错误的详细信息:
Server Error in Application
Internet Information Services 7.5 Error Summary HTTP Error 404.8 - Not Found The request filtering module is configured to deny a path in the URL that contains a hiddenSegment section. Detailed Error Information ModuleRequestFilteringModule NotificationBeginRequest HandlerStaticFile Error Code0x00000000 Requested URLhttp://obscured.xml Physical PathD:\home\obscured.xml Logon MethodNot yet determined Logon UserNot yet determined
最佳答案
问题是由 IIS 保护您请求的文件引起的。
IIS 默认设置一个过滤器来拒绝对具有特定名称(例如 app_data
、bin
等)的文件的请求,以保护 Web 应用程序。这是通过 IIS 中的隐藏段控件完成的。您的应用似乎受此影响。
理想情况下,您应该更改您请求的文件的名称。
但是,如果您不能这样做,请查看 article here有关如何删除它的步骤。
关于xml - 如何解决 HTTP 错误 404.8?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14059355/