HttpHandler not catching every extension RRS feed

  • Question

  • User1951382690 posted

    I have a HttpHandler that I wrote that doesn't seem to be catching every extension, in fact it only seems to redirect .aspx requests..

    I would like to redirect anything want to access a ceratin directory not caring what the page is.

    Here is I have it configured in my web.config:



    <add verb="*" path="*" type="Namespace.RedirectHandler, DllName.Handler" />



    I actually have this working on a server but for some reason it isn't working locally.  Does anyone have any ideas?


    Tuesday, January 24, 2006 3:16 PM

All replies

  • User-528039901 posted
    Simple. IIS does not forward the requests to ASP.NET - that is the default configuration. You need to reconfigure IIS to forward all requests to ASP.NET, in addition to the stuff you already did.
    Tuesday, January 24, 2006 3:26 PM
  • User1951382690 posted
    Ahh yes, that is right.  Thanks!
    Tuesday, January 24, 2006 3:55 PM