J
John
Hi All,
We have a web application that runs well on Windows 2000 with IIS 5.1 and
..Net framework 1.1. We just moved it to .Net Server 2003. Suddenly we are
having big problems!!
The application is completely dependent on HttpHandler / HttpModule to
process all web requests. It doesn't serve any static contents. The wwwroot
directory only contains web.config and bin folder. In IIS 5.1, we
configured to use "aspnet_isapi.dll" to process all file extentions,
including .* files.
We added a line in the web.config file.
<add verb="*" path="*"
type="XXX.XXX.MyHttpHandler, XXX.XXX" />
When we type in URL: http://localhost/test/test/test.htm, IIS 5.1 uses
aspnet_isapi.dll to process the request. So it works fine.
However when it's running on IIS 6.0, IIS checks for:
c:\inetpub\wwwroot\test\test\test.htm. Since the folder doesn't exist, It
immediately reports an 404 error (File/folder doesn't exist) without sending
the control to aspnet_isapi.dll and MyHttpHandler.
Does anyone know how to disable IIS from checking the existence of static
folders or any ways to work around this problem?
Thanks very much!
John
We have a web application that runs well on Windows 2000 with IIS 5.1 and
..Net framework 1.1. We just moved it to .Net Server 2003. Suddenly we are
having big problems!!
The application is completely dependent on HttpHandler / HttpModule to
process all web requests. It doesn't serve any static contents. The wwwroot
directory only contains web.config and bin folder. In IIS 5.1, we
configured to use "aspnet_isapi.dll" to process all file extentions,
including .* files.
We added a line in the web.config file.
<add verb="*" path="*"
type="XXX.XXX.MyHttpHandler, XXX.XXX" />
When we type in URL: http://localhost/test/test/test.htm, IIS 5.1 uses
aspnet_isapi.dll to process the request. So it works fine.
However when it's running on IIS 6.0, IIS checks for:
c:\inetpub\wwwroot\test\test\test.htm. Since the folder doesn't exist, It
immediately reports an 404 error (File/folder doesn't exist) without sending
the control to aspnet_isapi.dll and MyHttpHandler.
Does anyone know how to disable IIS from checking the existence of static
folders or any ways to work around this problem?
Thanks very much!
John