aboutsummaryrefslogtreecommitdiffstats
path: root/www/mod_dav/files
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1999-11-27 03:32:19 +0800
committersteve <steve@FreeBSD.org>1999-11-27 03:32:19 +0800
commitbe21fe6ac5694c7d0fcd8b37d2b04d6a02b122c0 (patch)
treeee640245a681497661a7350c3bfb44fa9cfb7f74 /www/mod_dav/files
parentaba537499ca2898e2bb1b8b255c318d49b05544b (diff)
downloadfreebsd-ports-graphics-be21fe6ac5694c7d0fcd8b37d2b04d6a02b122c0.tar.gz
freebsd-ports-graphics-be21fe6ac5694c7d0fcd8b37d2b04d6a02b122c0.tar.zst
freebsd-ports-graphics-be21fe6ac5694c7d0fcd8b37d2b04d6a02b122c0.zip
Initial import of mod_dav version 0.9.12.
An Apache module that provides DAV capabilities. PR: 14398 Submitted by: Patrick Bihan-Faou <patrick@mindstep.com>
Diffstat (limited to 'www/mod_dav/files')
-rw-r--r--www/mod_dav/files/apache.conf.mod_dav52
1 files changed, 52 insertions, 0 deletions
diff --git a/www/mod_dav/files/apache.conf.mod_dav b/www/mod_dav/files/apache.conf.mod_dav
new file mode 100644
index 00000000000..38277118140
--- /dev/null
+++ b/www/mod_dav/files/apache.conf.mod_dav
@@ -0,0 +1,52 @@
+###
+### This file provides quick and dirty indications on how
+### to set up the mod_dav module with apache.
+###
+### Please refer to the main web site for more information
+### http://www.webdav.org/mod_dav/
+###
+
+
+###
+### This goes in the Global Environment section (Section 1)
+###
+### This should have been added automatically during the install process
+###
+
+LoadModule dav_module libexec/apache/libdav.so
+
+AddModule mod_dav.c
+
+
+
+
+###
+### This goes in the main server configuration section (section 2)
+###
+### The lock database will have to be created in the /var/db directory
+### to do so, just do (as root):
+### # touch /var/db/DAVLock.dir
+### # touch /var/db/DAVLock.pag
+### # chown nobody.nobody /var/db/DAVLock.*
+### # chmod 640 /var/db/DAVLock.*
+###
+
+DAVLockDB /var/db/DAVLock
+DAVMinTimeout 600
+
+
+
+###
+### This is an example of per location/directory configuration
+###
+
+<Location />
+ DAV On
+ AuthType Basic
+ AuthName DAV
+ AuthUserFile dav.passwd
+ <LimitExcept GET HEAD OPTIONS>
+ require user webadmin
+ </LimitExcept>
+</Location>
+