## ServerRoot

Syntax: ServerRoot directory-filename
Default: `ServerRoot /usr/local/apache`
Context: server config
Status: core

The ServerRoot directive sets the directory in which the server lives. Typically it will contain the subdirectories `conf/` and `logs/`. Relative paths for other configuration files are taken as relative to this directory.

See also the `-d` option to httpd.

See also the security tips for information on how to properly set permissions on the ServerRoot.