THE VIRTUAL SERVER HANDBOOK
ServerRoot
The
ServerRoot
directive sets the directory in which the server resides.
The default directory is
/usr/local/etc/httpd
, since this directory
contains the subdirectories
conf/
and
logs/
. Relative paths for other
configuration files are assumed to be defined with respect to the
ServerRoot
directory.
The following is an example:
ServerRoot /usr/local/etc/httpd
For more information, see:
http://www.apache.org/docs/mod/core.html#serverroot
ErrorLog
When your web server encounters an error it will use the definition
specified in the ErrorLog directive to handle the error. Typically, a filename
is specified to which your web server appends the error information. If the
filename definition does not begin with a slash (/) then it is assumed to be
relative to the
ServerRoot
. If the filename begins with a pipe (|) then it is
assumed to be a command which is to be spawned by the web server to
handle the error information.
The following is an example:
ErrorLog logs/error_log
For more information, see:
http://www.apache.org/docs/mod/core.html#errorlog
LogLevel
The
LogLevel
directive adjusts the verbosity of the messages recorded in
the error logs (see
ErrorLog
directive). The following levels are
available, in order of decreasing significance:
emerg
,
alert
,
crit
,
error
,
warn
,
notice
,
info
,
debug
. When a particular level is
specified, messages from all other levels of higher significance will be
reported as well; i.e. when a log level of
warn
is specified, messages with
levels of
emerg
,
alert
,
crit
, and
error
will also be logged.
The following is an example:
LogLevel warn
For more information, see:
http://www.apache.org/docs/mod/core.html#loglevel
COPYRIGHT
1999 DIGITAL TOOLS LLC.
93