In the end I managed to get this working by setting up a new vhosted
subdomain 'svn.mysite.com', used the same apache config described
below, but changed <Location /svn> to <Location />
The 403 forbidden messages seem completely useless. How do you
determine whether the problem is with your the apache conf, authz,
filesystem permissions, selinux, or what?
On 4/22/07, Jonathan Webb <webbj74@gmail.com> wrote:
> Also here are apache error logs:
>
> [Sun Apr 22 19:37:09 2007] [info] [client nnn.mmm.xx.y] Access
> granted: 'me' PROPFIND svn:/local/app/trunk/subdir/autogen
> [Sun Apr 22 19:37:09 2007] [info] [client nnn.mmm.xx.y] Access
> granted: 'me' GET svn:/local/app/trunk/subdir/autogen
> [Sun Apr 22 19:37:10 2007] [info] [client nnn.mmm.xx.y] Access
> granted: 'me' DELETE svn:
>
> Note that on that last line it just ends at "DELETE svn:"
>
> I mucked around with it some more (still no success). Changing the
> Location directive from /svn to /sxx would change "svn:/" to "sxx:/"
> in the error log after a similar checkout/add/commit sequence.
>
> I'm using Apache/2.2.3 (Red Hat), svn 1.4.2
>
> Any suggestions appreciated, thanks.
>
> On 4/21/07, Jonathan Webb <webbj74@gmail.com> wrote:
> > Any commits that include files added with "svn add" fail:
> > $ svn commit -m "msg"
> > Adding subdir/autogen
> > svn: Commit failed (details follow):
> > svn: PROPFIND request failed on '/svn/local/app/trunk/subdir/autogen'
> > svn: PROPFIND of '/svn/local/app/trunk/subdir/autogen': 403
> > Forbidden (http://host.domain.tld)
> >
> > I can checkout from http://host.domain.tld with no problem.
> > I can commit pre-existing changed files to http://host.domain.tld with
> > no problem.
> > But I cannot commit a new file after an 'svn add'
> >
> > When I initially created the repository I did so as user 'svn', and
> > imported my project using filesystem access (also as the svn user). I
> > subsequently configured apache to serve the repository to others on my
> > project team and did "chown -r apache:apache /to/my/repository"
> >
> > I've got all the right apache modules loaded (shared)
> >
> > My apache conf:
> > <Location /svn>
> > DAV svn
> > SVNPath /to/my/repository
> >
> > AuthzSVNAccessFile /to/my/svn_access
> > Satisfy Any
> > Require valid-user
> > AuthType Basic
> > AuthName "My Repository"
> > AuthUserFile /to/my/svn_users
> > </Location>
> >
> > svn_access:
> > [/]
> > me = rw
> >
> > svn_users built with "htpasswd -cm me"
> >
> > Any ideas? I am completely stumped.
> >
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Apr 24 05:55:31 2007