Re: httpHandlers for child directories
From: William F. Robertson, Jr. (wfrobertson_at_kpmg_dot_com)
Date: 10/07/04
- Next message: Big Dave: "Create Datagrid Controls as runtime"
- Previous message: Patrice: "Re: Problem with postback after Response.Write"
- In reply to: Grant Harmeyer: "httpHandlers for child directories"
- Next in thread: Grant Harmeyer: "Re: httpHandlers for child directories"
- Reply: Grant Harmeyer: "Re: httpHandlers for child directories"
- Messages sorted by: [ date ] [ thread ]
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
>
>
- Next message: Big Dave: "Create Datagrid Controls as runtime"
- Previous message: Patrice: "Re: Problem with postback after Response.Write"
- In reply to: Grant Harmeyer: "httpHandlers for child directories"
- Next in thread: Grant Harmeyer: "Re: httpHandlers for child directories"
- Reply: Grant Harmeyer: "Re: httpHandlers for child directories"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|