Last post Oct 28, 2010 09:51 AM by ignatandrei
Oct 28, 2010 08:46 AM|intelligenz|LINK
I need to figure out how to inherit the default aspx httpHanlder or figure out how to handle the default document.
I have written an httpHandler that will append a querystring to the end of a request if it doesn't exist. This works great.
The problem is that the default page specified in IIS do not work. If i enter url like:
then it processes correctly. If on the otherhand I enter:
I get a blank page because the http handler isn't redirecting based on the list in IIS. I've tried multiple things. I've tried to inherit the DefaultHttpHandler but I think that is wrong because I can't use that with integrated mode. Maybe I need to handle
this in an httpModule but it seems the closes to the request, to change and redirect a url should be in a handler.
Any help would be greatly appreciated.
Oct 28, 2010 09:49 AM|intelligenz|LINK
I ended up creating an HttpModule and handling what I needed to with a PreRequestHandlerExecute.
Oct 28, 2010 09:51 AM|ignatandrei|LINK
In IIS, right click site, properties, default document.