Configuring web.config file to support WebDAV in Classic application pool mode

If you wish to run your website using an application pool set for Classic managed pipeline mode, please ensure that your web.config file contains the two Isapi extension handlers from the following code:

On .NET 4.0



...
<!-- WebDAV location BEGIN -->
<location path="cms/files">
 <system.web>
    <httpHandlers>
      <clear />
      <add verb="*" path="*" type="CMS.WebDAV.WebDAVHandler, CMS.WebDAV" />
    </httpHandlers>
    <httpRuntime executionTimeout="2400" maxRequestLength="2097151" />
  </system.web>
  <system.webServer>
    <handlers>
      <clear />
      <add name="aspnet_isapi 32-bit" path="*" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" resourceType="Unspecified" requireAccess="Script" preCondition="classicMode,runtimeVersionv4.0,bitness32" />
      <add name="aspnet_isapi 64-bit" path="*" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" resourceType="Unspecified" requireAccess="Script" preCondition="classicMode,runtimeVersionv4.0,bitness64" />
      <add name="CMSWebDAVHandler" path="*" verb="*" type="CMS.WebDAV.WebDAVHandler, CMS.WebDAV" />
    </handlers>
    <security>
      <requestFiltering>
        <requestLimits maxAllowedContentLength="2147483648" />
      </requestFiltering>
    </security>
  </system.webServer>
</location>
<!-- WebDAV location END -->
...


If necessary, adjust the path in the scriptProcessor attributes of the handlers according to your current .NET framework version.