【问题标题】:WebSVN does not show repositoriesWebSVN 不显示存储库
【发布时间】:2017-10-10 07:51:47
【问题描述】:

我正在将 svn 服务器从 CentOS 5 迁移到 CentOS 7 服务器。 我做的很简单。

我已经用 yum 包管理器安装了 subversion 和 websvn。 我已按照以下文档创建 svn 转储并在 CentOS 7 上设置 svn: https://www.vultr.com/docs/how-to-setup-an-apache-subversion-svn-server-on-centos-7

我将 config.php 配置为指向 /home/svn,如下所示:

$config->parentPath('/home/svn')

然后我像这样为 apache 配置了一个虚拟主机:

<Location /home/svn>
        DAV svn
        SVNParentPath /home/svn
        SVNListParentPath on
        AuthzSVNAccessFile /etc/subversion/svn-acl-conf
        AuthType Basic
        AuthBasicProvider ldap
        # - Removed from Apache 2.4 and beyond
        #AuthzLDAPAuthoritative off
        AuthLDAPGroupAttributeIsDN off
        AuthLDAPUrl <LDAPServer>cn=users,dc=<LDAPServer>,dc=rinis,dc=nl?uid
        AuthName "SVN: Login met je gebruikersnaam en wachtwoord"
        Require valid-user
</Location>

<VirtualHost *:80>
        DocumentRoot /var/www/html/subversion.<domain>.nl
        ServerAdmin admin@<domain>.nl
        ServerName subversion.<domain>.nl
        ServerSignature email
        DirectoryIndex index.html index.htm index.shtml index.php
        ErrorLog        /var/log/httpd/subversion-error.log
        CustomLog       /var/log/httpd/subversion-access.log combined
</VirtualHost>

WebSVN 出现了,我已经导入了一个存储库来检查它是否正常工作,但是存储库没有显示。

我看不出我错过了什么或做错了什么。

【问题讨论】:

    标签: php apache svn websvn


    【解决方案1】:

    我通过授予存储库目录正确的 (apache) 权限来解决它。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2010-10-30
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-10-09
      • 1970-01-01
      相关资源
      最近更新 更多