Re: httpHandlers for child directories

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: William F. Robertson, Jr. (wfrobertson_at_kpmg_dot_com)
Date: 10/07/04


Date: Thu, 7 Oct 2004 13:03:49 -0500

Why don't you just list them out?

<add verb="*" path="/files/certain1/bob.axd", type="..." />
<add verb="*" path="/files/certain2/bob.axd", type="..." />
<add verb="*" path="/files/certain2/deeper/bob.axd", type="..." />

bill

"Grant Harmeyer" <net@internetapollo.com> wrote in message
news:eOsA4PJrEHA.2764@TK2MSFTNGP11.phx.gbl...
> How would I set up an httpHandler so that it would only apply to certain
> child directories of the application?
>
> I.E:
> <httpHandlers>
> <add verb="*" path="/files/*/*/*/*.aspx"
> type="App.HttpHandlers.ThreeDeepPage, App" />
> <add verb="*" path="/files/*/*/*.aspx"
> type="App.HttpHandlers.TwoDeepPage, App" />
> </httpHandlers>
>
> The wildcard character for a directory causes an error, and before I even
> tried it I thought it would. I am guessing I would probably have to do
this
> using a custom configSection, but I'm not sure how to do it.
>
>
> TIA,
>
> Grant
>
>



Relevant Pages

  • httpHandlers for child directories
    ... How would I set up an httpHandler so that it would only apply to certain ... child directories of the application? ... type="App.HttpHandlers.ThreeDeepPage, App" /> ... Grant ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: httpHandlers for child directories
    ... its full configuration should be done when each ... Each subdirectory can override its parent settings, ... > are you sure that HttpHandler is even able to handle child directories? ...
    (microsoft.public.dotnet.framework.aspnet)