Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-79948

mod_dav_svn: inherit DavBasePath setting from httpd

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • rhel-stacks-web-servers
    • ssg_core_services
    • 3
    • False
    • False
    • Hide

      None

      Show
      None
    • Yes
    • None
    • Bug Fix
    • Hide
      .`httpd` works correctly if a DAV repository location is configured by using a regular expression match

      Previously, when you configured a Distributed Authoring and Versioning (DAV) repository in the Apache HTTP Server by using a regular expression match, such as `LocationMatch`, the `mod_dav` `httpd` module was unable to determine the root of the repository from the path name. As a consequence, `httpd` did not handle requests from third-party providers, for example, Subversion's `mod_dav_svn` module.

      This update introduces a new `DavBasePath` directive for the `httpd.conf` file, which allows you can specify the repository root path explicitly. For example:
      ----
      <LocationMatch "^/repos/">
          DAV svn
          DavBasePath /repos
          SVNParentPath /var/www/svn
      </LocationMatch>
      ----

      As a result, `httpd` can correctly handle requests when you configure a DAV repository location by using a regular expression match.
      Show
      .`httpd` works correctly if a DAV repository location is configured by using a regular expression match Previously, when you configured a Distributed Authoring and Versioning (DAV) repository in the Apache HTTP Server by using a regular expression match, such as `LocationMatch`, the `mod_dav` `httpd` module was unable to determine the root of the repository from the path name. As a consequence, `httpd` did not handle requests from third-party providers, for example, Subversion's `mod_dav_svn` module. This update introduces a new `DavBasePath` directive for the `httpd.conf` file, which allows you can specify the repository root path explicitly. For example: ---- <LocationMatch "^/repos/">     DAV svn     DavBasePath /repos     SVNParentPath /var/www/svn </LocationMatch> ---- As a result, `httpd` can correctly handle requests when you configure a DAV repository location by using a regular expression match.
    • Done
    • None
    • 57,005

      Description of problem:

      When using mod_dav_svn in an LocationMatch block the repository path passed down to mod_dav_svn is incorrect. This looks very similar to https://bz.apache.org/bugzilla/show_bug.cgi?id=35077.

      Version-Release number of selected component (if applicable):

      httpd-2.4.53-11.el9_2.5.x86_64
      mod_dav_svn-1.14.1-5.el9_0.x86_64

              luhliari@redhat.com Lubos Uhliarik
              rhn-support-aogburn Aaron Ogburn
              Tomáš Korbař Tomáš Korbař
              Iveta Kyralova Iveta Kyralova
              Mugdha Soni Mugdha Soni
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated: