I have a new repository on a new server that uses CentOS and has CPanel for management. Getting SVN to work with CPanel was a pain but now it works ok, I can create repositories, I can checkout and I can see the repositories in browser. I can even commit if I try from command line, on the server, as root. The problem is that on my local working copy I get the following error when I try to commit.

svn: Commit failed (details follow):
svn: PUT of '/svn/testrepo/!svn/wrk/a9b6652a-2f01-0010-83aa-f9ff957523f6/index.php': 403 Forbidden

The repository is owned by the apache user and it has the right permissions. I've googled it for a while now and from what I can tell there is some Allow/Deny directive in the CPanel generated apache config that generates the 403 error.

The repositories are at
And I access them by:

So /home/repos/testrepo should match http://site.com/svn/stestrepo

EDIT: The logs look something like http://pastebin.com/cDkHMgrN

closed as off-topic by Jenny D, Ladadadada, Scott Pack, Falcon Momot, Ward Jun 29 '13 at 4:00

  • This question does not appear to be about server, networking, or related infrastructure administration within the scope defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

  • What do apache's logs say about the request? – DerfK Apr 6 '11 at 12:44
  • 3
    This question appears to be off-topic because it concerns the use of shared web hosting by end users or resellers, rather than the administration of web hosting. – Jenny D Jun 28 '13 at 9:32

The problem was indeed related to the Allow/Deny directives ( I suppose CPanel has something to do with it).

After trying several configurations I added:

Order allow,deny
Allow from all

right after SVNParentPath in the svn apache config.

That did the trick!

Not the answer you're looking for? Browse other questions tagged or ask your own question.