Search:

Apache » Lenya
project logo
  • Project
  • Developer
  • Community
  • Version 2.0
  • Version 1.2
  • Version 2.0
    • FAQs
    • Installation
      • Download
      • Subversion Access
      • Install Instructions
    • Tutorials
      • Create a Publication
      • Create a Resource Type
        • Declaration
        • Creation
        • Presentation
        • Editing (One-Form)
        • Editing (BXE)
      • Implement a Usecase
        • Prerequisites
        • The Usecase
      • Setting up Eclipse
      • Proxying
        • Proxying
        • mod_proxy
        • mod_proxy_ajp
      • Best Practises
      • Production Checklist
      • Writing Tests
    • Concepts
      • Publication
      • Working with Documents
      • Authoring and Live mode
      • WYSIWYG
    • Technical Reference
      • Overview of Lenya Sitemaps
      • Repository
      • Access Control Specification
      • Usecase Framework
        • Overview
        • AbstractUsecase
      • Publications
        • Configuration
        • Publication Templating
      • Resource Types
      • Modules
      • Meta data
      • Protocols
        • lenya Protocol
        • lenya-document Protocol
        • site Protocol
        • lenyadoc Protocol
        • fallback Protocol
      • URLs and Links
        • URL Mapping
        • Link Management
      • Clustering
    • Core API
    • Core Modules
      • ac
        • Overview
        • API
      • acusecases
        • Overview
        • API
      • administration
        • Overview
        • API
      • cache
        • Overview
        • API
      • janitor
        • Overview
        • API
      • ldap
        • Overview
        • API
      • linking
        • Overview
        • API
      • observation
        • Overview
        • API
      • properties
        • Overview
        • API
      • sitemanagement
        • Overview
        • API
      • templating
        • Overview
        • API
      • usecase
        • Overview
        • API
      • workflow
        • Overview
        • API
    • Standard Modules
      • blog
        • Overview
        • API
      • bxe
        • Overview
      • cforms
        • Overview
        • API
      • collection
        • Overview
        • API
      • contactform
        • Overview
        • API
      • development
        • Overview
        • API
      • editors
        • Overview
        • API
      • export
        • Overview
        • API
      • fckeditor
        • Overview
        • API
      • kupu
        • Overview
        • API
      • languageselector
        • Overview
      • lenyadoc
        • Overview
        • API
      • linkcheck
        • Overview
        • API
      • links
        • Overview
        • API
      • lucene
        • Overview
        • API
      • migration
        • Overview
        • API
      • navigation
      • neutron
        • Overview
      • news
        • Overview
        • API
      • notification
        • Overview
        • API
      • opendocument
        • Overview
        • API
      • prettyprinting
        • Overview
      • profiling
        • Overview
      • resource
        • Overview
        • API
      • simplesite
        • Overview
        • API
      • sitetree
        • Overview
        • API
      • sourcerepository
        • Overview
        • API
      • svg
        • Rounded Corners
        • Resizing Images
        • API
      • tinymce
        • Overview
        • API
      • usecasedocument
        • Overview
        • API
      • webdav
        • Getting started
        • Monitoring
        • WebDAV Servers
        • API
      • xhtml
        • Overview
        • API
      • xopus
        • Overview

Current Event

Built with Apache Lenya

WebDAV Servers

Table of Contents
  • Apache 1
  • Apache 2
  • Tomcat

Apache 1

Download the Apache Web Server and WebDAV module source code from the Apache website, e.g. apache_1.3.24.tar.gz and mod_dav-1.0.3-1.3.6.tar.gz. Configure and compile mod_dav:

 
wget http://www.webdav.org/mod_dav/mod_dav-1.0.3-1.3.6.tar.gz
cd /usr/local/src/mod_dav-1.0.3-1.3.6
./configure --with-apache=/usr/local/src/apache_1.3.24
make
make install
cd /usr/local/src/apache_1.3.24
find . -name "*dav*" -print
./configure --prefix=/usr/local/apache --activate-module=src/modules/dav/libdav.a
(./configure --prefix=/usr/local/apache --enable-module=proxy --activate-module=src/modules/dav/libdav.a)
make
su
make install
/usr/local/apache/bin/httpd -l
 

You need to reconfigure httpd.conf, e.g.:

 
DAVLockDB /usr/local/apache/logs/DavLock
<Directory "/usr/local/build/apache/htdocs">
Dav On
 

To see the files open "Konqueror" and type webdav://127.0.0.1:8080.

More info on mod_dav can be found at

  • http://www.webdav.org/mod_dav/
  • Apache and DAV with LDAP and SSL

Apache 2

Download the Apache Web Server source code from the Apache website, e.g. httpd-2.0.46.tar.gz. The mod_dav module is inlcuded with the Apache 2 distribution. Configure and compile Apache:

 
./configure --prefix=/usr/local/apache2 --with-dav --enable-dav
(./configure --prefix=/usr/local/apache2 --with-dav --enable-dav --enable-proxy --enable-proxy-http)
make 
make install
/usr/local/apache2/bin/httpd -l | grep dav
 

You need to reconfigure Apache:

 
DAVLockDB /usr/local/apache2/logs/DavLock
<Directory "/usr/local/apache2/htdocs">
Dav On
</Directory>
 

More info on mod_dav can be found at

  • http://apacheworld.org/ty24/site.chapter13.html
  • http://httpd.apache.org/docs-2.0/mod/mod_dav.html
  • Apache and DAV

Tomcat

Point your WebDAV client to http://127.0.0.1:8080/webdav/. The webdav 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 /webapps/webdav/WEB-INF/web.xml.

 
<!-- Uncomment this to enable read and write access -->
<init-param>
  <param-name>readonly</param-name>
  <param-value>false</param-value>
</init-param>
 

Copyright © 1999-2011 The Apache Software Foundation. All rights reserved.

Apache Lenya, Apache, and the Apache feather logo are trademarks of The Apache Software Foundation.