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

Subversion-1.5.1 behind Apache-2.2.9 & ErrorDocument 403

From: Hilco Wijbenga <hilco.wijbenga_at_gmail.com>
Date: Sun, 21 Sep 2008 18:40:16 -0700

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

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?


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
  <Location /svn>
    DAV svn
    SVNParentPath /var/svn/repos
    SVNListParentPath on
    AuthName "Subversion Repository"
    ErrorDocument 403 "You don't have commit privileges."
      Deny from all

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-22 03:40:54 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.