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
> ----------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Nov 5 18:35:58 2007