通过http访问svn,输入账号密码后提示错误
小鸭冲鸭 2016-04-22 04:07:51 我的apache下的subversion.conf配置如下:
<Location /svn>
DAV svn
#SvnPath /data/svn/
SVNParentPath /data/svn/
# Limit write permission to list of valid users.
#<LimitExcept GET PROPFIND OPTIONS REPORT>
# Require SSL connection for password protection.
# SSLRequireSSL
AuthType Basic
AuthName "Authorization SVN"
AuthzSVNAccessFile /data/svn/conf/authz
AuthUserFile /data/svn/conf/http_passwd
Require valid-user
#</LimitExcept>
</Location>
http_passwd文件是通过 htpasswd生成的
通过 svn://访问svn库是可以成功访问
但是通过http://访问,会提示
Authorization Required
This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.