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

mod_dav_svn uses incorrect paths with LocationMatch

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Major Major
    • rhel-9.4
    • rhel-9.4
    • httpd
    • httpd-2.4.57-8.el9
    • Major
    • sst_cs_infra_services
    • ssg_core_services
    • 24
    • 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.
    • Done
    • 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
            Lenka Špačková Lenka Špačková
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: