Trucs
public text v1 · immutableDavLockDB "/usr/local/apache2/conf/extra/DavLock"
DAVMinTimeout 600
#DAVDepthInfinity On
<Directory "/sites/gestion/ical">
Order allow,deny
Allow from all
Dav On
#AllowOverride AuthConfig
AuthType Basic
AuthName "Acces restreint aux calendriers"
AuthUserFile /sites/gestion/DavUsers
#<Limit PUT POST DELETE PROPFIND PROPPATCH MKCOL COPY MOVE LOCK UNLOCK>
Require valid-user
#</Limit>
</Directory>
THIS IS IN HTTPD.CONF:
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
</Directory>
<Directory "/sites">
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
THIS IS THE VHOST IN WHICH THE DIR FOR WEBDAV IS:
<VirtualHost *>
ServerAdmin XXXX
DocumentRoot /sites/gestion/
ServerName XXX
SecFilterEngine Off
ErrorLog logs/gestion-error.log
CustomLog logs/gestion-log.log common
<Directory /sites/gestion/>
Deny from all
Allow from 192.168.10.2/2
</Directory>
<Directory /sites/gestion/phpmyadmin>
Deny from all
Allow from 192.168.10
Allow from 192.168.20
SecFilterEngine Off
</Directory>