mod_dav.html.fr revision 456de5f26ad346749963525a4f91883e6a51c5f3
456de5f26ad346749963525a4f91883e6a51c5f3gryzor<?xml version="1.0" encoding="ISO-8859-1"?>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
456de5f26ad346749963525a4f91883e6a51c5f3gryzor<html xmlns="http://www.w3.org/1999/xhtml" lang="fr" xml:lang="fr"><head><!--
456de5f26ad346749963525a4f91883e6a51c5f3gryzor XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
456de5f26ad346749963525a4f91883e6a51c5f3gryzor This file is generated from xml source: DO NOT EDIT
456de5f26ad346749963525a4f91883e6a51c5f3gryzor XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
456de5f26ad346749963525a4f91883e6a51c5f3gryzor -->
456de5f26ad346749963525a4f91883e6a51c5f3gryzor<title>mod_dav - Serveur Apache HTTP</title>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor<link href="/style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" />
456de5f26ad346749963525a4f91883e6a51c5f3gryzor<link href="/style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" />
456de5f26ad346749963525a4f91883e6a51c5f3gryzor<link href="/style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" /><link rel="stylesheet" type="text/css" href="/style/css/prettify.css" />
456de5f26ad346749963525a4f91883e6a51c5f3gryzor<script src="/style/scripts/prettify.js" type="text/javascript">
456de5f26ad346749963525a4f91883e6a51c5f3gryzor</script>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor
456de5f26ad346749963525a4f91883e6a51c5f3gryzor<link href="/images/favicon.ico" rel="shortcut icon" /></head>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor<body>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor<div id="page-header">
456de5f26ad346749963525a4f91883e6a51c5f3gryzor<p class="menu"><a href="/mod/">Modules</a> | <a href="/mod/quickreference.html">Directives</a> | <a href="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="/glossary.html">Glossaire</a> | <a href="/sitemap.html">Plan du site</a></p>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor<p class="apache">Serveur Apache HTTP Version 2.5</p>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor<img alt="" src="/images/feather.gif" /></div>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor<div class="up"><a href="./"><img title="&lt;-" alt="&lt;-" src="/images/left.gif" /></a></div>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor<div id="path">
456de5f26ad346749963525a4f91883e6a51c5f3gryzor<a href="http://www.apache.org/">Apache</a> &gt; <a href="http://httpd.apache.org/">Serveur HTTP</a> &gt; <a href="http://httpd.apache.org/docs/">Documentation</a> &gt; <a href="../">Version 2.5</a> &gt; <a href="./">Modules</a></div>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor<div id="page-content">
456de5f26ad346749963525a4f91883e6a51c5f3gryzor<div id="preamble"><h1>Module Apache mod_dav</h1>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor<div class="toplang">
456de5f26ad346749963525a4f91883e6a51c5f3gryzor<p><span>Langues Disponibles: </span><a href="/en/mod/mod_dav.html" hreflang="en" rel="alternate" title="English">&nbsp;en&nbsp;</a> |
456de5f26ad346749963525a4f91883e6a51c5f3gryzor<a href="/fr/mod/mod_dav.html" title="Fran�ais">&nbsp;fr&nbsp;</a> |
456de5f26ad346749963525a4f91883e6a51c5f3gryzor<a href="/ja/mod/mod_dav.html" hreflang="ja" rel="alternate" title="Japanese">&nbsp;ja&nbsp;</a> |
456de5f26ad346749963525a4f91883e6a51c5f3gryzor<a href="/ko/mod/mod_dav.html" hreflang="ko" rel="alternate" title="Korean">&nbsp;ko&nbsp;</a></p>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor</div>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor<table class="module"><tr><th><a href="module-dict.html#Description">Description:</a></th><td>Fonctionnalit� de cr�ation et gestion de versions de
456de5f26ad346749963525a4f91883e6a51c5f3gryzordocuments via le web (<a href="http://www.webdav.org/">WebDAV</a>)</td></tr>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor<tr><th><a href="module-dict.html#Status">Statut:</a></th><td>Extension</td></tr>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor<tr><th><a href="module-dict.html#ModuleIdentifier">Identificateur�de�Module:</a></th><td>dav_module</td></tr>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor<tr><th><a href="module-dict.html#SourceFile">Fichier�Source:</a></th><td>mod_dav.c</td></tr></table>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor<h3>Sommaire</h3>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor
456de5f26ad346749963525a4f91883e6a51c5f3gryzor <p>Ce module ajoute � Apache une fonctionnalit� <a href="http://www.webdav.org">WebDAV</a> de classes 1 et 2
456de5f26ad346749963525a4f91883e6a51c5f3gryzor ('Web-based Distributed Authoring and Versioning' ou Cr�ation et
456de5f26ad346749963525a4f91883e6a51c5f3gryzor gestion de versions de documents via le web). Il s'agit d'une
456de5f26ad346749963525a4f91883e6a51c5f3gryzor extension du protocole HTTP qui permet de cr�er, d�placer, copier et
456de5f26ad346749963525a4f91883e6a51c5f3gryzor supprimer des ressources ou collections de ressources sur un serveur
456de5f26ad346749963525a4f91883e6a51c5f3gryzor web distant.</p>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor</div>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor<div id="quickview"><h3 class="directives">Directives</h3>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor<ul id="toc">
456de5f26ad346749963525a4f91883e6a51c5f3gryzor<li><img alt="" src="/images/down.gif" /> <a href="#dav">Dav</a></li>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor<li><img alt="" src="/images/down.gif" /> <a href="#davdepthinfinity">DavDepthInfinity</a></li>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor<li><img alt="" src="/images/down.gif" /> <a href="#davmintimeout">DavMinTimeout</a></li>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor</ul>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor<h3>Sujets</h3>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor<ul id="topics">
456de5f26ad346749963525a4f91883e6a51c5f3gryzor<li><img alt="" src="/images/down.gif" /> <a href="#example">Activation de WebDAV</a></li>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor<li><img alt="" src="/images/down.gif" /> <a href="#security">Probl�mes concernant la s�curit�</a></li>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor<li><img alt="" src="/images/down.gif" /> <a href="#complex">Configurations complexes</a></li>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor</ul><h3>Voir aussi</h3>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor<ul class="seealso">
456de5f26ad346749963525a4f91883e6a51c5f3gryzor<li><code class="directive"><a href="/mod/mod_dav_fs.html#davlockdb">DavLockDB</a></code></li>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor<li><code class="directive"><a href="/mod/core.html#limitxmlrequestbody">LimitXMLRequestBody</a></code></li>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor<li><a href="http://www.webdav.org">Ressources WebDAV</a></li>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor</ul><ul class="seealso"><li><a href="#comments_section">Commentaires</a></li></ul></div>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor<div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor<div class="section">
456de5f26ad346749963525a4f91883e6a51c5f3gryzor<h2><a name="example" id="example">Activation de WebDAV</a></h2>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor <p>Pour activer le module <code class="module"><a href="/mod/mod_dav.html">mod_dav</a></code>, ajoutez la ligne
456de5f26ad346749963525a4f91883e6a51c5f3gryzor suivante � un conteneur de votre fichier <code>httpd.conf</code>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor :</p>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor
456de5f26ad346749963525a4f91883e6a51c5f3gryzor <pre class="prettyprint lang-config">Dav On</pre>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor
456de5f26ad346749963525a4f91883e6a51c5f3gryzor
456de5f26ad346749963525a4f91883e6a51c5f3gryzor <p>Ceci active le fournisseur de syst�me de fichier DAV impl�ment� par
456de5f26ad346749963525a4f91883e6a51c5f3gryzor le module <code class="module"><a href="/mod/mod_dav_fs.html">mod_dav_fs</a></code>. Ce dernier doit donc �tre
456de5f26ad346749963525a4f91883e6a51c5f3gryzor compil� dans le serveur ou charg� au d�marrage � l'aide de la
456de5f26ad346749963525a4f91883e6a51c5f3gryzor directive <code class="directive"><a href="/mod/mod_so.html#loadmodule">LoadModule</a></code>.</p>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor
456de5f26ad346749963525a4f91883e6a51c5f3gryzor <p>En outre, vous devez indiquer o� se trouve la base de donn�es des
456de5f26ad346749963525a4f91883e6a51c5f3gryzor verrous DAV via une directive <code class="directive"><a href="/mod/mod_dav_fs.html#davlockdb">DavLockDB</a></code> dans la section globale de
456de5f26ad346749963525a4f91883e6a51c5f3gryzor votre fichier <code>httpd.conf</code> :</p>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor
456de5f26ad346749963525a4f91883e6a51c5f3gryzor <pre class="prettyprint lang-config">
456de5f26ad346749963525a4f91883e6a51c5f3gryzor DavLockDB /usr/local/apache2/var/DavLock
456de5f26ad346749963525a4f91883e6a51c5f3gryzor </pre>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor
456de5f26ad346749963525a4f91883e6a51c5f3gryzor
456de5f26ad346749963525a4f91883e6a51c5f3gryzor <p>Le r�pertoire contenant le fichier de la base de donn�es des
456de5f26ad346749963525a4f91883e6a51c5f3gryzor verrous doit avoir des droits en �criture pour l'utilisateur et le
456de5f26ad346749963525a4f91883e6a51c5f3gryzor groupe sous lesquels Apache s'ex�cute et d�finis respectivement par
456de5f26ad346749963525a4f91883e6a51c5f3gryzor les directives <code class="directive"><a href="/mod/mod_unixd.html#user">User</a></code> et
456de5f26ad346749963525a4f91883e6a51c5f3gryzor <code class="directive"><a href="/mod/mod_unixd.html#group">Group</a></code>.</p>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor
456de5f26ad346749963525a4f91883e6a51c5f3gryzor <p>Si vous souhaitez limiter l'acc�s aux r�pertoires o� DAV est
456de5f26ad346749963525a4f91883e6a51c5f3gryzor activ�, vous pouvez ajouter une clause <code class="directive"><a href="/mod/core.html#limit">&lt;Limit&gt;</a></code> dans la section <code class="directive"><a href="/mod/core.html#location">&lt;Location&gt;</a></code> consid�r�e. Pour
456de5f26ad346749963525a4f91883e6a51c5f3gryzor d�finir la quantit� maximale de donn�es en octets qu'un client
456de5f26ad346749963525a4f91883e6a51c5f3gryzor DAV peut envoyer par requ�te, vous devez utiliser la directive
456de5f26ad346749963525a4f91883e6a51c5f3gryzor <code class="directive"><a href="/mod/core.html#limitxmlrequestbody">LimitXMLRequestBody</a></code>, car La
456de5f26ad346749963525a4f91883e6a51c5f3gryzor directive <code class="directive"><a href="/mod/core.html#limitrequestbody">LimitRequestBody</a></code>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor "habituelle" n'a aucune incidence sur les requ�tes DAV.</p>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor
456de5f26ad346749963525a4f91883e6a51c5f3gryzor <div class="example"><h3>Exemple complet</h3><pre class="prettyprint lang-config">
456de5f26ad346749963525a4f91883e6a51c5f3gryzorDavLockDB /usr/local/apache2/var/DavLock
456de5f26ad346749963525a4f91883e6a51c5f3gryzor
456de5f26ad346749963525a4f91883e6a51c5f3gryzor&lt;Directory /usr/local/apache2/htdocs/foo&gt;
456de5f26ad346749963525a4f91883e6a51c5f3gryzor Require all granted
456de5f26ad346749963525a4f91883e6a51c5f3gryzor Dav On
456de5f26ad346749963525a4f91883e6a51c5f3gryzor
456de5f26ad346749963525a4f91883e6a51c5f3gryzor AuthType Basic
456de5f26ad346749963525a4f91883e6a51c5f3gryzor AuthName DAV
456de5f26ad346749963525a4f91883e6a51c5f3gryzor AuthUserFile user.passwd
456de5f26ad346749963525a4f91883e6a51c5f3gryzor
456de5f26ad346749963525a4f91883e6a51c5f3gryzor &lt;LimitExcept GET POST OPTIONS&gt;
456de5f26ad346749963525a4f91883e6a51c5f3gryzor Require user admin
456de5f26ad346749963525a4f91883e6a51c5f3gryzor &lt;/LimitExcept&gt;
456de5f26ad346749963525a4f91883e6a51c5f3gryzor&lt;/Directory&gt;
456de5f26ad346749963525a4f91883e6a51c5f3gryzor </pre>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor</div>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor
456de5f26ad346749963525a4f91883e6a51c5f3gryzor</div><div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor<div class="section">
456de5f26ad346749963525a4f91883e6a51c5f3gryzor<h2><a name="security" id="security">Probl�mes concernant la s�curit�</a></h2>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor
456de5f26ad346749963525a4f91883e6a51c5f3gryzor <p>Etant donn� que les m�thodes d'acc�s DAV permettent � des clients
456de5f26ad346749963525a4f91883e6a51c5f3gryzor distants de manipuler des fichiers sur le serveur, vous devez vous
456de5f26ad346749963525a4f91883e6a51c5f3gryzor assurer que votre serveur est bien s�curis� avant d'activer
456de5f26ad346749963525a4f91883e6a51c5f3gryzor <code class="module"><a href="/mod/mod_dav.html">mod_dav</a></code>.</p>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor
456de5f26ad346749963525a4f91883e6a51c5f3gryzor <p>Tout r�pertoire du serveur o� DAV est activ� doit �tre prot�g�
456de5f26ad346749963525a4f91883e6a51c5f3gryzor par une proc�dure d'authentification. L'utilisation de
456de5f26ad346749963525a4f91883e6a51c5f3gryzor l'authentification HTTP de base n'est pas recommand�e. Vous devez
456de5f26ad346749963525a4f91883e6a51c5f3gryzor utiliser au moins l'authentification HTTP � base de condens�s
456de5f26ad346749963525a4f91883e6a51c5f3gryzor qu'impl�mente le module <code class="module"><a href="/mod/mod_auth_digest.html">mod_auth_digest</a></code>.
456de5f26ad346749963525a4f91883e6a51c5f3gryzor Pratiquement tous les clients WebDAV supportent cette m�thode
456de5f26ad346749963525a4f91883e6a51c5f3gryzor d'authentification. Vous pouvez aussi utiliser l'authentification de
456de5f26ad346749963525a4f91883e6a51c5f3gryzor base sur une connexion o� <a href="/ssl/">SSL</a> est activ�.</p>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor
456de5f26ad346749963525a4f91883e6a51c5f3gryzor <p>Pour que <code class="module"><a href="/mod/mod_dav.html">mod_dav</a></code> puisse manipuler des fichiers,
456de5f26ad346749963525a4f91883e6a51c5f3gryzor il doit avoir des permissions en �criture sur les r�pertoires et les
456de5f26ad346749963525a4f91883e6a51c5f3gryzor fichiers qui sont sous son contr�le ; en d'autre termes, c'est
456de5f26ad346749963525a4f91883e6a51c5f3gryzor l'utilisateur et le groupe sous lesquels Apache s'ex�cute et d�finis
456de5f26ad346749963525a4f91883e6a51c5f3gryzor par les directives <code class="directive"><a href="/mod/mod_unixd.html#user">User</a></code> et
456de5f26ad346749963525a4f91883e6a51c5f3gryzor <code class="directive"><a href="/mod/mod_unixd.html#group">Group</a></code> qui doivent avoir
456de5f26ad346749963525a4f91883e6a51c5f3gryzor les droits en �criture sur ces fichiers et r�pertoires. Les fichiers
456de5f26ad346749963525a4f91883e6a51c5f3gryzor nouvellement cr��s appartiendront aussi � ces utilisateur et groupe.
456de5f26ad346749963525a4f91883e6a51c5f3gryzor Par cons�quent, il est important de contr�ler l'acc�s � ce compte.
456de5f26ad346749963525a4f91883e6a51c5f3gryzor Les r�pertoires DAV sont consid�r�s comme priv�s du point de vue
456de5f26ad346749963525a4f91883e6a51c5f3gryzor d'Apache, et la modification des fichiers qu'ils contiennent
456de5f26ad346749963525a4f91883e6a51c5f3gryzor autrement que par l'interm�diaire d'Apache (par exemple par FTP ou
456de5f26ad346749963525a4f91883e6a51c5f3gryzor par des outils du niveau du syst�me de fichiers) ne doit pas �tre
456de5f26ad346749963525a4f91883e6a51c5f3gryzor permise.</p>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor
456de5f26ad346749963525a4f91883e6a51c5f3gryzor <p><code class="module"><a href="/mod/mod_dav.html">mod_dav</a></code> peut faire l'objet de plusieurs sortes
456de5f26ad346749963525a4f91883e6a51c5f3gryzor d'attaques par d�ni de service. La directive <code class="directive"><a href="/mod/core.html#limitxmlrequestbody">LimitXMLRequestBody</a></code> permet de limiter la
456de5f26ad346749963525a4f91883e6a51c5f3gryzor quantit� de m�moire consomm�e pour interpr�ter des requ�tes DAV de
456de5f26ad346749963525a4f91883e6a51c5f3gryzor grande taille. En outre, la directive <code class="directive"><a href="#davdepthinfinity">DavDepthInfinity</a></code> permet d'emp�cher les
456de5f26ad346749963525a4f91883e6a51c5f3gryzor requ�tes <code>PROPFIND</code> concernant un r�pertoire de tr�s
456de5f26ad346749963525a4f91883e6a51c5f3gryzor grande taille de consommer de grandes quantit�s de m�moire. Un autre
456de5f26ad346749963525a4f91883e6a51c5f3gryzor type d'attaque par d�ni de service peut aussi �tre men� par un
456de5f26ad346749963525a4f91883e6a51c5f3gryzor client qui remplit simplement tout l'espace disque disponible avec
456de5f26ad346749963525a4f91883e6a51c5f3gryzor des fichiers de tr�s grande taille. Etant donn� qu'il n'existe aucun
456de5f26ad346749963525a4f91883e6a51c5f3gryzor moyen direct d'�viter ce genre d'attaque dans Apache, vous ne devez
456de5f26ad346749963525a4f91883e6a51c5f3gryzor accorder des acc�s DAV qu'� des utilisateurs de confiance.</p>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor</div><div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor<div class="section">
456de5f26ad346749963525a4f91883e6a51c5f3gryzor<h2><a name="complex" id="complex">Configurations complexes</a></h2>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor
456de5f26ad346749963525a4f91883e6a51c5f3gryzor <p>Les requ�tes ayant pour but de manipuler des fichiers dynamiques
456de5f26ad346749963525a4f91883e6a51c5f3gryzor (scripts PHP, scripts CGI, etc...) en utilisant
456de5f26ad346749963525a4f91883e6a51c5f3gryzor <code class="module"><a href="/mod/mod_dav.html">mod_dav</a></code> sont courantes. Ce traitement n'est pas
456de5f26ad346749963525a4f91883e6a51c5f3gryzor �vident car une requ�te
456de5f26ad346749963525a4f91883e6a51c5f3gryzor <code>GET</code> va toujours tenter d'ex�cuter le script, plut�t que
456de5f26ad346749963525a4f91883e6a51c5f3gryzor de t�l�charger son contenu. Pour �viter cet inconv�nient, une
456de5f26ad346749963525a4f91883e6a51c5f3gryzor m�thode possible consiste � faire correspondre deux URLs
456de5f26ad346749963525a4f91883e6a51c5f3gryzor diff�rentes au m�me contenu, l'une d'entre elles servant � lancer le
456de5f26ad346749963525a4f91883e6a51c5f3gryzor script, alors que l'autre peut �tre utilis�e pour le t�l�charger et
456de5f26ad346749963525a4f91883e6a51c5f3gryzor le manipuler avec DAV.</p>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor
456de5f26ad346749963525a4f91883e6a51c5f3gryzor<pre class="prettyprint lang-config">
456de5f26ad346749963525a4f91883e6a51c5f3gryzorAlias /phparea /home/gstein/php_files
456de5f26ad346749963525a4f91883e6a51c5f3gryzorAlias /php-source /home/gstein/php_files
456de5f26ad346749963525a4f91883e6a51c5f3gryzor&lt;Location /php-source&gt;
456de5f26ad346749963525a4f91883e6a51c5f3gryzorDAV On
456de5f26ad346749963525a4f91883e6a51c5f3gryzorForceType text/plain
456de5f26ad346749963525a4f91883e6a51c5f3gryzor&lt;/Location&gt;
456de5f26ad346749963525a4f91883e6a51c5f3gryzor</pre>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor
456de5f26ad346749963525a4f91883e6a51c5f3gryzor
456de5f26ad346749963525a4f91883e6a51c5f3gryzor <p>Avec cette configuration, on peut utiliser
456de5f26ad346749963525a4f91883e6a51c5f3gryzor <code>http://example.com/phparea</code> pour afficher le r�sultat de
456de5f26ad346749963525a4f91883e6a51c5f3gryzor l'ex�cution des scripts PHP, et
456de5f26ad346749963525a4f91883e6a51c5f3gryzor <code>http://example.com/php-source</code> pour les manipuler avec
456de5f26ad346749963525a4f91883e6a51c5f3gryzor DAV.</p>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor</div>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor<div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor<div class="directive-section"><h2><a name="Dav" id="Dav">Dav</a> <a name="dav" id="dav">Directive</a></h2>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor<table class="directive">
456de5f26ad346749963525a4f91883e6a51c5f3gryzor<tr><th><a href="directive-dict.html#Description">Description:</a></th><td>Active les m�thodes HTTP WebDAV</td></tr>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor<tr><th><a href="directive-dict.html#Syntax">Syntaxe:</a></th><td><code>Dav On|Off|<var>nom fournisseur</var></code></td></tr>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor<tr><th><a href="directive-dict.html#Default">D�faut:</a></th><td><code>Dav Off</code></td></tr>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor<tr><th><a href="directive-dict.html#Context">Contexte:</a></th><td>r�pertoire</td></tr>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor<tr><th><a href="directive-dict.html#Status">Statut:</a></th><td>Extension</td></tr>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor<tr><th><a href="directive-dict.html#Module">Module:</a></th><td>mod_dav</td></tr>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor</table>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor <p>La directive <code class="directive">Dav</code> active les
456de5f26ad346749963525a4f91883e6a51c5f3gryzor m�thodes HTTP WebDAV pour le conteneur condid�r� :</p>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor
456de5f26ad346749963525a4f91883e6a51c5f3gryzor <pre class="prettyprint lang-config">
456de5f26ad346749963525a4f91883e6a51c5f3gryzor&lt;Location /foo&gt;
456de5f26ad346749963525a4f91883e6a51c5f3gryzor Dav On
456de5f26ad346749963525a4f91883e6a51c5f3gryzor&lt;/Location&gt;
456de5f26ad346749963525a4f91883e6a51c5f3gryzor </pre>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor
456de5f26ad346749963525a4f91883e6a51c5f3gryzor
456de5f26ad346749963525a4f91883e6a51c5f3gryzor <p>La valeur <code>On</code> est en fait un alias vers le
456de5f26ad346749963525a4f91883e6a51c5f3gryzor fournisseur par d�faut <code>filesystem</code> impl�ment� par le
456de5f26ad346749963525a4f91883e6a51c5f3gryzor module <code class="module"><a href="/mod/mod_dav_fs.html">mod_dav_fs</a></code>. Notez que lorsque DAV est activ�
456de5f26ad346749963525a4f91883e6a51c5f3gryzor pour un conteneur, on <em>ne peut pas</em> le d�sactiver pour ses
456de5f26ad346749963525a4f91883e6a51c5f3gryzor sous-conteneurs. Pour un exemple de configuration complet,
456de5f26ad346749963525a4f91883e6a51c5f3gryzor reportez-vous � la <a href="#example">section pr�c�dente</a>.</p>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor
456de5f26ad346749963525a4f91883e6a51c5f3gryzor <div class="warning">
456de5f26ad346749963525a4f91883e6a51c5f3gryzor N'activez pas WebDAV tant que votre serveur n'est pas s�curis�. Si
456de5f26ad346749963525a4f91883e6a51c5f3gryzor vous passez outre cette recommandation, tout le monde pourra
456de5f26ad346749963525a4f91883e6a51c5f3gryzor enregistrer des fichiers sur votre syst�me.
456de5f26ad346749963525a4f91883e6a51c5f3gryzor </div>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor
456de5f26ad346749963525a4f91883e6a51c5f3gryzor</div>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor<div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor<div class="directive-section"><h2><a name="DavDepthInfinity" id="DavDepthInfinity">DavDepthInfinity</a> <a name="davdepthinfinity" id="davdepthinfinity">Directive</a></h2>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor<table class="directive">
456de5f26ad346749963525a4f91883e6a51c5f3gryzor<tr><th><a href="directive-dict.html#Description">Description:</a></th><td>Autorise les requ�tes PROPFIND avec en-t�te Depth:
456de5f26ad346749963525a4f91883e6a51c5f3gryzorInfinity</td></tr>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor<tr><th><a href="directive-dict.html#Syntax">Syntaxe:</a></th><td><code>DavDepthInfinity on|off</code></td></tr>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor<tr><th><a href="directive-dict.html#Default">D�faut:</a></th><td><code>DavDepthInfinity off</code></td></tr>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor<tr><th><a href="directive-dict.html#Context">Contexte:</a></th><td>configuration du serveur, serveur virtuel, r�pertoire</td></tr>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor<tr><th><a href="directive-dict.html#Status">Statut:</a></th><td>Extension</td></tr>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor<tr><th><a href="directive-dict.html#Module">Module:</a></th><td>mod_dav</td></tr>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor</table>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor <p>La directive <code class="directive">DavDepthInfinity</code>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor autorise le traitement des requ�tes <code>PROPFIND</code>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor contenant l'en-t�te Depth: Infinity. Par d�faut, ce type de requ�te
456de5f26ad346749963525a4f91883e6a51c5f3gryzor n'est pas autoris�, car il peut favoriser les attaques de type D�ni
456de5f26ad346749963525a4f91883e6a51c5f3gryzor de service.</p>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor
456de5f26ad346749963525a4f91883e6a51c5f3gryzor</div>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor<div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor<div class="directive-section"><h2><a name="DavMinTimeout" id="DavMinTimeout">DavMinTimeout</a> <a name="davmintimeout" id="davmintimeout">Directive</a></h2>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor<table class="directive">
456de5f26ad346749963525a4f91883e6a51c5f3gryzor<tr><th><a href="directive-dict.html#Description">Description:</a></th><td>Dur�e minimale pendant laquelle le serveur maintient un
456de5f26ad346749963525a4f91883e6a51c5f3gryzorverrou sur une ressource DAV</td></tr>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor<tr><th><a href="directive-dict.html#Syntax">Syntaxe:</a></th><td><code>DavMinTimeout <var>secondes</var></code></td></tr>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor<tr><th><a href="directive-dict.html#Default">D�faut:</a></th><td><code>DavMinTimeout 0</code></td></tr>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor<tr><th><a href="directive-dict.html#Context">Contexte:</a></th><td>configuration du serveur, serveur virtuel, r�pertoire</td></tr>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor<tr><th><a href="directive-dict.html#Status">Statut:</a></th><td>Extension</td></tr>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor<tr><th><a href="directive-dict.html#Module">Module:</a></th><td>mod_dav</td></tr>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor</table>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor <p>Lorsqu'un client demande le verrouillage d'une ressource DAV, il
456de5f26ad346749963525a4f91883e6a51c5f3gryzor peut aussi sp�cifier une dur�e au bout de laquelle le verrou sera
456de5f26ad346749963525a4f91883e6a51c5f3gryzor automatiquement supprim� par le serveur. Cette valeur ne constitue
456de5f26ad346749963525a4f91883e6a51c5f3gryzor qu'une requ�te, et le serveur peut l'ignorer ou informer le client
456de5f26ad346749963525a4f91883e6a51c5f3gryzor qu'il va utiliser une valeur arbitraire.</p>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor
456de5f26ad346749963525a4f91883e6a51c5f3gryzor <p>La directive <code class="directive">DavMinTimeout</code>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor sp�cifie, en secondes, la dur�e minimale de verrouillage � renvoyer
456de5f26ad346749963525a4f91883e6a51c5f3gryzor au client. Les R�pertoires Web de Microsoft pr�sentent une dur�e par
456de5f26ad346749963525a4f91883e6a51c5f3gryzor d�faut de 120 secondes ; la directive
456de5f26ad346749963525a4f91883e6a51c5f3gryzor <code class="directive">DavMinTimeout</code> permet de d�finir une valeur
456de5f26ad346749963525a4f91883e6a51c5f3gryzor sup�rieure (par exemple 600 secondes), afin de r�duire les risques
456de5f26ad346749963525a4f91883e6a51c5f3gryzor de perte du verrou par le client suite � une surcharge du
456de5f26ad346749963525a4f91883e6a51c5f3gryzor r�seau.</p>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor
456de5f26ad346749963525a4f91883e6a51c5f3gryzor <div class="example"><h3>Exemple</h3><pre class="prettyprint lang-config">
456de5f26ad346749963525a4f91883e6a51c5f3gryzor&lt;Location /MSWord&gt;
456de5f26ad346749963525a4f91883e6a51c5f3gryzor DavMinTimeout 600
456de5f26ad346749963525a4f91883e6a51c5f3gryzor&lt;/Location&gt;
456de5f26ad346749963525a4f91883e6a51c5f3gryzor </pre>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor</div>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor
456de5f26ad346749963525a4f91883e6a51c5f3gryzor</div>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor</div>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor<div class="bottomlang">
456de5f26ad346749963525a4f91883e6a51c5f3gryzor<p><span>Langues Disponibles: </span><a href="/en/mod/mod_dav.html" hreflang="en" rel="alternate" title="English">&nbsp;en&nbsp;</a> |
456de5f26ad346749963525a4f91883e6a51c5f3gryzor<a href="/fr/mod/mod_dav.html" title="Fran�ais">&nbsp;fr&nbsp;</a> |
456de5f26ad346749963525a4f91883e6a51c5f3gryzor<a href="/ja/mod/mod_dav.html" hreflang="ja" rel="alternate" title="Japanese">&nbsp;ja&nbsp;</a> |
456de5f26ad346749963525a4f91883e6a51c5f3gryzor<a href="/ko/mod/mod_dav.html" hreflang="ko" rel="alternate" title="Korean">&nbsp;ko&nbsp;</a></p>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor</div><div class="top"><a href="#page-header"><img src="/images/up.gif" alt="top" /></a></div><div class="section"><h2><a id="comments_section" name="comments_section">Commentaires</a></h2><div class="warning"><strong>Notice:</strong><br />This is not a Q&amp;A section. Comments placed here should be pointed towards suggestions on improving the documentation or server, and may be removed again by our moderators if they are either implemented or considered invalid/off-topic. Questions on how to manage the Apache HTTP Server should be directed at either our IRC channel, #httpd, on Freenode, or sent to our <a href="http://httpd.apache.org/lists.html">mailing lists</a>.</div>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor<script type="text/javascript"><!--//--><![CDATA[//><!--
456de5f26ad346749963525a4f91883e6a51c5f3gryzorvar comments_shortname = 'httpd';
456de5f26ad346749963525a4f91883e6a51c5f3gryzorvar comments_identifier = 'http://httpd.apache.org/docs/trunk/mod/mod_dav.html';
456de5f26ad346749963525a4f91883e6a51c5f3gryzor(function(w, d) {
456de5f26ad346749963525a4f91883e6a51c5f3gryzor if (w.location.hostname.toLowerCase() == "httpd.apache.org") {
456de5f26ad346749963525a4f91883e6a51c5f3gryzor d.write('<div id="comments_thread"><\/div>');
456de5f26ad346749963525a4f91883e6a51c5f3gryzor var s = d.createElement('script');
456de5f26ad346749963525a4f91883e6a51c5f3gryzor s.type = 'text/javascript';
456de5f26ad346749963525a4f91883e6a51c5f3gryzor s.async = true;
456de5f26ad346749963525a4f91883e6a51c5f3gryzor s.src = 'https://comments.apache.org/show_comments.lua?site=' + comments_shortname + '&page=' + comments_identifier;
456de5f26ad346749963525a4f91883e6a51c5f3gryzor (d.getElementsByTagName('head')[0] || d.getElementsByTagName('body')[0]).appendChild(s);
456de5f26ad346749963525a4f91883e6a51c5f3gryzor }
456de5f26ad346749963525a4f91883e6a51c5f3gryzor else {
456de5f26ad346749963525a4f91883e6a51c5f3gryzor d.write('<div id="comments_thread">Comments are disabled for this page at the moment.<\/div>');
456de5f26ad346749963525a4f91883e6a51c5f3gryzor }
456de5f26ad346749963525a4f91883e6a51c5f3gryzor})(window, document);
456de5f26ad346749963525a4f91883e6a51c5f3gryzor//--><!]]></script></div><div id="footer">
456de5f26ad346749963525a4f91883e6a51c5f3gryzor<p class="apache">Copyright 2013 The Apache Software Foundation.<br />Autoris� sous <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor<p class="menu"><a href="/mod/">Modules</a> | <a href="/mod/quickreference.html">Directives</a> | <a href="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="/glossary.html">Glossaire</a> | <a href="/sitemap.html">Plan du site</a></p></div><script type="text/javascript"><!--//--><![CDATA[//><!--
456de5f26ad346749963525a4f91883e6a51c5f3gryzorif (typeof(prettyPrint) !== 'undefined') {
456de5f26ad346749963525a4f91883e6a51c5f3gryzor prettyPrint();
456de5f26ad346749963525a4f91883e6a51c5f3gryzor}
456de5f26ad346749963525a4f91883e6a51c5f3gryzor//--><!]]></script>
456de5f26ad346749963525a4f91883e6a51c5f3gryzor</body></html>