ASP.NET web.config 配置节点详解(2)

<httpHandlers> <add path="*.rules" verb="*" type="System.Web.HttpForbiddenHandler" validate="true"/> <add path="*.xoml" verb="*" type="System.ServiceModel.Activation.HttpHandler, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" validate="false"/> <add path="trace.axd" verb="*" type="System.Web.Handlers.TraceHandler" validate="true"/> <add path="WebResource.axd" verb="GET" type="System.Web.Handlers.AssemblyResourceLoader" validate="true"/> <add path="*.axd" verb="*" type="System.Web.HttpNotFoundHandler" validate="true"/> <add path="*.aspx" verb="*" type="System.Web.UI.PageHandlerFactory" validate="true"/> <add path="*.ashx" verb="*" type="System.Web.UI.SimpleHandlerFactory" validate="true"/> <add path="*.asmx" verb="*" type="System.Web.Services.Protocols.WebServiceHandlerFactory, System.Web.Services, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" validate="false"/> <add path="*.rem" verb="*" type="System.Runtime.Remoting.Channels.Http.HttpRemotingHandlerFactory, System.Runtime.Remoting, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" validate="false"/> <add path="*.soap" verb="*" type="System.Runtime.Remoting.Channels.Http.HttpRemotingHandlerFactory, System.Runtime.Remoting, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" validate="false"/> <add path="*.asax" verb="*" type="System.Web.HttpForbiddenHandler" validate="true"/> <add path="*.ascx" verb="*" type="System.Web.HttpForbiddenHandler" validate="true"/> <add path="*.master" verb="*" type="System.Web.HttpForbiddenHandler" validate="true"/> <add path="*.skin" verb="*" type="System.Web.HttpForbiddenHandler" validate="true"/> <add path="*.browser" verb="*" type="System.Web.HttpForbiddenHandler" validate="true"/> <add path="*.sitemap" verb="*" type="System.Web.HttpForbiddenHandler" validate="true"/> <add path="*.dll.config" verb="GET,HEAD" type="System.Web.StaticFileHandler" validate="true"/> <add path="*.exe.config" verb="GET,HEAD" type="System.Web.StaticFileHandler" validate="true"/> <add path="*.config" verb="*" type="System.Web.HttpForbiddenHandler" validate="true"/> <add path="*.cs" verb="*" type="System.Web.HttpForbiddenHandler" validate="true"/> <add path="*.csproj" verb="*" type="System.Web.HttpForbiddenHandler" validate="true"/> <add path="*.vb" verb="*" type="System.Web.HttpForbiddenHandler" validate="true"/> <add path="*.vbproj" verb="*" type="System.Web.HttpForbiddenHandler" validate="true"/> <add path="*.webinfo" verb="*" type="System.Web.HttpForbiddenHandler" validate="true"/> <add path="*.licx" verb="*" type="System.Web.HttpForbiddenHandler" validate="true"/> <add path="*.resx" verb="*" type="System.Web.HttpForbiddenHandler" validate="true"/> <add path="*.resources" verb="*" type="System.Web.HttpForbiddenHandler" validate="true"/> <add path="*.mdb" verb="*" type="System.Web.HttpForbiddenHandler" validate="true"/> <add path="*.vjsproj" verb="*" type="System.Web.HttpForbiddenHandler" validate="true"/> <add path="*.java" verb="*" type="System.Web.HttpForbiddenHandler" validate="true"/> <add path="*.jsl" verb="*" type="System.Web.HttpForbiddenHandler" validate="true"/> <add path="*.ldb" verb="*" type="System.Web.HttpForbiddenHandler" validate="true"/> <add path="*.ad" verb="*" type="System.Web.HttpForbiddenHandler" validate="true"/> <add path="*.dd" verb="*" type="System.Web.HttpForbiddenHandler" validate="true"/> <add path="*.ldd" verb="*" type="System.Web.HttpForbiddenHandler" validate="true"/> <add path="*.sd" verb="*" type="System.Web.HttpForbiddenHandler" validate="true"/> <add path="*.cd" verb="*" type="System.Web.HttpForbiddenHandler" validate="true"/> <add path="*.adprototype" verb="*" type="System.Web.HttpForbiddenHandler" validate="true"/> <add path="*.lddprototype" verb="*" type="System.Web.HttpForbiddenHandler" validate="true"/> <add path="*.sdm" verb="*" type="System.Web.HttpForbiddenHandler" validate="true"/> <add path="*.sdmDocument" verb="*" type="System.Web.HttpForbiddenHandler" validate="true"/> <add path="*.mdf" verb="*" type="System.Web.HttpForbiddenHandler" validate="true"/> <add path="*.ldf" verb="*" type="System.Web.HttpForbiddenHandler" validate="true"/> <add path="*.exclude" verb="*" type="System.Web.HttpForbiddenHandler" validate="true"/> <add path="*.refresh" verb="*" type="System.Web.HttpForbiddenHandler" validate="true"/> <add path="*.svc" verb="*" type="System.ServiceModel.Activation.HttpHandler, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" validate="false"/> <add path="*" verb="GET,HEAD,POST" type="System.Web.DefaultHttpHandler" validate="true"/> <add path="*" verb="*" type="System.Web.HttpMethodNotAllowedHandler" validate="true"/> </httpHandlers>

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/wjysdd.html