2011-04-11 2 views
0

Webdav를 통해 일부 Samba 공유를 사용할 수있게하려고하고 있는데 davenport (http://davenport.sourceforge.net/)에 대한 참조가 많지만이를 설정하는 방법에 대한 정보는 많지 않습니다. 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

으로 다시 시작해야합니다. 그러면 tomcat6을 다시 시작해야 앱에 액세스 할 수 있습니다.

희망 하시겠습니까?