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

Re: Subversion-1.5.1 behind Apache-2.2.9 & ErrorDocument 403

From: Hilco Wijbenga <hilco.wijbenga_at_gmail.com>
Date: Thu, 25 Sep 2008 11:07:31 -0700

Anyone? Should this work and did I make an Apache configuration
mistake? Or does Subversion ignore the text and it just outputs its
own error message?

On Sun, Sep 21, 2008 at 18:40, Hilco Wijbenga <hilco.wijbenga_at_gmail.com> wrote:
> I'm running Subversion behind Apache. I've created a setup where HTTP
> allows anonymous, read-only access and HTTPS allows read-write access
> for valid users.
>
> This all works as desired but I'd like to improve the error message
> for HTTP users who try to commit. Right now, they simply get
>
> svn: Commit failed (details follow):
> svn: Server sent unexpected return value (403 Forbidden) in response
> to MKACTIVITY request for
> '/svn/test/!svn/act/2e96e4f7-a25e-4102-96d4-e6c8458211c7'
>
> which doesn't really explain (unless you already know) what went wrong.
>
> I tried to solve this by adding
>
> ErrorDocument 403 "You don't have commit privileges."
>
> but the explanation doesn't show up when I try to commit again; I
> still get the above 403 Forbidden.
>
> Should this work? If yes, what am I doing wrong?
>
> Cheers,
> Hilco
>
> P.S. For the curious, this is the HTTP setup:
> <IfDefine SVN>
> LoadModule dav_svn_module modules/mod_dav_svn.so
> <IfDefine SVN_AUTHZ>
> LoadModule authz_svn_module modules/mod_authz_svn.so
> </IfDefine>
> <Location /svn>
> DAV svn
> SVNParentPath /var/svn/repos
> SVNListParentPath on
> AuthName "Subversion Repository"
> ErrorDocument 403 "You don't have commit privileges."
> <LimitExcept GET PROPFIND OPTIONS REPORT>
> Deny from all
> </LimitExcept>
> </Location>
> </IfDefine>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-09-25 20:07:51 CEST

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.