Svn – Setup apache and SVN

apache-2.2svn

Well I have an issue when I want to run SVN, I already explorer all the related question but I couldn't get what is wrong in my case. So that's why I decided to post my question in here, kindly help me to double check all the steps.

I am using Apache version 2.0 and my SVN version is 1.4.

I am receiving :"Forbidden You don't have permission to access /svn/ on this server." when
I enter

 http://localhost/svn/

in my computer.

Forbidden You don't have permission to access /svn/ on this server.


Apache/2.0.64 (Win32) SVN/1.4.0 DAV/2 Server at localhost Port 80

I already setup my apache and SVN server based on here but I dont know what is wrong with my setup that I am receiving permission deny error message. I am wondering help me and double check my work to identify the root cause of problem.

my httpd.conf:

<Location /svn/>
    DAV svn
    SVNParentPath c:/svnroot/ 
    SVNListParentPath on
    AuthzSVNAccessFile bin/apachesvnauth 

    AuthType Basic 
    AuthName "Subversion repository" 
    AuthUserFile bin/apachesvnpasswd 

    Require valid-user                                 </Location>

my authentication file.

[/]
* = r 

[test1:/] 
user1 = rw 
user2 

[test2:/] 
user1 = r 
user2 = rw

If you need any more information keep me posted so I can share with you.
I am using windows xp. one more thing I already assign all the read and write privilege for SVN and repository folder to my own user as well.

my apache log is as below:

> [Wed Apr 10 15:49:34 2013] [notice] Server built: Oct 18 2010 01:36:23
> [Wed Apr 10 15:49:34 2013] [notice] Parent: Created child process 1656
> [Wed Apr 10 15:49:35 2013] [notice] Child 1656: Child process is
> running [Wed Apr 10 15:49:35 2013] [notice] Child 1656: Acquired the
> start mutex. [Wed Apr 10 15:49:35 2013] [notice] Child 1656: Starting
> 250 worker threads. [Wed Apr 10 15:49:48 2013] [error] [client
> 10.8.8.139] Access denied: 'user1' GET svn:/

Best Answer

Within your <Location /svn/> block, add Order allow,deny and Allow from all.