Hi Philip,

  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.

  I understand that this behaviour could be a problem when the
repository itself contains a viewvc/ directory and it's better to use
totally separated URL. The point was to keep the URL and not force users
to relocate their working copy.

  Thanks for your help. Regards,

--
Michaël Bruneel
http://www.alethes.be

On sam, nov 05, 2011 at 10:13:36 +0000, Philip Martin wrote:
> Michaël Bruneel <m...@alethes.be> writes:
> 
> >     <Location ~ "^/(?!viewvc)" >
> >       DAV svn
> >       SVNPath /srv/svnroot/myproject
> >     </Location>
> 
> Given <Location /foo/bar> and an URL '/foo/bar/zig/zag' mod_dav_svn
> treats '/foo/bar' as the path to the repository and '/zig/zag' as the
> path inside the repository.
> 
> How would you Location work?  Where does '/foo/bar/zig/zag' get divided?
> 
> -- 
> Philip

Attachment: pgpLgcjuHragA.pgp
Description: PGP signature

Reply via email to