new tomcat
This commit is contained in:
parent
879ecc62c4
commit
c568828cb8
256 changed files with 19009 additions and 235 deletions
90
tomcat/webapps/webdav/WEB-INF/web.xml
Normal file
90
tomcat/webapps/webdav/WEB-INF/web.xml
Normal file
|
@ -0,0 +1,90 @@
|
|||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<!--
|
||||
Copyright 2004 The Apache Software Foundation
|
||||
|
||||
Licensed 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>
|
76
tomcat/webapps/webdav/index.html
Normal file
76
tomcat/webapps/webdav/index.html
Normal file
|
@ -0,0 +1,76 @@
|
|||
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||
<meta name="GENERATOR" content="Mozilla/4.72 [en] (WinNT; U) [Netscape]">
|
||||
<meta name="Author" content="Anil K. Vijendran">
|
||||
<title>Tomcat WebDAV support</title>
|
||||
</head>
|
||||
<body bgcolor="#FFFFFF">
|
||||
<img SRC="tomcat.gif" height=92 width=130 align=LEFT><b><font face="Arial, Helvetica, sans-serif"><font size=+3>Tomcat</font></font></b>
|
||||
<br>
|
||||
<b><font face="Arial, Helvetica, sans-serif"><font size=-1>WebDAV support</font></font></b>
|
||||
<p>This is the home page for the webdav context. This page is located at:
|
||||
<ul>
|
||||
<li>
|
||||
<font face="Courier New, Courier,mono">$TOMCAT_HOME/webapps/webdav/index.html</font></li>
|
||||
</ul>
|
||||
|
||||
<p>Tomcat includes built-in support for WebDAV level 2, which enables
|
||||
remote authoring of the website. You can test these capabilities using a WebDAV
|
||||
client like MS WebFolders (included with IE 4.0 and up), MS Office 2000, DAV
|
||||
Explorer (others are listed on the webpages linked below), and point to the
|
||||
<b>/webdav</b> path of the server.
|
||||
|
||||
<p>This test context is DAV enabled, but has been set up in read-only mode for
|
||||
safety reasons. It can be put in read-write mode by editing the web
|
||||
application descriptor file (WEB-INF/web.xml).
|
||||
|
||||
<p>To add remote authoring to your web application, you need to make the following
|
||||
changes:
|
||||
<ul>
|
||||
<li>Add the webDAV servlet to your web application. See the web application
|
||||
deployment descriptor for an example. Don't forget to make it read/write.
|
||||
<li>Add a servlet mapping for the webDAV servlet with a url pattern of "/webdav/*"
|
||||
to your web.xml.
|
||||
<li>Add an appropriate security constraint to prevent unauthorised changes to your
|
||||
web application.
|
||||
<li>You can then edit your web application using a webDAV client using a url
|
||||
like <font face="Courier New, Courier,mono">http://host:port/webapp/webdav</font></li>
|
||||
</ul>
|
||||
|
||||
<p>Working WebDAV clients include :
|
||||
<ul>
|
||||
<li>Adobe GoLive 5.0 (and other WebDAV-enabled Adobe products, like
|
||||
Photoshop)</li>
|
||||
<li>Cadaver 0.15</li>
|
||||
<li>DAV Explorer 0.60 and 0.70</li>
|
||||
<li>Internet Explorer 5 (Windows 2000)</li>
|
||||
<li>Internet Explorer 5.5 (Windows 2000)</li>
|
||||
<li>Jakarta Slide 1.0 WebDAV client library</li>
|
||||
<li>Office 2000 (Windows 2000)</li>
|
||||
<li>SkunkDAV 1.0</li>
|
||||
<li>Xythos WebFile Client</li>
|
||||
</ul>
|
||||
|
||||
<p>WebDAV links:</p>
|
||||
<ul>
|
||||
<li><b><a href="http://www.webdav.org">General info on WebDAV</a></b></li>
|
||||
<li><b><a href="http://www.ics.uci.edu/pub/ietf/webdav/">WebDAV working
|
||||
group</a></b></li>
|
||||
<li><b><a href="http://www.webdav.org/projects/">WebDAV clients</a></b></li>
|
||||
<li><b>
|
||||
<a href="http://jakarta.apache.org/slide/">The Jakarta Slide Project</a>
|
||||
</b></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<hr>
|
||||
<p align="right"><font size=-1><img src="tomcat-power.gif" width="77" height="80"></font><br>
|
||||
|
||||
<font size=-1>Copyright © 1999-2001 Apache Software Foundation</font><br>
|
||||
<font size=-1>All Rights Reserved</font> <br>
|
||||
</p>
|
||||
<p align="right"> </p>
|
||||
</body>
|
||||
</html>
|
BIN
tomcat/webapps/webdav/tomcat-power.gif
Normal file
BIN
tomcat/webapps/webdav/tomcat-power.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.3 KiB |
BIN
tomcat/webapps/webdav/tomcat.gif
Normal file
BIN
tomcat/webapps/webdav/tomcat.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.9 KiB |
Loading…
Add table
Add a link
Reference in a new issue