访问svn repo时svn没有提示

时间:2017-01-27 05:27:26

标签: authentication svn

我已在fedoa中安装了svn1.9.4(apache颠覆)。请遵循此link。  然后,创建并配置SVN存储库然后转到http://localhost/svn/testrepo它不会丢弃用户名和密码进行身份验证以访问存储库

配置文件:

等/ httpd的/ conf.modules.d / 10-subversion.conf

    LoadModule dav_svn_module     modules/mod_dav_svn.so
    LoadModule authz_svn_module   modules/mod_authz_svn.so
    LoadModule dontdothat_module  modules/mod_dontdothat.so

    <Location /svn>
       DAV svn
       SVNParentPath /var/www/svn

       # Limit write permission to list of valid users.
       <LimitExcept GET PROPFIND OPTIONS REPORT>
          # Require SSL connection for password protection.
          # SSLRequireSSL

          AuthType Basic
          AuthName "Subversion repositories"
          AuthUserFile /etc/svn-auth-users
          #AuthzSVNAccessFile /etc/svn-access-control
          Require valid-user
       </LimitExcept>
    </Location>

无功/网络/ SVN / testrepo / CONF / svnserve.conf的

[general]

 anon-access = none
 auth-access = write
 password-db = passwd
 authz-db = authz
 realm = testrepo

无功/网络/ SVN / gworksrepo / CONF / passwd的

[users]
 user1 = password1
 user2 = password2

注意:我引用此link,但我仍有同样的问题

建议我配置错误以及如何解决此问题

0 个答案:

没有答案