« Previous Next »

Thread: setting AllowPathInfoForScriptMappings in IIS 7, Windows 2008

Last post 03-11-2008 12:43 PM by anilr. 2 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (3 items)

Sort Posts:

  • 03-11-2008, 10:17 AM

    setting AllowPathInfoForScriptMappings in IIS 7, Windows 2008

    Hi,

    I am attempting to enable the setting AllowPathInfoForScriptMappings .  Do I add an entry for it to applicationHost.config ?  And if so, in which section and using what syntax ?

    Thanks,

    Travis

     

  • 03-11-2008, 11:12 AM In reply to

    • rlucero
    • Top 50 Contributor
    • Joined on 09-29-2006, 3:35 PM
    • Seattle, WA
    • Posts 164

    Re: setting AllowPathInfoForScriptMappings in IIS 7, Windows 2008

    I'm not sure what you're trying to do here. AllowPathInfoForScriptMappings doesn't exist as a setting within ASPNET_Schema or IIS_Schema.  Is this a custom extended config or are you looking for a specific type of setting within Script Handler Mappings?

     

  • 03-11-2008, 12:43 PM In reply to

    • anilr
    • Top 10 Contributor
    • Joined on 05-23-2006, 10:13 PM
    • Redmond, WA
    • Posts 2,343

    Re: setting AllowPathInfoForScriptMappings in IIS 7, Windows 2008

    This is an attribute "allowPathInfo" in the system.webServer/handlers collection - you need to set it for whichever handler you want to apply it to.  Eg:

    %windir%\system32\inetsrv\appcmd.exe set config -section:system.webServer/handlers -[name='StaticFile'].allowPathInfo:true

    Note, that is just an example, you probably never want to set it to true for that handler.

    Anil Ruia
    Senior Software Design Engineer
    IIS Core Server
Page 1 of 1 (3 items)
Microsoft Communities