| <?xml version="1.0" encoding="ISO-8859-1"?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You under the Apache License, Version 2.0 |
| (the "License"); you may not use this file except in compliance with |
| the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| |
| <web-app xmlns="http://java.sun.com/xml/ns/j2ee" |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" |
| version="2.4"> |
| |
| <display-name>Webdav Content Management</display-name> |
| <description> |
| Webdav Content Management |
| </description> |
| |
| <servlet> |
| <servlet-name>webdav</servlet-name> |
| <servlet-class>org.apache.catalina.servlets.WebdavServlet</servlet-class> |
| <init-param> |
| <param-name>debug</param-name> |
| <param-value>0</param-value> |
| </init-param> |
| <init-param> |
| <param-name>listings</param-name> |
| <param-value>true</param-value> |
| </init-param> |
| <!-- Uncomment this to enable read and write access --> |
| <!-- |
| <init-param> |
| <param-name>readonly</param-name> |
| <param-value>false</param-value> |
| </init-param> |
| --> |
| <!--load-on-startup>1</load-on-startup--> |
| </servlet> |
| |
| <!-- The mapping for the webdav servlet --> |
| <!-- Using /* as the mapping ensures that jasper, welcome files etc are |
| over-ridden and all requests are processed by the webdav servlet. |
| This also overcomes a number of issues with some webdav clients |
| (including MS Webfolders) that do not respond correctly |
| to the |
| redirects (302) that result from using a mapping of / --> |
| <servlet-mapping> |
| <servlet-name>webdav</servlet-name> |
| <url-pattern>/*</url-pattern> |
| </servlet-mapping> |
| |
| <!-- ================ Security Constraints for Testing =============== --> |
| |
| <!-- |
| <security-constraint> |
| <web-resource-collection> |
| <web-resource-name>The Entire Web Application</web-resource-name> |
| <url-pattern>/*</url-pattern> |
| </web-resource-collection> |
| <auth-constraint> |
| <role-name>tomcat</role-name> |
| </auth-constraint> |
| </security-constraint> |
| |
| <login-config> |
| <auth-method>BASIC</auth-method> |
| <realm-name>Tomcat Supported Realm</realm-name> |
| </login-config> |
| |
| <security-role> |
| <description> |
| An example role defined in "conf/tomcat-users.xml" |
| </description> |
| <role-name>tomcat</role-name> |
| </security-role> |
| --> |
| |
| <welcome-file-list> |
| <welcome-file/> |
| </welcome-file-list> |
| |
| </web-app> |