Apache 配置说明

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目录,提供文件访问的地方。

猜你喜欢

转载自www.cnblogs.com/heat-man/p/8744001.html
今日推荐