[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: mod_dav_svn and Apache <Location> directive

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Mon, 14 Nov 2011 10:12:06 +0000

Micha√ęl Bruneel <m_at_alethes.be> writes:

> IMHO, given <Location ~ "^/(?!viewvc)" > and URL '/', mod_dav_svn
> should be able to understand the regular expression and treat '/' as
> both the path to the repository and the path inside the repository. It
> should not use raw '(?!viewvc)' data as it does now.

That's only one case out of many. What about things like?

<Location ~ "/foo(?!xxx)">
<Location ~ "/foo/(?!xxx)">
<Location ~ "/foo/(?!xxx)zig">
<Location ~ "/foo(?!xxx)/zig">
<Location ~ "/foo/(?!xxx)/zig">

Take that last one: "/foo/bar/zig/zag" matches "/foo/(?!xxx)/zig" but
what is the path to the repository and what is the path inside the

What about SVNParentPath?

Are multiple regepxs allowed?

<Location ~ "/foo/(?!xxx)/zig/(?!yyy)">

Which things should be supported? How should they behave? What is the
advantage of supporting them?

Received on 2011-11-14 11:12:51 CET

This is an archived mail posted to the Subversion Users mailing list.