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

Subversion with Apache on CentOS

From: whostheJBoss <dotfusion_at_changethings.org>
Date: Tue, 30 Jun 2009 05:27:12 -0700 (PDT)

I have just installed Subversion and connected it with Apache. When I
have only this location setup in my subversion.conf:

<Location /svn>
DAV svn
SVNParentPath /srv/svn
</Location>

I can access my repos anonymously.

However, if I delete this and add:

<Location /svn/myrepo>
DAV svn
SVNPath /srv/svn/linkd
AuthType Basic
AuthName "Link Drop Repository"
AuthzSVNAccessFile /srv/svn/svn-acl-conf
AuthUserFile /srv/svn/myrepo.htpasswd
</Location>

When I visit myserver.com/svn/myrepo I am prompted for a password. If
I enter the password INCORRECTLY I am prompted again, so it's checking
my password. If I enter the password correctly, the prompt lets me
through but then I receive a 403 error: You don't have permission to
access /svn/linkdrop on this server from Apache

So, I can hit svn/myrepo anonymously, but when using auth I can't.

If I try:

svn list http://localhost/svn/myrepo I get:

svn: PROPFIND request failed on '/svn/myrepo'
svn: PROPFIND of '/svn/myrepo': 403 Forbidden (http://localhost)

The owner of my srv/svn is apache.apache

Any help here would be great, thanks!!!

I am running Apache 2.2. on CentOS 5.3

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2366682
Received on 2009-06-30 14:29:26 CEST

This is an archived mail posted to the Subversion Dev mailing list.