Here is a very very very very simple webdav howto for apache 2.Basically load the correct modules in /etc/apache2/mods-enabled by linking all the DAV modules from /etc/apache2/mods-available.then create a site similar to:
<VirtualHost *:80>
ServerName foo.server.com
ServerAdmin webmaster@server.com
DocumentRoot /home/websites/server.com/
ErrorLog /var/log/apache2/vhosts/server.com.error.log
TransferLog /var/log/apache2/vhosts/server.com.access.log
CustomLog /var/log/apache2/vhosts/server.com.combined.log combined
<Directory />
Options FollowSymLinks
AllowOverride None
DAV on
AuthType Basic
AuthName test
AuthUserFile /var/auth/server.com.passwd
AuthGroupFile /dev/null
<Limit DELETE PROPFIND PROPPATCH MKCOL COPY MOVE LOCK UNLOCK>
Require valid-user
</Limit>
</Directory>
Then create /var/auth/server.com.passwd using htpasswd and your done!
You can then use WEBDAV through frontpage, webfolders or any other webdav ap! |