diff --git a/HowtoApache.md b/HowtoApache.md index 511ff607..ed0b0da0 100644 --- a/HowtoApache.md +++ b/HowtoApache.md @@ -496,6 +496,44 @@ RewriteRule ^(.*)$ https://www.example.fr$1 [R,L] La documentation complète du module est là Pour plus d'info, il y a la [documentation complète du module](https://dev.maxmind.com/geoip/legacy/mod_geoip2/) +### mod_davfs + +Ce module permet de prendre en charge WebDAV. + +Pour l'activer : + +~~~ +# a2enmod davfs +~~~ + +Ensuite pour activer le module, il suffit de rajouter `Dav On` dans le virtualhost voulu. + +Exemple de vhost : + +~~~ + + + ServerName dav.example.com + + DocumentRoot /home/webdav/ + + Dav On + + AuthType Basic + AuthName DAV + AuthUserFile "/etc/apache2/webdav.htpasswd" + Require valid-user + + + ErrorLog ${APACHE_LOG_DIR}/dav_error.log + CustomLog ${APACHE_LOG_DIR}/dav_access.log combined + + SSLEngine on + SSLCertificateFile /etc/ssl/certs/ssl-cert-snakeoil.pem + SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key + +~~~ + ## Authentification HTTP ### HTTP Basic Authentication (mod_auth_basic)