apache配置

来源:互联网 发布:apache ddos 编辑:程序博客网 时间:2024/06/03 00:29

一 apache配置项说明

   /etc/httpd/conf/httpd.conf

  1.ServerRoot /etc/httpd

    ServerRoot表示apache配置、日志等配置主路径

    eg:

    drwxr-xr-x 2 root root 4096 1月   4 16:06 conf
    drwxr-xr-x 2 root root 4096 12月 12 12:15 conf.d
    lrwxrwxrwx 1 root root   19 12月 12 12:15 logs -> ../../var/log/httpd
    lrwxrwxrwx 1 root root   29 12月 12 12:15 modules -> ../../usr/lib64/httpd/modules
    lrwxrwxrwx 1 root root   19 12月 12 12:15 run -> ../../var/run/httpd

  

0 0
原创粉丝点击