Upon startup, HTTPd expects to find the Server Configuration File as conf/httpd.conf in the ServerRoot directory.
Other Server Configuration directives may use this directory to give relative paths for locations of files.
ServerRoot dir
Where dir
is an absolute path of a directory on your
server machine.
Only one ServerRoot directive is allowed in the server configuration file.
ServerRoot /usr/local/etc/httpd
Compile Option: HTTPD_ROOT
ServerRoot /usr/local/httpd
This would set ServerRoot to the directory /usr/local/httpd.
ServerRoot /web1/http
This would set ServerRoot to /web1/http.