Quoting Himanshu Raina <raina_himanshu@yahoo.com>:
> Hi,
>
> I have installed subversion-1.4.2 on FC6.The problem is that while trying to
> access the repository over http it gives me an error.The steps are listed
> below
> Apache Server version = Apache/2.2.3
>
> 1> mkdir /usr/local/svn
> 2> svnadmin create /usr/local/svn/repository
> 3> Now i created a passwd file using htpasswd utility (the file is placed as
> /usr/local/apache2/bin/passwd)
> ./htpasswd -c passwd himanshu_raina
> 4>Then i created a file called svnaccessfile wherein the following access was
> defined
> /usr/local/svn/repository/conf/svnaccessfile
> ---------------------------------------------------------------------
> [groups]
> admin = himanshu_raina
> # Default access rule for ALL repositories
> # Everyone can read, admins can write, Dan German is excluded.
> [/]
> * = r
> @admin = rw
> ---------------------------------------------------------------------
> 5> In apache.conf i have added the following
>
> <Location /svn>
> DAV svn
> SVNListParentPath on
> SVNParentPath /usr/local/svn/
> AuthType Basic
> AuthName "Subversion repository"
> AuthUserFile /usr/local/apache2/bin/passwd
> AuthzSVNAccessFile /usr/local/svn/repository/conf/svnaccessfile
> Require valid-user
> </Location>
> The problem is when i access it using
> http://myserver.com/svn
> it prompts for id/password after which i get the following error.
>
> Forbidden
>
> You don't have permission to access /svn/ on this server.
>
>
> Please advice as to what could be wrong.
Two possibilities:
a. if you want to see a list of repositories, you should change <Location /svn>
to <Location /svn/>.
b. to access one repository, you should use the url
http://myserver.com/svn/repository
hth,
Lieven
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Dec 28 11:48:15 2006