[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 (Patrick)

From: Ryan Schmidt <subversion-2007b_at_ryandesign.com>
Date: 2007-11-06 20:13:48 CET

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
Received on Tue Nov 6 20:14:20 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.