[英]WebSVN does not show repositories
I am migrating a svn server from CentOS 5 to a CentOS 7 Server. 我正在将svn服务器从CentOS 5迁移到CentOS 7服务器。 What I did is very simple.
我所做的非常简单。
I have installed subversion and websvn with yum package manager. 我已经用yum软件包管理器安装了subversion和websvn。 I have followed following document to create svn dumps and to set up svn on CentOS 7: https://www.vultr.com/docs/how-to-setup-an-apache-subversion-svn-server-on-centos-7
我已遵循以下文档创建svn转储并在CentOS 7上设置svn: https : //www.vultr.com/docs/how-to-setup-an-apache-subversion-svn-server-on-centos- 7
I configured config.php to point to /home/svn like so: 我将config.php配置为指向/ home / svn,如下所示:
$config->parentPath('/home/svn')
I then configured a virtualhost for apache like so: 然后,我为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 is showing up, I have imported one repository to check if it's working, but the repository does not show. WebSVN正在显示,我已导入一个存储库以检查其是否正常运行,但该存储库未显示。
I can't see what I am missing or doing wrong. 我看不到我所缺少或做错的事情。
我通过向存储库目录授予正确的(apache)权限来解决它。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.