网站运维:Apache目录分解

1、Linux下的Apache目录

Apache的根目录:/etc/httpd/
在这里插入图片描述

1.1、主配置文件夹

/etc/httpd/conf/
里面主要是httpd.conf
在这里插入图片描述

1.2、次配置文件夹

/etc/httpd/conf.d/
主要是ssl.conf
在这里插入图片描述

1.3、模块目录:

/etc/httpd/conf.modules.d/
在这里插入图片描述

1.4、 日志记录文件:

/var/log/http/

access_log 访问日志
error_log 错误日志

在这里插入图片描述

1.5、网站根文档目录

/var/www/html
在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/weixin_43731793/article/details/93083565