久久久久久久视色,久久电影免费精品,中文亚洲欧美乱码在线观看,在线免费播放AV片

<center id="vfaef"><input id="vfaef"><table id="vfaef"></table></input></center>

    <p id="vfaef"><kbd id="vfaef"></kbd></p>

    
    
    <pre id="vfaef"><u id="vfaef"></u></pre>

      <thead id="vfaef"><input id="vfaef"></input></thead>

    1. 站長資訊網(wǎng)
      最全最豐富的資訊網(wǎng)站

      centos下apache環(huán)境出現(xiàn)亂碼怎么解決

      centos下apache環(huán)境出現(xiàn)亂碼怎么解決

      問題描述:

      在CentOS系統(tǒng)中采用Apache服務(wù)器安裝GBK編碼的程序出現(xiàn)亂碼。

      分析:

      這主要是因?yàn)槟J(rèn)安裝的Apache服務(wù)器字符編碼為UTF-8,如果GBK程序中沒有強(qiáng)制編碼將產(chǎn)生亂碼。

      (推薦教程:centos教程)

      解決方法:

      1、打開Apache配置文件httpd.conf,如默認(rèn)情況下為 /etc/httpd/conf/httpd.conf

      # vi /etc/httpd/conf/httpd.conf

      2、找到AddDefaultCharset配置項(xiàng)

      AddDefaultCharset UTF-8

      3、修改AddDefaultCharset配置,關(guān)閉配置字符,如下:

      AddDefaultCharset Off

      4、同時(shí)也可設(shè)置Apache默認(rèn)編碼為GB2312,如下:

      AddDefaultCharset GB2312

      相關(guān)視頻教程推薦:linux視頻教程

      贊(0)
      分享到: 更多 (0)
      網(wǎng)站地圖   滬ICP備18035694號(hào)-2    滬公網(wǎng)安備31011702889846號(hào)