[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: Michaël Bruneel <m_at_alethes.be>
Date: Sat, 12 Nov 2011 02:22:28 +0100

  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_at_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

  • application/pgp-signature attachment: stored
Received on 2011-11-12 02:23:20 CET

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.