You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Khoiwal Tara <kh...@yahoo.co.in> on 2005/04/16 08:12:32 UTC

i am getting forbidden error 403 while accessing subversion repository

Hello,
I have configured the apache server for subversion as described in subversion book.First when I haven't specified user authentication it simply gives me access denied error.When I added user authentication and access permissions I got server internal error 500.
I have configured the file as follows:
<Location /svn/repos>
    DAV svn
    SVNParentPath /home/svnroot
    AuthzSVNAccessFile /etc/svn-access-file
   Satisfy Any
   Require valid-user
   AuthType Basic
   AuthName "Authorization Realm"
  AuthUserFilr /etc/svn-auth-file
</Location>
And tell me should i have to create root directory alse as the subversion directory?i.e by svnadmin create command?


		
---------------------------------
Do you Yahoo!?
 Plan great trips with Yahoo! Travel: Now over 17,000 guides!

Re: i am getting forbidden error 403 while accessing subversion repository

Posted by "Ronny T. Lampert" <te...@uni.de>.
> And tell me should i have to create root directory alse as the
> subversion directory?i.e by svnadmin create command?

IIRC the book is relatively detailed on this issue:
You must create all paths and repositores before using them and make sure
the access rights are correctly set so the webserver can access them.
Also a look into the log-files and the SVN-FAQ will help ;-)

So, for you this will be like:

# mkdir -p /home/svnroot
# svnadmin create /home/svnroot
# chown -R <user-the-webserver-runs-as> /home/svnroot

Then start apache.

You might want to look at similar http problems in the archive, too.

Cheers,
Ronny


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org