1、Linux下的Apache目录
Apache的根目录:/etc/httpd/
![在这里插入图片描述](https://i-blog.csdnimg.cn/blog_migrate/c71f5d755910330d7c9a4117ff167464.png)
1.1、主配置文件夹
/etc/httpd/conf/
里面主要是httpd.conf
![在这里插入图片描述](https://i-blog.csdnimg.cn/blog_migrate/e86bce1c3ce7dae631dfe0604b20eec7.png)
1.2、次配置文件夹
/etc/httpd/conf.d/
主要是ssl.conf
![在这里插入图片描述](https://i-blog.csdnimg.cn/blog_migrate/99dec102f0702294bd331792f08cff93.png)
1.3、模块目录:
/etc/httpd/conf.modules.d/
![在这里插入图片描述](https://i-blog.csdnimg.cn/blog_migrate/54c28acd3e05786e538567cbdda673eb.png)
1.4、 日志记录文件:
/var/log/http/
access_log 访问日志
error_log 错误日志
![在这里插入图片描述](https://i-blog.csdnimg.cn/blog_migrate/5595b2578b1695e6ad3f6537405b7396.png)
1.5、网站根文档目录
/var/www/html
![在这里插入图片描述](https://i-blog.csdnimg.cn/blog_migrate/f292a8cb8dbe2c65f1564e1afca5ee01.png)