【发布时间】:2015-09-01 22:13:54
【问题描述】:
我正在尝试在我的服务器上设置一个 SVN 存储库。我已按照常规步骤配置存储库。通过使用“http://myip/svn”并提交“需要身份验证”表单(使用有效的用户名和密码)后,我得到了:
This XML file does not appear to have any style information associated with it. The document tree is shown below.
<D:error>
<C:error/>
<m:human-readable errcode="13">Could not open the requested SVN filesystem</m:human-readable>
</D:error>
我在“/home/svn/”目录中使用svnadmin create repos 创建了存储库。然后我使用chown -R apache.apache /home/svn/ 递归地更改目录的所有者。
我正在使用以下“subversion.conf”:
LoadModule dav_svn_module modules/mod_dav_svn.so
LoadModule authz_svn_module modules/mod_authz_svn.so
<Location /svn>
DAV svn
SVNPath /home/svn/repos
AuthType Basic
AuthName "SVN Repository"
AuthUserFile /etc/repos-users
Require valid-user
</Location>
我也使用过chmod -R g+rws /home/svn/,但它没有帮助。我认为将 apache 访问到 svn 目录是错误的。
有人知道我应该如何解决它吗?
【问题讨论】:
-
我还通过
SVNListParentPath on和SVNParentPath /home/svn/repos在“subversion.conf”中的一个存储库设置上尝试了多个项目,我得到:这个XML 文件似乎没有任何与之关联的样式信息。文档树如下所示。Can't open directory '/home/svn/repos': Permission denied :错误> -
SVNParentPath /home/svn/reposis 错误,如果 /repos 已经包含存储库