diff options
author | Joshua Slive <slive@apache.org> | 2003-04-21 20:36:39 +0000 |
---|---|---|
committer | Joshua Slive <slive@apache.org> | 2003-04-21 20:36:39 +0000 |
commit | 97d88cbc968b675ff564d66230b9258a912c441b (patch) | |
tree | 899ecead68c4af8c7d0a08dab1f539b3dff12a91 /docs/manual | |
parent | de7b609f85f9d59786782fd51572b899b918626b (diff) | |
download | httpd-97d88cbc968b675ff564d66230b9258a912c441b.tar.gz |
Be a little more consistent with the pathnames, and move some
DavLockDB details to its directive docs.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@99485 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/manual')
-rw-r--r-- | docs/manual/mod/mod_dav.html.en | 12 | ||||
-rw-r--r-- | docs/manual/mod/mod_dav.xml | 12 | ||||
-rw-r--r-- | docs/manual/mod/mod_dav_fs.html.en | 12 | ||||
-rw-r--r-- | docs/manual/mod/mod_dav_fs.xml | 13 |
4 files changed, 31 insertions, 18 deletions
diff --git a/docs/manual/mod/mod_dav.html.en b/docs/manual/mod/mod_dav.html.en index ad867f69e3..5835670a96 100644 --- a/docs/manual/mod/mod_dav.html.en +++ b/docs/manual/mod/mod_dav.html.en @@ -65,7 +65,8 @@ <p>In addition, a location for the DAV lock database must be specified in the global section of your <code>httpd.conf</code> - file:</p> + file using the <code class="directive"><a href="../mod/mod_dav_fs.html#davlockdb">DavLockDB</a></code> + directive:</p> <div class="example"><p><code> DavLockDB /usr/local/apache2/var/DavLock @@ -74,12 +75,7 @@ <p>The directory containing the lock database file must be writable by the <code class="directive"><a href="../mod/mpm_common.html#user">User</a></code> and <code class="directive"><a href="../mod/mpm_common.html#group">Group</a></code> under which - Apache is running. For security reasons, you should create a - directory for this purpose rather than changing the permissions on - an existing directory. In the above example, Apache will create - files in the <code>/usr/local/apache2/var/</code> directory - with the base filename <code>DavLock</code> and extension name - chosen by the server.</p> + Apache is running.</p> <p>You may wish to add a <code class="directive"><a href="../mod/core.html#limit"><Limit></a></code> clause inside the <code class="directive"><a href="../mod/core.html#location"><Location></a></code> directive to limit access to DAV-enabled locations. If you want to set the maximum amount of @@ -89,7 +85,7 @@ requests.</p> <div class="example"><h3>Full Example</h3><p><code> - DavLockDB /tmp/DavLock<br /> + DavLockDB /usr/local/apache2/var/DavLock<br /> <br /> <Location /foo><br /> <span class="indent"> diff --git a/docs/manual/mod/mod_dav.xml b/docs/manual/mod/mod_dav.xml index fc8abf5ec8..286931c119 100644 --- a/docs/manual/mod/mod_dav.xml +++ b/docs/manual/mod/mod_dav.xml @@ -35,7 +35,8 @@ <p>In addition, a location for the DAV lock database must be specified in the global section of your <code>httpd.conf</code> - file:</p> + file using the <directive module="mod_dav_fs">DavLockDB</directive> + directive:</p> <example> DavLockDB /usr/local/apache2/var/DavLock @@ -44,12 +45,7 @@ <p>The directory containing the lock database file must be writable by the <directive module="mpm_common">User</directive> and <directive module="mpm_common" >Group</directive> under which - Apache is running. For security reasons, you should create a - directory for this purpose rather than changing the permissions on - an existing directory. In the above example, Apache will create - files in the <code>/usr/local/apache2/var/</code> directory - with the base filename <code>DavLock</code> and extension name - chosen by the server.</p> + Apache is running.</p> <p>You may wish to add a <directive module="core" type="section" >Limit</directive> clause inside the <directive module="core" @@ -62,7 +58,7 @@ requests.</p> <example><title>Full Example</title> - DavLockDB /tmp/DavLock<br /> + DavLockDB /usr/local/apache2/var/DavLock<br /> <br /> <Location /foo><br /> <indent> diff --git a/docs/manual/mod/mod_dav_fs.html.en b/docs/manual/mod/mod_dav_fs.html.en index 98ce88a69c..99801165d4 100644 --- a/docs/manual/mod/mod_dav_fs.html.en +++ b/docs/manual/mod/mod_dav_fs.html.en @@ -67,9 +67,19 @@ <div class="example"><h3>Example</h3><p><code> - DavLockDB logs/DavLock + DavLockDB var/DavLock </code></p></div> + <p>The directory containing the lock database file must be + writable by the <code class="directive"><a href="../mod/mpm_common.html#user">User</a></code> + and <code class="directive"><a href="../mod/mpm_common.html#group">Group</a></code> under which + Apache is running. For security reasons, you should create a + directory for this purpose rather than changing the permissions on + an existing directory. In the above example, Apache will create + files in the <code>var/</code> directory under the <code class="directive"><a href="../mod/core.html#serverroot">ServerRoot</a></code> with the base filename + <code>DavLock</code> and extension name chosen by the server.</p> + + </div> </div> <div id="footer"> diff --git a/docs/manual/mod/mod_dav_fs.xml b/docs/manual/mod/mod_dav_fs.xml index 1a4b06d289..737f9da56d 100644 --- a/docs/manual/mod/mod_dav_fs.xml +++ b/docs/manual/mod/mod_dav_fs.xml @@ -48,8 +48,19 @@ the server to display all locks in a lock database.</p> --> <example><title>Example</title> - DavLockDB logs/DavLock + DavLockDB var/DavLock </example> + + <p>The directory containing the lock database file must be + writable by the <directive module="mpm_common">User</directive> + and <directive module="mpm_common" >Group</directive> under which + Apache is running. For security reasons, you should create a + directory for this purpose rather than changing the permissions on + an existing directory. In the above example, Apache will create + files in the <code>var/</code> directory under the <directive + module="core">ServerRoot</directive> with the base filename + <code>DavLock</code> and extension name chosen by the server.</p> + </usage> </directivesynopsis> |