久久久久久久视色,久久电影免费精品,中文亚洲欧美乱码在线观看,在线免费播放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錯(cuò)誤日志在哪

      centos上apache錯(cuò)誤日志在哪

      CentOS上的Apache錯(cuò)誤日志位置

      默認(rèn)的錯(cuò)誤日志

      在基于 Red Hat 的Linux中,系統(tǒng)范圍的 Apache 錯(cuò)誤日志文件默認(rèn)被放置在/var/log/httpd/error_log。該默認(rèn)位置可以通過修改 Apache 配置文件進(jìn)行自定義。

      自定義的錯(cuò)誤日志

      要找出 Apache 錯(cuò)誤日志的自定義位置,請用文本編輯器打開 /etc/httpd/conf/httpd.conf,然后查找 ServerRoot,該參數(shù)顯示了 Apache Web 服務(wù)器目錄樹的頂層,日志文件和配置都位于該目錄樹中。例如:

      ServerRoot "/etc/httpd"

      現(xiàn)在,查找 ErrorLog 開頭的行,該行指出了 Apache Web 服務(wù)器將錯(cuò)誤日志寫到了哪里去。注意,指定的位置是 ServerRoot 值的相對位置。例如:

      ErrorLog "log/error_log"

      結(jié)合上面的兩個(gè)指令,可以獲得完整的錯(cuò)誤日志路徑,默認(rèn)情況下該路徑就是 /etc/httpd/logs/errorlog。在全新安裝的Apache中,這是一個(gè)到 /var/log/httpd/errorlog 的符號(hào)鏈接。

      在實(shí)際情況中, ErrorLog 可能指向你 Linux 系統(tǒng)中的任意位置。

      推薦教程:apache從入門到精通

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