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

RE: Problems viewing the svn repo in an internet browser

From: Trauger, Theresa J <theresa.j.trauger_at_lmco.com>
Date: 2007-11-06 20:59:22 CET

I just did this very thing today and had to use:
<Location /svn/>

Then I could see my list of repositories at:
http://ServerNameOrIP/svn/

I had to put the slash on the end.

-----Original Message-----
From: Ryan Schmidt [mailto:subversion-2007b@ryandesign.com]
Sent: Tuesday, November 06, 2007 2:14 PM
To: Patrick du Boucher
Cc: users@subversion.tigris.org
Subject: Re: Problems viewing the svn repo in an internet browser
(Patrick)

On Nov 6, 2007, at 07:24, Patrick du Boucher wrote:

> On 05/11/2007, Ryan Schmidt wrote:
>
>> On Nov 5, 2007, at 07:53, Patrick du Boucher wrote:
>>
>> > <Location /svn>
>> > DAV svn
>> > SVNPath /var/svn/repositories
>>
>> You either need to point "SVNPath" at a single repository, or if you
>> want to have several repositories, then change "SVNPath" to
>> "SVNParentPath". If the latter, you may also want "SVNListParentPath
>> on".
>>
>>
>> > AuthType Basic
>> > AuthName "cruisecontrol"
>> > AuthUserFile /var/svn/repositories/.svn-auth-file
>> > AuthzSVNAccessFile /var/svn/repositories/.svn-policy-file
>> > Require valid-user
>> > </Location>
>
> Hi thanks for the tip, however it has not solved the problem.

It is, however, definitely a necessary step.

You showed is the path "/var/svn/repositories/cruisecontrol/conf/
svnserve.conf". This shows me that inside the directory /var/svn/
repositories, you have a repository called cruisecontrol. You must
either use:

SVNPath /var/svn/repositories/cruisecontrol

or if you have several repositories under /var/svn/repositories that
you would like to serve with the same authorization files, then you
must use:

SVNParentPath /var/svn/repositories

> I think I'm already able to make the connection as I get prompted
> for the password on this URL (http://x.x.x.39/cruisecontrol ), but
> when I enter in details, the prompt just re-iterates itself.
> (problem delivering the passwords I presume, as the user/passwd
> are correct)

Based on your <Location /svn> directive, that's not a correct URL for
your repositories. If you're using SVNPath pointing to a single
repository, then the correct URL would be:

http://ServerNameOrIP/svn

If you're using SVNParentPath pointing to a directory containing
repositories, then the correct URL would be:

http://ServerNameOrIP/svn/RepositoryName

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Nov 6 20:59:56 2007

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.