求教,RedHat9.0 web服务器中文乱码问题

由 jyhwn 在 10-02-2003 10:41 发表:

求教,RedHat9.0 web服务器中文乱码问题

我用9.0架设了web服务器,当我用浏览器浏览我自己网站上的中文网页时,出现乱码,每次都要从查看菜单种选择“简体中文”,希望各位高手不吝赐教。十万火急。


由 无相 在 10-02-2003 13:51 发表:


编辑httpd.conf文件

vi /etc/httpd/conf/httpd.conf

查找其中的AddDefaultCharset字段,设置为如下:

AddDefaultCharset GB2312

重启Apache

apachectl restart


ThinkPad A21M

CPU:P3 700

RAM:25

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus