|
|

楼主 |
发表于 2007-3-24 10:00:20
|
显示全部楼层
to springwind246
我的是apache,用apt安装的。
to bufferfly
我按照您说的方法,试了一下,在/var/www/index.html。这个文件确实都已经正常显示中文了。但是我在debian下打开http://localhost,还是显示 ... 要修改才行?
我的/etc/apache/httpd.conf 为:
AddCharset ISO-8859-2 .iso-p1
修改为AddCharset utf-8或者是gb2312,都不行。
改后,运行/etc/init.d/apache restart 显示:
Configuration syntax error detected .No reloading
syntax error:
AddCharset requires at least tow arguments a charset followed by one or more file extention
eg (iso-2022.jp) |
|