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

Re: Subversion with Apache permission denied

From: Dextrous <dextrous85_at_gmail.com>
Date: Tue, 30 Jun 2009 18:53:24 +0530

I know its a dumb question but just in case you might have missed it.
have you added your name /srv/svn/svn-acl-conf ?

it would help if you can show the svn-acl-conf

On Tue, Jun 30, 2009 at 6:36 PM, Whos The JBoss <subversion_at_changethings.org
> wrote:

> 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 all of my repos anonymously.
>
> However, if I delete this and add just this location so that only one of my
> repos is available and with authentication required:
>
> <Location /svn/myrepo>
> DAV svn
> SVNPath /srv/svn/myrepo
> AuthType Basic
> AuthName "Link Drop Repository"
> AuthzSVNAccessFile /srv/svn/svn-acl-conf
> AuthUserFile /srv/svn/myrepo.htpasswd
> </Location>
>
> When I visit localhost/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/myrepo 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=1065&dsMessageId=2366699
>
> To unsubscribe from this discussion, e-mail: [
> users-unsubscribe_at_subversion.tigris.org].
>

-- 
Cheers,
Vishwajeet
http://www.singhvishwajeet.com
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2366704
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-06-30 15:24:22 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.