[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 assert on root location

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Wed, 12 Dec 2012 14:13:34 +0000

Erez Zarum <erezzarum_at_gmail.com> writes:

> I am trying to create a master slave configuration with proxy requests
> through the slave, i have used this configuration on the slave:
> <Location />
> DAV svn
> SVNPath /scratch/repo
> ....
> SVNMasterURI "http://master.server.com/svn"
> ...
> </Location>
>
> In 1.7.7 the SVNMasterURI won't let me use http://master.server.com/
> in 1.6.19 it will.

That was a deliberate change in r1064734. I'm not sure what went wrong
with that setup but the log message is:

  Disallow attempts to proxy to the server root of a master server. It
  really just doesn't pan out well when you do.

> But when i use <Location /> i get the following assert in the apache
> error_log (the main log): "httpd: subversion/mod_dav_svn/mirror.c:47:
> proxy_request_fixup: Assertion `(uri_segment[0] == '\0') ||
> (uri_segment[0] == '/')' failed."
> If i use <Location /url> then everything works as expected.

I've raised
http://subversion.tigris.org/issues/show_bug.cgi?id=4272
for the assert.

-- 
Certified & Supported Apache Subversion Downloads:
http://www.wandisco.com/subversion/download
Received on 2012-12-12 15:14:13 CET

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