二,httpd.conf相关
htppd.conf中的几个字段的介绍: ServerRoot
服务器配置、日志、错误等的root目录, 貌似一般不更改
#
# ServerRoot: The top of the directory tree under which the server's
# configuration, error, and log files are kept.
#
# Do not add a slash at the end of the directory path. If you point
# ServerRoot at a non-local disk, be sure to point the LockFile directive
# at a local disk. If you wish to share the same ServerRoot for multiple
# httpd daemons, you will need to change at least LockFile and PidFile.
DocumentRoot
提供服务的目录,即存放响应页面等信息的目录
#
# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but # symbolic links and aliases may be used to point to other locations.
#