redirect custom errors

May 28, 2010 at 10:09 PM


is it possible to redirect standard IIS http codes such as 404 or 403 to a page?

I've looked but not found anything and not sure how i would write it.


May 29, 2010 at 11:38 AM

In IIS Manager you can specify pages to display for the various errors.

This has nothing to do with IIRF.


If this isn't what you mean, you'll need to be more specific about what you want.

May 29, 2010 at 10:11 PM

i must apologise if i was not clear.

you can specify custom error pages as you have indicated above, however I am asking if it is possible to bypass IIS and redirect errors directly using IIRF.

Essentially If no pages are specified and there is an error IIS still generates the error code and thats what i want to redirect.

hope its clearer..


May 30, 2010 at 11:53 AM

Well I sure don't know what you mean by "bypass IIS and redirect errors directly using IIRF".

IIRF is a URL Rewriter.  It rewrites or redirects URL requests.  It does this by intercepting incoming requests.

If IIS detects an error and sends an error response to the requester, that happens *after* the request has been received by IIS and processed.  Well after IIRF has had the chance to rewrite or redirect.

So, no, I don't think IIRF can do what you are imagining.