Branko Čibej created SVN-4790:
---------------------------------

             Summary: Make mod_dav_svn work when enabled within a 
<LocationMatch> block.
                 Key: SVN-4790
                 URL: https://issues.apache.org/jira/browse/SVN-4790
             Project: Subversion
          Issue Type: New Feature
          Components: mod_dav_svn
    Affects Versions: all
            Reporter: Branko Čibej
            Assignee: Branko Čibej


Currently {{mod_dav_svn}} takes its the {{root_dir}} parameter from the 
argument of the {{<Location>}} block where it's configured. This does not work 
if the argument is a regular expression, as in:

{noformat}
<Location ~ REGEX>
  DAV svn
  ...
</Location>
{noformat}

or

{noformat}
<LocationMatch REGEX>
  DAV svn
  ...
</LocationMatch>
{noformat}

In these cases, the {{root_dir}} parameter will be set to the actual regular 
expression, not the path matched in the request URL. Fixing this is rather 
essential for supporting [expressions in 
{{mod_dav_svn}}|https://svn.apache.org/repos/asf/subversion/branches/mod-dav-svn-expressions/BRANCH-README].



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to