Edit detail for apache webdav chrooted revision 1 of 1

1
Editor: rgouveia
Time: 2010/07/05 00:04:49 GMT+2
Note:

changed:
-
1. install mod_dav from ports and enable it with /usr/local/sbin/mod_dav-enable
2. mkdir -p /var/www/usr/lib/apache/modules/
3. cp  /usr/local/lib/mod_dav.so /var/www/usr/lib/apache/modules/libdav.so
4. mkdir -p /var/www/davlockdb
5. chown www /var/www/davlockdb
6. chmod 750 /var/www/davlockdb
7. htpasswd -c sync /var/www/conf/webdavpasswd
8. edit httpd.conf:
DavLockDB /davlockdb/DavLock
<Directory /var/www/htdocs>
   DAV On
   AuthType Basic
   AuthName "Webdav access"
   AuthUserFile /var/www/conf/webdavpasswd
   AllowOverride None
   Require valid-user
   Options Indexes None
   <Limit PUT POST DELETE PROPFIND PROPPATCH MKCOL COPY MOVE LOCK UNLOCK>
   </Limit>
</Directory>

I'm using it currently to sync firefox bookmarks with xmarks byos.

(based on http://uhrig.eu.org/openbsd/mod_dav)



1. install mod_dav from ports and enable it with /usr/local/sbin/mod_dav-enable
2. mkdir -p /var/www/usr/lib/apache/modules/
3. cp  /usr/local/lib/mod_dav.so /var/www/usr/lib/apache/modules/libdav.so
4. mkdir -p /var/www/davlockdb
5. chown www /var/www/davlockdb
6. chmod 750 /var/www/davlockdb
7. htpasswd -c sync /var/www/conf/webdavpasswd
8. edit httpd.conf:
DavLockDB /davlockdb/DavLock
<Directory /var/www/htdocs>
   DAV On
   AuthType Basic
   AuthName "Webdav access"
   AuthUserFile /var/www/conf/webdavpasswd
   AllowOverride None
   Require valid-user
   Options Indexes None
   <Limit PUT POST DELETE PROPFIND PROPPATCH MKCOL COPY MOVE LOCK UNLOCK>
   </Limit>
</Directory>

I'm using it currently to sync firefox bookmarks with xmarks byos.

(based on http://uhrig.eu.org/openbsd/mod_dav)