<Location /svn>
DAV svn
#SVNListParentPath on
SVNParentPath d:\svn ### apache auth begin
# how to authenticate a user
AuthType Basic
AuthName "请输入登陆密码"
###(保存用户名和密码,这个文件需要用Apache的htpasswd工具创建)
###AuthUserFile D:\SubversionAuthor\apache_authz
AuthUserFile D:\SubversionAuthor\apache_authz
Require valid-user
### apache auth end ### svn auth begin
# our access control policy
##(保存用户访问的权限策略)
##AuthzSVNAccessFile D:\SubversionAuthor\svn_authz
##AuthzSVNAccessFile D:\SubversionAuthor\svn_authzfile
# authentication if necessary
#Satisfy Any
### svn auth end
</Location>
DAV svn
#SVNListParentPath on
SVNParentPath d:\svn ### apache auth begin
# how to authenticate a user
AuthType Basic
AuthName "请输入登陆密码"
###(保存用户名和密码,这个文件需要用Apache的htpasswd工具创建)
###AuthUserFile D:\SubversionAuthor\apache_authz
AuthUserFile D:\SubversionAuthor\apache_authz
Require valid-user
### apache auth end ### svn auth begin
# our access control policy
##(保存用户访问的权限策略)
##AuthzSVNAccessFile D:\SubversionAuthor\svn_authz
##AuthzSVNAccessFile D:\SubversionAuthor\svn_authzfile
# authentication if necessary
#Satisfy Any
### svn auth end
</Location>
解决方案 »
- 数据库内容在网页中显示时出现乱码
- 在本地apache搭建项目时碰到的500错误
- php测试通过。。但是经理说逻辑有问题。。。请提意见。。。
- 请教如何自动创建年月文件夹如文件夹名称为200908?
- php 中的snoopy是啥东东呀?是用做网络采集的吗??
- 输入前提示??大侠提示
- 哪位朋友可以给一个PHP4导航栏的代码(1 2 3 4 5 6 这样的)
- 关于自定义函数的
- 有个问题请教大家
- 表单提交后提示错误:The request method of POST is not allow by URL/index.htm
- xml.php 处理 xml 文件提示错误 代码附 谢谢
- 请问这个文件xml.php代码附后是不是用来处理xml文件的?谢谢
$svn_passwd_file = "D:\\SubversionAuthor\\apache_authz";
$svn_access_file = "d:\\SubversionAuthor\\svn_authzfile";// If $svnserve_user_file is defined, then SVNManager will create a
// user/password file suitable for use with SVNSERVE
//$svnserve_user_file = "D:\\SubversionAuthor\\svnserve_user_file";
$htpassword_cmd = "d:\\Progra~1\\Apache~1\\Apache2.2\\bin\\htpasswd";
$svn_cmd = "D:\\svnServer\\bin\\svn";
$svnadmin_cmd = "D:\\svnServer\\bin\\svnadmin";//Subversion locations
$svn_repos_loc = "d:\\svn";
$svn_passwd_file = "D:\\SubversionAuthor\\apache_authz";
$svn_access_file = "d:\\SubversionAuthor\\svn_authzfile";// If $svnserve_user_file is defined, then SVNManager will create a
// user/password file suitable for use with SVNSERVE
//$svnserve_user_file = "D:\\SubversionAuthor\\svnserve_user_file";
设置用户密码,
$svn_passwd_file = "D:\\SubversionAuthor\\apache_authz";
$svn_access_file = "d:\\SubversionAuthor\\svn_authzfile";
请问上面的svn apache_authz svn_authzfile这些是自己手工建的文件?还是自动生成的,其中文件内容应该怎么写??谢谢
svn权限配置文件svn_authzfile自己创建的
文件大致格式如下[项目名:项目路径]
用户名 = rw # r read, w write例子 tom拥有a项目的根目录的读写权限 kate 有读的权限
[a:/]
tom = rw
kate = r