apache2.2.6设置默认中文语言无效?

apache2.2.6设置默认中文语言无效?

DefaultLanguage zh-CN
AddLanguage zh-CN .zh-cn
AddDefaultCharset GB2312
AddCharset GB2312      .gb2312 .gb
在2.2.4下自定义的一个ftp站点,中文显示没有错误
2.2.6下死活不能默认为中文显示,请问如何解决这个问题
===================================
<Directory "/ftp/">
Options Indexes
AllowOverride None
Order deny,allow
Allow from all
</Directory>
ftp站点目录设置内容显示。
========================================
the AddDefaultCharset of apache 2.2.6 seems doesn't work in directory autoindex browing.
add IndexOptions Charset=UTF-8 in the config file/block of autoindex module.
it will work while you are browing directory with Chinese filenames.

Quotation from apache manual:

The IndexOptions directive specifies the behavior of the directory indexing. Option can be one of

Charset=character-set (Apache 2.0.61 and later)
    The Charset keyword allows you to specify the character set of the generated page. The default is either ISO-8859-1 or UTF-8, depending on whether the underlying file system is unicode or not.
    Example:

    IndexOptions Charset=UTF-8
顶一下!

我搞了半天,原来如此!!!

谢了,找了一个多月,都没搞定,按照你的方法立即有效了