httpd
Section: Maintenance Commands (8)
Updated: February 1997
Index
Return to Main Contents
NAME
httpd - Apache hypertext transfer protocol server
SYNOPSIS
httpd
[
-hlvX?
] [
-d serverroot
] [
-f config
]
DESCRIPTION
httpd
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
httpd
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 httpd 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 httpd.
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 /usr/local/etc/httpd.
- -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 conf/httpd.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 httpd, and then exit.
- -?
-
Print a list of the httpd options, and then exit.
FILES
/usr/local/etc/httpd/conf/httpd.conf
/usr/local/etc/httpd/conf/srm.conf
/usr/local/etc/httpd/conf/access.conf
/usr/local/etc/httpd/conf/mime.types
/usr/local/etc/httpd/logs/error_log
/usr/local/etc/httpd/logs/access_log
/usr/local/etc/httpd/logs/httpd.pid
SEE ALSO
inetd(8).
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- OPTIONS
-
- FILES
-
- SEE ALSO
-
This document was created by
man2html,
using the manual pages.
Time: 23:24:15 GMT, August 22, 2024