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

mod_dav_svn uses incorrect paths with LocationMatch [v2]

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • rhel-9.4
    • httpd
    • httpd-2.4.57-8.el9
    • None
    • Important
    • rhel-sst-cs-stacks
    • ssg_core_services
    • None
    • 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, if a Distributed Authoring and Versioning (DAV) repository was configured 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).

      With this update, you can specify the repository root path by using the new `DevBasePath` directive in the `httpd.conf` file. For example:

      ----
      <LocationMatch "^/repos/">
          DAV svn
          DavBasePath /repos
          SVNParentPath /var/www/svn
      </LocationMatch>
      ----

      As a result, `httpd` handles requests correctly if a DAV repository location is configured by using a regular expression match.
      Show
      .`httpd` works correctly if a DAV repository location is configured by using a regular expression match Previously, if a Distributed Authoring and Versioning (DAV) repository was configured 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). With this update, you can specify the repository root path by using the new `DevBasePath` directive in the `httpd.conf` file. For example: ---- <LocationMatch "^/repos/">     DAV svn     DavBasePath /repos     SVNParentPath /var/www/svn </LocationMatch> ---- As a result, `httpd` handles requests correctly if a DAV repository location is configured by using a regular expression match.
    • Proposed
    • None

      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

              rhn-engineering-jorton Joe Orton
              rhn-support-aogburn Aaron Ogburn
              Lubos Uhliarik Lubos Uhliarik
              Branislav Náter Branislav Náter
              Mugdha Soni Mugdha Soni
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: