apache > lenya
 

WebDAV Servers

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

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

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>
 

Apache Jakarta Slide

Point your WebDAV client to http://127.0.0.1:8080/slide/. One needs to configure Domain.xml

 
<contentstore classname="slidestore.reference.FileContentStore">
  <parameter name="rootpath">/usr/local/jakarta-tomcat-4.1.21-LE-jdk14/webapps/lenya/lenya/pubs/notimes/content/authoring/articles</parameter>
  ...