locked
How tedirect to a ISAPI extention in IIS6 RRS feed

  • Question

  • User-2049003838 posted

    Hi,

    I'm using IIS6 - Windows Server 2003. I'm trying to create a ISAPI extention that intercepts all the requests to a particular directory. My URL is something like  /Specific directory/anything/anything...

    The only thing that I'm concerning is the first directory (*Specific folder). If any request beging with this folder comes in to IIS it shoud give it to my dll. How can I do this with IIS6?

     Thanks.. 

    Thursday, March 29, 2007 2:43 AM

All replies

  • User-1853252149 posted

    I'm not sure you can do this.  You may have to accept all requests and filter them in your DLL, simply exiting for ones that don't meet your path criteria.

    I'm by no means an ISAPI guru though, so there may be a way I've never seen.

    Jeff

    Friday, March 30, 2007 9:47 AM
  • User511787461 posted
    You can just *-ScriptMap your ISAPI extension at that directory and all requests to that directory and below will be sent to your ISAPI extension.
    Friday, March 30, 2007 1:09 PM