]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
Add DAVBasePath directive to allow users to configure the real repos
authorJoe Orton <jorton@apache.org>
Mon, 14 Aug 2023 14:40:00 +0000 (14:40 +0000)
committerJoe Orton <jorton@apache.org>
Mon, 14 Aug 2023 14:40:00 +0000 (14:40 +0000)
commit82434376765dd81f47cbfcffe796903eca8805bc
treed1e2e6fd73eb75fa7cfbd9dc32923894e73ffbbd
parent5ac647d1cf5fbcc65a6e292224b98185aa3286e1
Add DAVBasePath directive to allow users to configure the real repos
root path, useful where the DAV repos is configured with a regex match.

* modules/dav/main/mod_dav.c
  (dav_get_resource): If available, pass the configured base path
  as the repos root to repos provider.
  On the error path for fetching a resource, detect and warn
  specifically when the location is configured via a regex.
  (dav_cmd_davbasepath): New function.

PR: 35077
Github: closes #376

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1911651 13f79535-47bb-0310-9956-ffa450edef68
modules/dav/main/mod_dav.c