apache(8)

NAME
apache - Apache hypertext transfer protocol server

SYNOPSIS
apache [ -hlvX? ] [ -d serverroot ] [ -f config ]

DESCRIPTION
apache is the Apache HyperText Transfer Protocol (HTTP) server program. It is designed to be run as a standalone daemon process. When used like this is will create a pool of child processes to handle requests. To stop it, send a TERM signal to the initial (parent) process. The PID of this process is written to a file as given in the configuration file. Alternatively apache may be invoked by the Internet daemon inetd(8) each time a connection to the HTTP service is made.

This manual page only lists the command line arguments. For details of the directives necessary to configure apache see the Apache manual, which is part of the Apache distribution or can be found at http://www.apache.org/. Paths in this manual may not reflect those compiled into apache.

OPTIONS

-d serverroot
    Set the initial value for the ServerRoot directive to serverroot. This can be overridden by the ServerRoot command in the configuration file. The default is /etc/apache.

-f config
    Execute the commands in the file config on startup. If config does not begin with a /, then it is taken to be a path relative to the ServerRoot. The default is apache.conf.

-h  Output a list of directives together with expected arguments and places where the directive is valid.

-l  Output a list of modules compiled into the server.

-X  Run in single-process mode, for internal debugging purposes only; the daemon does not detach from the terminal or fork any children. Do NOT use this mode to provide ordinary web service.

-v  Print the version of apache, and then exit.

-?  Print a list of the apache options, and then exit.

FILES
These are the defaults apache will use if they are not specified in the config files.

/etc/apache/apache.conf
/etc/apache/srm.conf
/etc/apache/access.conf
/etc/mime.types
/var/log/apache/error.log
/var/log/apache/access.log
/var/run/apache.pid

SEE ALSO
inetd(8).