Can someone help please!!
From: Himanshu Raina <raina_himanshu_at_yahoo.com>
Date: 2007-01-03 14:45:55 CET
HI,
I have installed subversion-1.4.2 on my server.In order to access it over http i modified the httpd.conf like this
The svn repository is located in /usr/local/svn/svn_repos/
/usr/local/apache2/conf/httpd.conf
<Location /svn_repos> where /svn_repos is the name of the repository
DAV svn
SVNListParentPath on
SVNParentPath /usr/local/svn/ -- the path to svn repository
# how to authenticate a user
AuthType Basic
AuthName "Subversion repository"
AuthUserFile /etc/svn-auth-file --> created a dummy user for testing
# our access control policy
AuthzSVNAccessFile /usr/local/svn/svn_repos/conf/svnaccessfile --> the dummy user is admin
# only authenticated users may access the repository
Require valid-user
</Location>
Contents of /usr/local/svn/svn_repos/conf/svnaccessfile
[groups]
admin = himanshu_raina
# Default access rule for ALL repositories
# Everyone can read, admins can write.
[/]
* = r
@admin = rw
Now when i give the url
http://www.myname.com/svn_repos
I get the following error
Forbidden
You don't have permission to access /svn_repos
on this server.
Please let me know what could be the problem.Is it the way httpd.conf has been edited.I searched for the same on net but it didn't help.
thanks and regards
Himanshu Raina
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
|
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.