首页 > 技术文章 > Apache 配置说明

heat-man 2018-05-24 10:59 原文

ServerRoot

ServerRoot: The top of the directory tree under which the server's
configuration, error, and log files are kept.

服务器配置、日志文件的上一级目录,可理解为apache的安装目录。
注意,文件的末尾不要加反斜杠。

User/Group

服务器以指定用户/用户组运行。

DocumentRoot

俗称的web目录,提供文件访问的地方。

推荐阅读