ServerRoot
ServerRoot
specifies where the subdirectories
conf and logs can be found.
ServerRootdirectory
Defaultdirectory
: /usr/local/etc/httpd Server config
If you start Apache with the -f
(file) option, you
need to include the ServerRoot
directive. On the
other hand, if you use the -d
(directory) option,
as we do, this directive is not needed.
Get Apache: The Definitive Guide, 3rd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.