Hi I'm trying to use a HttpModule to do custom redirects
I have the url www.episite.com/someNONExistantUrl
which i want redirect to www.episite.com/anExistingPage
I've added a customhttpmodule to the top of the httpmodule section of my webconfig.
My problem is that the first request that executes the module has the request url of:
www.episite.com/Util/NotFound.aspx
not
www.episite.com/someNONExistantUrl as i would have expected
This says to me that some other code is being executed before customhttpmodule is executed
Does anyone know what this code is?
Cheers
Tim
it seam the the 404 address is always specified with a friendUrl.
I guess the FriendlyUrlmodule must pull the correct address out after the page has not been initially found, not before as i guessed