å¦ä¸€ç§æ–¹æ³•是:
- SSH登陆VPS,修改apacheçš„httpd.conf(ä½äºŽ/etc/httpd/conf/ ç„¶åŽæŸ¥æ‰¾ï¼šAddDefaultCharset 把AddDefaultCharset UTF8 改为:AddDefaultCharset OFF ç„¶åŽé‡å¯WebæœåС噍/etc/init.d/httpd restart
- ç„¶åŽä¿®æ”¹ç½‘站的.htaccessæ–‡ä»¶ï¼Œæ·»åŠ ä»¥ä¸‹ä»£ç
AddDefaultCharset gb2312
AddCharset gb2312 .html
AddType 'text/html; charset=gb2312' html