tomcat上的达文波特

tomcat上的达文波特,tomcat,webdav,ubuntu-10.04,Tomcat,Webdav,Ubuntu 10.04,我正试图通过Webdav提供一些samba共享,并且有很多关于davenport的参考资料(http://davenport.sourceforge.net/),但是关于如何使用Tomcat设置它的信息并不多(我对Tomcat不是很了解)有人知道如何使用Tomcat配置Davenport的方法或至少一些基本说明吗?我自己也必须这样做。首先,确保安装了tomcat6,然后将webapp/root文件夹的内容移动到davenport的文件夹中。我把它移到了/usr/share/davenport。最

我正试图通过Webdav提供一些samba共享,并且有很多关于davenport的参考资料(http://davenport.sourceforge.net/),但是关于如何使用Tomcat设置它的信息并不多(我对Tomcat不是很了解)有人知道如何使用Tomcat配置Davenport的方法或至少一些基本说明吗?

我自己也必须这样做。首先,确保安装了tomcat6,然后将webapp/root文件夹的内容移动到davenport的文件夹中。我把它移到了/usr/share/davenport。最后,在/etc/tomcat6/Catalina/localhost中创建一个指向您的文件夹的xml文件。我的是这样的:

<?xml version="1.0" encoding="UTF-8"?>
<!--
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.
-->
<Context path="/host-manager" 
    docBase="/usr/share/davenport/" 
    antiResourceLocking="false" privileged="true" />

无论您如何命名.xml都将是应用程序的路径。因此,davenport.xml意味着您必须使用

重新启动tomcat6,您应该能够访问该应用程序


希望有帮助

对不起,叠错了。但是如果你有什么,请发邮件!