我无法检查我的svn-server上的存储库 . Subversion服务器版本也是1.8和乌龟 . 其他计算机没有问题 . 它工作正常 . 只有一个可以说192.168.1.5当我使用浏览器时在这台电脑上:
http://svn-server/my_repo
这里没有问题 . 所以这不是DNS问题 .
乌龟错误:
Subversion reported an error:
Unable to connect to a repository at URL 'http://svn-server/my_repo'
Server sent unexpected return value (503 Service Unavailable) in response to
OPTIONS request for http://svn-server/my_repo
Tortoise C:\Program Files\TortoiseSVN\bin\svn.exe log http://svn-server/my_repo
产生了这个例外:
svn: E175002: OPTIONS request on '/my_repository' failed: 503 Service Unavailable
Apache错误日志:
[error] [client 192.168.1.5] access to /my_repo failed, reason: require directives present and no Authoritative handler.
Apache subversion配置:
<Location /my_repo>
DAV svn
SVNPath /srv/svn/repos/ict
Order deny,allow
Deny from all
AuthType Basic
AuthBasicProvider ldap
AuthName "Subversion My_Repo"
AuthzLDAPAuthoritative off
AuthLDAPURL ldap://my_ldap/dc=domain,dc=com?cn?sub
Allow from 192.168.1.0/255.255.255.0
Require ldap-attribute title=repo
</Location>
当然ldap用户有这个属性,计算机在ip范围内 .
当我尝试使用网络中的不同计算机时,即使使用较旧版本的乌龟1.7,它也能正常工作 . 为什么它只适用于这个特定的一个,什么是apache错误告诉我?
1 回答
您有网络问题,很可能是代理或其他问题 .
打开TortoiseSVN的设置并导航到“网络”,仔细检查您是否拥有与浏览器相同的代理配置 .
我在搜索错误代码“svn:E175002”后找到了这个 .