Apache配置文件httpd.conf
<Location /svn>
DAV svn
#SVNListParentPath on
SVNParentPath D:svn
AuthType Basic
AuthName "Subversion repositories"
AuthUserFile "D:svnpasswd"
Require valid-user
AuthzSVNAccessFile "d:svnaccessfile"
</Location>
d:svnroot目录下,TortoiseSVN ---> SVN Create repository here ,创建版本库
D:AppServApache2.2bin>htpasswd.exe -cm d:svnpasswd admin
New password: *****
Re-type new password: *****
Adding password for user admin
d:svnaccessfile文件修改为:
[groups]
root = admin //意思是root组里面有用户admin
[/]
@root = rw //root组里面的用户对根目录有写和读的权限
[root:/]
@root = rw //root组里面的用户对root版本库有写和读的权限
重启Apahce服务器。
浏览器输入:http://IP地址/svn/root,网页显示:
Forbidden
You don't have permission to access /svn/root on this server.
请问这是为什么呢?谢谢大家!
<Location /svn>
DAV svn
#SVNListParentPath on
SVNParentPath D:svn
AuthType Basic
AuthName "Subversion repositories"
AuthUserFile "D:svnpasswd"
Require valid-user
AuthzSVNAccessFile "d:svnaccessfile"
</Location>
d:svnroot目录下,TortoiseSVN ---> SVN Create repository here ,创建版本库
D:AppServApache2.2bin>htpasswd.exe -cm d:svnpasswd admin
New password: *****
Re-type new password: *****
Adding password for user admin
d:svnaccessfile文件修改为:
[groups]
root = admin //意思是root组里面有用户admin
[/]
@root = rw //root组里面的用户对根目录有写和读的权限
[root:/]
@root = rw //root组里面的用户对root版本库有写和读的权限
重启Apahce服务器。
浏览器输入:http://IP地址/svn/root,网页显示:
Forbidden
You don't have permission to access /svn/root on this server.
请问这是为什么呢?谢谢大家!
