|
在httpd.conf文件中设置
<Location /svn/mytest>
DAV svn
SVNParentPath D:/M_SVN
AuthType Basic
AuthName "Subversion repositories"
AuthzSVNAccessFile D:/M_SVN/test/conf/authz
AuthUserFile D:/M_SVN/test/conf/passwords
Require valid-user
</Location>
<Location /svn/MyEclipse>
DAV svn
SVNParentPath D:/M_SVN
AuthType Basic
AuthName "Subversion repositories"
AuthzSVNAccessFile D:/M_SVN/test/conf/authz
AuthUserFile D:/M_SVN/test/conf/passwords
Require valid-user
</Location>
两个配置库 都是在D:/M_SVN目录下,这里想用同一个策略文件和密码文件。
如果这样的话,怎么区分访问的是那个配置库???
同时加上SVNParentPath on 停止服务,然后重启则出现
Syntax error on line 964 of C:/Apache/Apache2/conf/httpd.conf:
SVNPath cannot be defined at same time as SVNParentPath.
Note the errors or messages above, and press the <ESC> key to exit.错误
查了好多资料还是不太明白,谁能给讲解一下,最好能带几个案例。谢谢各位大侠了 |
|