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

R: Error 500

From: Stefano Mora <smora_at_eos.pr.it>
Date: Fri, 4 Nov 2011 11:59:45 +0100

>
> > Your reading is partially incorrect:
> > We need to define some paths and repositories.
> >
> >> This is based on your statement below that you want to access
> >> http://srveos:8080/dev and see a list of repositories.
> >
> > Not correct, we need to view inner folders ( eos, xxx, yyy): inside them we
> want to see the list of repositories.
> > http://srveos:8080/dev/
> > -> eos - Folder
> > -> xxx - Folder
> > -> yyy - Folder
> >
> > http://srveos:8080/dev/eos
> > -> Proj1
> > -> Proj2
> >
> > We will also have something like http://srveos:8080/prod/eos/ and
> http://srveos:8080/prod/xxx.
> >
> > So, we need to browse until 'eos', then see the SVN repo.
>
> I see. Well Subversion doesn't directly supported nested directories like that.
> So you'll have to set up three separate directives, one for each of your top-
> level folders, i.e.:
>
> <Location /dev/eos>
> SVNParentPath e:/svnroot/dev/eos
> ...
> </Location>
>
> <Location /dev/xxx>
> SVNParentPath e:/svnroot/dev/xxx
> ...
> </Location>
>
> <Location /dev/yyy>
> SVNParentPath e:/svnroot/dev/yyy
> ...
> </Location>

Yes, this is done, i reported only one (eos).
Now i have the '/dev' level is defined with an Alias to allow browsing.
The '/dev/eos', '/dev/xxx', '/dev/yyy' are defined with different <Location>s.

Result: I'm able to browse by the IE all the folders, both from the file system and SVN).
When I access them from the Tortoise client I always receive 'Redirect cycle' error.

c:\temp>
c:\temp>\Programmi\TortoiseSVN\bin\svn list http://srveos:8080/dev/eos
Redirecting to URL 'http://srveos:8080/dev/eos':
Redirecting to URL 'http://srveos:8080/dev/eos':
svn: E195019: Redirect cycle detected for URL 'http://srveos:8080/dev/eos'

c:\temp>\Programmi\TortoiseSVN\bin\svn list http://srveos:8080/dev/eos/DiagX
Redirecting to URL 'http://srveos:8080/dev/eos/DiagX':
Redirecting to URL 'http://srveos:8080/dev/eos/DiagX':
svn: E195019: Redirect cycle detected for URL 'http://srveos:8080/dev/eos/DiagX'

On the log I see:

[Fri Nov 04 11:54:37 2011] [info] [client 192.168.0.36] Access granted: 'mora' OPTIONS (null)
[Fri Nov 04 11:54:37 2011] [info] [client 192.168.0.36] Access granted: 'mora' OPTIONS (null)
[Fri Nov 04 11:54:45 2011] [debug] mod_authz_svn.c(193): [client 192.168.0.36] Path to authz file is E:/svnroot/svn-acl
[Fri Nov 04 11:54:45 2011] [info] [client 192.168.0.36] Access granted: 'mora' OPTIONS DiagX:/
[Fri Nov 04 11:54:45 2011] [debug] mod_authz_svn.c(193): [client 192.168.0.36] Path to authz file is E:/svnroot/svn-acl
[Fri Nov 04 11:54:45 2011] [info] [client 192.168.0.36] Access granted: 'mora' OPTIONS DiagX:/
 
Received on 2011-11-04 12:01:44 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.