I\'ve got the following IHttpModule
and I\'m trying to figure out how to execute an action from a controller for a given absolute or relative URL.
I think you need to use HttpContext.Current.RewritePath
This lets you change the path for the file you want to use. It's what the default.aspx
created in MVC 2 projects does.
I've used it in much the same way you are, to do error handling without a 302 but can't get to my code right now. I'll post some code on Monday.