S
SlimFlem
I have searched hard for 2 days on this and keep hitting a wall. I
have a custom IHttpHandler setup to do Url mappings to prop up some old
Urls for our site. I have also created a wildcard mapping in IIS6
using the ASP.NET 2.0 ISAPI DLL.
Here is what I am attempting and I cannot for the life of me figure
this out.
I have several situations:
1) Remap Urls configured in a .Xml file using my IHttpHandler and build
them using custom infrastructure.
2) Allow Urls that do not require a remapping to "pass thru" and
resolve as normal.
3) Still server normal static content. (asp.net 2.0 isapi will allow
this)
I know that the asp.net 2.0 ISAPI DLL behaves properly when using it as
a wildcard mapping in that it will not prevent static content from
being served, etc. This I have verified.
In my web.config, if I setup a handler for verb="*" and type="*" for my
IHttpHandler in addition to using the wildcard mapping, this pushes all
requests thru to me. However, what I am missing is how to
programatically or otherwise, temporarily disable my custom
IHttpHandler so I can allow a Url to pass thru that does not require
remapping. Does this make sense?
The reason I am using a wildcard mappings is because I want to remap
Urls that have paths that do not physically exist within the website.
I am having a hard time getting both sides of this to work together.
Any tips would be greatly appreciated.
have a custom IHttpHandler setup to do Url mappings to prop up some old
Urls for our site. I have also created a wildcard mapping in IIS6
using the ASP.NET 2.0 ISAPI DLL.
Here is what I am attempting and I cannot for the life of me figure
this out.
I have several situations:
1) Remap Urls configured in a .Xml file using my IHttpHandler and build
them using custom infrastructure.
2) Allow Urls that do not require a remapping to "pass thru" and
resolve as normal.
3) Still server normal static content. (asp.net 2.0 isapi will allow
this)
I know that the asp.net 2.0 ISAPI DLL behaves properly when using it as
a wildcard mapping in that it will not prevent static content from
being served, etc. This I have verified.
In my web.config, if I setup a handler for verb="*" and type="*" for my
IHttpHandler in addition to using the wildcard mapping, this pushes all
requests thru to me. However, what I am missing is how to
programatically or otherwise, temporarily disable my custom
IHttpHandler so I can allow a Url to pass thru that does not require
remapping. Does this make sense?
The reason I am using a wildcard mappings is because I want to remap
Urls that have paths that do not physically exist within the website.
I am having a hard time getting both sides of this to work together.
Any tips would be greatly appreciated.