1.修改/etc/httpd/conf/httpd.conf 文件,将其中AddDefaultCharset行注释掉(前面加#)。
2.保存后重新启动apache
/usr/sbin/apachectl restart或者service httpd restart
3.在浏览器重新访问(如果没有变化清除浏览器缓存再看)
1.修改/etc/httpd/conf/httpd.conf 文件,将其中AddDefaultCharset行注释掉(前面加#)。
2.保存后重新启动apache
/usr/sbin/apachectl restart或者service httpd restart
3.在浏览器重新访问(如果没有变化清除浏览器缓存再看)