2011-04-11 2 views
0

私はWebdav経由でいくつかのSamba共有を利用しようとしていますが、davenport(http://davenport.sourceforge.net/)への参照がたくさんありますが、これを設定する方法に関する多くの情報はありませんTomcat(Tomcatはとてもよくわかりません)誰かがHowtoを知っているのですか、Tomcatを使ってDavenportを設定する方法についての基本的な指示はありますか?Davenport on tomcat

+0

誤ったスタックです。申し訳ありません。しかし、もしあなたが何かを投稿してください! –

答えて

1

私は同じことを自分でやっていました。まず、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は、あなたがそれにアクセスする必要があることを意味しますhttp://ipaddress:8080/davenport

あなたは、このアプリケーションにアクセスできるはずです。

希望に役立ちます!