web.config in TemplateGalleryPath

  •  09-15-2010, 3:02 AM

    web.config in TemplateGalleryPath

    Saving a .htm template adds a web.config to the TemplateGalleryPath folder with HttpForbiddenHandler:
     
    <configuration>
      <system.web>
        <httpHandlers>
          <add verb="*" path="*.*" type="System.Web.HttpForbiddenHandler" />
        </httpHandlers>
      </system.web>
    </configuration> 
     
    Consequently, IIS forbids any direct urls to TemplateGalleryPath or its subfolders.
     
    Is there any setting to prevent adding this web.config ?  
     
    Regards, 
     -mika-
    Filed under:
View Complete Thread