[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: Patrick du Boucher <patrick.duboucher_at_gmail.com>
Date: 2007-11-06 14:24:20 CET

Hi thanks for the tip, however it has not solved the problem.

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)

Anyone have any ideas?

Patrick

On 05/11/2007, Ryan Schmidt <subversion-2007b@ryandesign.com> wrote:
>
> On Nov 5, 2007, at 07:53, Patrick du Boucher wrote:
>
> > I am unable to see the contents of the svn in an internet browser.
> > (with the httpd service)
> > I have read the threads in this list regarding my problem, but they
> > have not solved it. I hope someone can enlighten me.
> >
> > I am a relative newbie with svn admin.
> > we are running apache 2.0.52 and svn 1.4.3 . Redhat E4
> >
> > Unfortunately, upgrading the svn and apache seems to be a no-go
> > option! I do not have control of the admin!
> >
> > As far as I can see from the various docs available, all my
> > configuration files for svn are properly configured and permissions
> > are correct. But I am unable to get an svn view from an Internet
> > browser.
> >
> > Please find below all relevant files (that I can think of)
> >
> > Best Regards,
> > Patrick
> >
> > points to note:
> > All ownership permissions to files have been set to apache.apache
> > svn root is at /var/svn/repositories/
> > service httpd launches correctly
> > result is that when try http://*.*.*.39/svn I get asked for a
> > password. But the connection is never authorised. (if I remove the
> > require user from /etc/httpd/conf.d/subversion.conf I get a
> > "Forbidden" Web Page.
> >
> >
> > I would *really* appreciate a solution to this as I am getting very
> > frustrated, especially since I don't completely understand exactly
> > where the problem is arrising from!
> >
> >
> >
> > 1) /etc/httpd/conf.d/subversion.conf
> > ----------------------
> > .
> > .
> > .
> >
> > <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>
> > ----------------------
> >
> >
> > 2) /var/svn/repositories/.svn-auth-file
> > ----------------------
> > test:G5izqmADODWi.
> > ----------------------
> >
> >
> > 3) /var/svn/repositories/.svn-policy-file
> > ----------------------
> > [/]
> > * = rw
> >
> > [repositories:/cruisecontrol]
> > test = rw
> >
> > [cruisecontrol:/]
> > test = rw
> > ----------------------
> >
> >
> > 4) /var/svn/repositories/cruisecontrol/conf/svnserve.conf
> > ----------------------
> > [general]
> > ### These options control access to the repository for unauthenticated
> > ### and authenticated users. Valid values are "write", "read",
> > ### and "none". The sample settings below are the defaults.
> > anon-access = read
> > auth-access = write
> > ### The password-db option controls the location of the password
> > ### database file. Unless you specify a path starting with a /,
> > ### the file's location is relative to the conf directory.
> > ### Uncomment the line below to use the default password file.
> > #password-db = passwd
> > ### The authz-db option controls the location of the authorization
> > ### rules for path-based access control. Unless you specify a path
> > ### starting with a /, the file's location is relative to the conf
> > ### directory. If you don't specify an authz-db, no path-based access
> > ### control is done.
> > ### Uncomment the line below to use the default authorization file.
> > #authz-db = /etc/httpd/passwd/svnauthz.conf
> > ### This option specifies the authentication realm of the repository.
> > ### If two repositories have the same authentication realm, they
> > should
> > ### have the same password database, and vice versa. The default
> > realm
> > ### is repository's uuid.
> > realm = My First Repository
> > ----------------------
>
Received on Tue Nov 6 14:24:46 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.