Differences between revisions 6 and 7
Revision 6 as of 2010-03-28 15:55:18
Size: 1127
Comment: Added category link
Revision 7 as of 2010-03-28 16:01:07
Size: 1177
Comment: Corrected the links.
Deletions are marked like this. Additions are marked like this.
Line 36: Line 36:
 * [[Tomcat/WebDav_MsWebfolders]] MS webfolder issues and solutions  * [[../WebDav%MsWebfolders|Tomcat/WebDav%MsWebfolders]] MS webfolder issues and solutions
Line 38: Line 38:
 * [[Tomcat/WebDav_MsWebfoldersInfo]] MS webfolder Information  * [[../WebDav%MsWebfoldersInfo|Tomcat/WebDav%MsWebfoldersInfo]] MS webfolder Information

Setup

Tomcat comes prebundled with a WebDAV Level 2 servlet. To enable, add the following to web.xml:

<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>

  <!-- The following for read-write access -->

  <init-param>
    <param-name>readonly</param-name>
    <param-value>false</param-value>
  </init-param>
</servlet>

<servlet-mapping>
  <servlet-name>webdav</servlet-name>
  <url-pattern>/*</url-pattern>
</servlet-mapping>

Of course, you can set the url-pattern to make the content editable from a different URL. Also, be sure to secure access appropriately to the editing URLs.

Webdav information and solutions


CategoryFAQ

Tomcat/WebDav (last edited 2010-03-28 16:01:07 by KonstantinKolinko)