当我进入http://localhost/repo/myproject/并输入密码时,将显示以下信息:
This XML file does not appear to have any style information associated with it. The document tree is shown below.
<D:error xmlns:D="DAV:" xmlns:m="http://apache.org/dav/xmlns" xmlns:C="svn:">
<C:error/>
<m:human-readable errcode="2">Could not open the requested SVN filesystem</m:human-readable>
</D:error>这是我的httpd-svn.conf:
<Location /repo>
DAV svn
SVNPath “/usr/local/repo”
AuthType Basic
AuthName "Subversion repository"
AuthUserFile /etc/users
Require valid-user
</Location>
$ ls -la
drwxr-xr-x 3 _www wheel 102 Aug 11 22:22 repo我怎么才能解决这个问题?
发布于 2011-08-11 23:18:44
通过在聊天中进行故障排除,我们发现了以下错误日志:
[Fri Aug 12 00:56:10 2011] [error] [client 192.168.1.2] (20014)Internal error: Can't open file '\xe2\x80\x9c/usr/local/repo\xe2\x80\x9d/format': No such file or directory 这导致我们在配置中的引号是那些鬼鬼祟祟的,漂亮的“”引号,而不是配置友好的""引号。这招成功了!
发布于 2013-01-23 15:19:54
我也有同样的问题,但在我的例子中,这是我的钩子/后提交脚本的文件权限问题。所以我改变了文件的所有者,问题就解决了。
只是张贴,因为我来到这个帖子,同时试图搜索我的答案,因为我收到了完全不同的问题完全相同的错误信息,这可能是有用的其他人。
https://serverfault.com/questions/300295
复制相似问题