CentOS httpd 分析

httpd 文件目录结构

已经安装完成的使用 whereis 确定的 httpd 的位置

1
2
3
4
5
/usr/sbin/httpd     # 执行bin 文件
/usr/lib64/httpd # apache 安装的模块文件的目录
/etc/httpd # 配置文件目录
/usr/share/httpd # 默认的 apache 指向目录
/usr/share/man/man8/httpd.8.gz # 文档

配置文件目录

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/etc/httpd  # 配置根目录
/conf
httpd.conf # 配置文件
magic
/conf.d # vhosts 配置文件目录, httpd 附属的一些配置
/conf.modules.d # 加载一些需要的系统模块
00-base.conf
00-dav.conf
00-lua.conf
00-mpm.conf
00-proxy.conf
00-systemd.conf
01-cgi.conf
10-php.conf
logs => /var/log/httpd
modules => /usr/lib64/httpd
run -> /run/httpd

语雀镜像 : CentOS httpd 分析 ,点此 提问

作者

Duoli

发布于

2021-06-26

更新于

2022-12-08

许可协议

评论