I am setting up a 3rd party website which makes heavy use of httpHandlers. When configured as a virtual directory under Default Site on a 2003/IIS6 machine, everything works as expected. When configured as a standalone site on the same machine, pointing to the same directory and web.config however, httpHandlers do not work (404).
我正在建立第三方网站,大量使用httpHandlers。当在2003 / IIS6计算机上的默认站点下配置为虚拟目录时,一切都按预期工作。当在同一台机器上配置为独立站点时,指向同一目录和web.config但是,httpHandler不起作用(404)。
I have tried various changes to the path values of the handler's tags with no results. The pages themselves, and the application's code, all seem to execute find within the standalone site.
我已尝试对处理程序的标记的路径值进行各种更改,但没有结果。页面本身和应用程序的代码似乎都在独立站点中执行查找。
Any obvious things I might be missing?
我可能会遗漏任何明显的事情?
1 个解决方案
#1
Found my own answer, was a very simple thing.
找到我自己的答案,是一件非常简单的事情。
An installer package had installed the virtual directory version of the site, and it had taken care of adding the file extension mappings. The standalone was manually configured and as such, I missed adding the mappings.
安装程序包已安装该站点的虚拟目录版本,并已负责添加文件扩展名映射。独立是手动配置的,因此我错过了添加映射。
Resolved.
#1
Found my own answer, was a very simple thing.
找到我自己的答案,是一件非常简单的事情。
An installer package had installed the virtual directory version of the site, and it had taken care of adding the file extension mappings. The standalone was manually configured and as such, I missed adding the mappings.
安装程序包已安装该站点的虚拟目录版本,并已负责添加文件扩展名映射。独立是手动配置的,因此我错过了添加映射。
Resolved.