发新话题
打印

求助,中文版本库名称

求助,中文版本库名称

安装的是apache与svn
一个配置是:
<Location /jishubu/>
        DAV svn
        SVNListParentPath on
        SVNParentPath /svnroot/jishubu
        AuthType Basic
        AuthName "Restricted Files"
        AuthUserFile /svnroot/conf/passwd
        AuthzSVNAccessFile /svnroot/conf/test-authz
        Require valid-user
</Location>
在通过url访问的时候,只要 jishubu/ 下面有中文版本库名称就无法访问,出现下面的提示:

This XML file does not appear to have any style information associated with it. The document tree is shown below.
<D:error xmlns="DAV:" xmlns:m="http://apache.org/dav/xmlns" xmlns:C="svn:">
<C:error/>
<m:human-readable errcode="22">
Error converting entry in directory '/svnroot/jishubu' to UTF-8
</m:human-readable>
</D:error>

TOP

补充一下:直接配置版本库访问

<Location /中文>
DAV svn
SVNPath /svnroot/backup/中文
</Location>
提示错误:
This XML file does not appear to have any style information associated with it. The document tree is shown below.
<D:error xmlns="DAV:" xmlns:m="http://apache.org/dav/xmlns" xmlns:C="svn:">
<C:error/>
<m:human-readable errcode="22">Could not open the requested SVN filesystem</m:human-readable>
</D:error>
apache的错误日志:
[Thu Sep 08 15:26:35 2011] [error] [client 192.168.24.26] (20014)Internal error: Can't convert string from 'UTF-8' to native encoding:
[Thu Sep 08 15:26:35 2011] [error] [client 192.168.24.26] Could not fetch resource information.  [500, #0]
[Thu Sep 08 15:26:35 2011] [error] [client 192.168.24.26] Could not open the requested SVN filesystem  [500, #22]
[Thu Sep 08 15:26:35 2011] [error] [client 192.168.24.26] Could not open the requested SVN filesystem  [500, #22]

TOP

还是没人回答吗?
只要把版本库名称改成英文就可以访问的.

TOP

改 /etc/sysconfig/i18n
添加: LC_ALL=en.US.UTF-8
重启apache ,ok

TOP

新年新气象,新春节日到!祝大家节日快乐!

新年新气象,新春节日到!祝大家节日快乐!

TOP

abc61

我好像用所有的时间在回忆,时时刻刻地那样信手捏来,湖州的每一次相逢与离别,总是那样匆忙和仓促。我有种找回泰州时的青涩滋味,可理智与道德却告诉我:这不可能,这根本没有可能!我有种触摸西宁的渴望,他的发,他的面颊,他的唇,他的手;可他那么遥不可及,一股岁月的台州奔涌在我们之间

TOP

发新话题