diff options
author | Joe Orton <jorton@apache.org> | 2023-08-16 09:33:45 +0200 |
---|---|---|
committer | Joe Orton <jorton@apache.org> | 2023-08-16 09:33:45 +0200 |
commit | ed4cb1db3c7efd861bab87dfa84534b81582cb94 (patch) | |
tree | c74d8ec7a10e9c545c9c3f35e20c7484f0bdd531 /docs/manual/mod/mod_dav.xml | |
parent | Add DAVBasePath directive to allow users to configure the real repos (diff) | |
download | apache2-ed4cb1db3c7efd861bab87dfa84534b81582cb94.tar.xz apache2-ed4cb1db3c7efd861bab87dfa84534b81582cb94.zip |
Add docs for DavBasePath.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1911715 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r-- | docs/manual/mod/mod_dav.xml | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/docs/manual/mod/mod_dav.xml b/docs/manual/mod/mod_dav.xml index 0912f66675..4f84508c51 100644 --- a/docs/manual/mod/mod_dav.xml +++ b/docs/manual/mod/mod_dav.xml @@ -197,6 +197,36 @@ Alias "/php-source" "/home/gstein/php_files" </directivesynopsis> <directivesynopsis> +<name>DavBasePath</name> +<description>Configure repository root path</description> +<syntax>DavBasePath <var>root-path</var></syntax> +<default>DavBasePath /repos/</default> +<contextlist><context>directory</context></contextlist> +<compatibility>Available in version 2.5.1 and later</compatibility> + +<usage> + <p>If a DAV repository is configured using a regular expression + match (such as <directive module="core">LocationMatch</directive>) + then <module>mod_dav</module> will not be able to find the root of + the repository from the pathname alone. Third-party providers (for + example, Subversion's <a + href="https://svnbook.red-bean.com/en/1.7/svn.ref.mod_dav_svn.conf.html">mod_dav_svn</a>) + may fail to handle requests without the correct repository root.</p> + + <p>To allow providers to work correctly in such a configuration, + <directive>DavBasePath</directive> must be used.</p> + + <highlight language="config"> +<LocationMatch "^/repos/"> + Dav svn + DavBasePath /repos + SVNParentPath /var/svn +</LocationMatch> + </highlight> +</usage> +</directivesynopsis> + +<directivesynopsis> <name>DavMinTimeout</name> <description>Minimum amount of time the server holds a lock on a DAV resource</description> |