httpd.html revision 2eaf662cbc81e823e8d9aeb8d54e69e63032493e
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major <meta name="generator" content="HTML Tidy, see www.w3.org" />
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major <title>Manual Page: httpd - Apache HTTP Server</title>
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major <body bgcolor="#ffffff" text="#000000" link="#0000ff"
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major <!--#include virtual="header.html" -->
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major <!-- This document was autogenerated from the man page -->
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major httpd - Apache hypertext transfer protocol server
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major <strong>httpd</strong> [ -<strong>R</strong> <em>libexecdir</em> ] [ -<strong>d</strong> <em>serverroot</em> ] [ -<strong>f</strong> <em>config</em> ] [ -<strong>C</strong>
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major <em>directive</em> ] [ -<strong>c</strong> <em>directive</em> ] [ -<strong>D</strong> <em>parameter</em> ]
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major <strong>httpd</strong> [ -<strong>h</strong> ] [ -<strong>l</strong> ] [ -<strong>L</strong> ] [ -<strong>v</strong> ] [ -<strong>V</strong> ] [ -<strong>t</strong> ] [ -<strong>T</strong> ]
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major <strong>httpd</strong> is the Apache HyperText Transfer Protocol (HTTP)
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major server program. It is designed to be run as a standalone
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major daemon process. When used like this it will create a pool of
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major child processes to handle requests. To stop it, send a TERM
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major signal to the initial (parent) process. The PID of this pro-
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major cess is written to a file as given in the configuration
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major This manual page only lists the command line arguments. For
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major details of the directives necessary to configure <strong>httpd</strong> see
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major the Apache manual, which is part of the Apache distribution
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major or can be found at http://httpd.apache.org/. Paths in this
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major manual may not reflect those compiled into <strong>httpd.</strong>
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major This option is only available if Apache was
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major built with the <em>SHARED</em>_<em>CORE</em> rule enabled which
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major forces the Apache core code to be placed into a
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major dynamic shared object (DSO) file. This file is
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major searched in a hardcoded path under ServerRoot
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major per default. Use this option if you want to
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major override it.
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major Set the initial value for the ServerRoot direc-
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major tive to <em>serverroot</em>. This can be overridden by
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major the ServerRoot command in the configuration
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major file. The default is <strong>/usr/local/apache</strong>.
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major -<strong>f</strong> <em>config</em> Execute the commands in the file <em>config</em> on
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major startup. If <em>config</em> does not begin with a /, then
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major it is taken to be a path relative to the Server-
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major Root. The default is <strong>conf/httpd.conf</strong>.
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major Process the configuration <em>directive</em> before read-
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major ing config files.
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major Process the configuration <em>directive</em> after
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major reading config files.
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major Sets a configuration <em>parameter</em> which can be used
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major with <IfDefine>...</IfDefine> sections in the
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major configuration files to conditionally skip or
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major process commands.
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major -<strong>h </strong> Output a short summary of available command line
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major -<strong>l </strong> Output a list of modules compiled into the
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major -<strong>L </strong> Output a list of directives together with
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major expected arguments and places where the direc-
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major tive is valid.
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major -<strong>S </strong> Show the settings as parsed from the config file
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major (currently only shows the virtualhost settings).
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major -<strong>t </strong> Run syntax tests for configuration files only.
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major The program immediately exits after these syntax
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major parsing with either a return code of 0 (Syntax
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major OK) or return code not equal to 0 (Syntax
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major Error). If -<strong>D</strong> <em>DUMP</em>_<em>VHOSTS</em> is also set, details
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major of the virtual host configuration will be
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major -<strong>T </strong> Same as option -<strong>t</strong> but does not check the config-
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major ured document roots.
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major -<strong>v </strong> Print the version of <strong>httpd</strong> , and then exit.
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major -<strong>V </strong> Print the version and build parameters of <strong>httpd</strong>
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major , and then exit.
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major <strong>/usr/local/apache/conf/httpd.conf</strong>
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major <strong>/usr/local/apache/conf/mime.types</strong>
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major <strong>/usr/local/apache/logs/error_log</strong>
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major <strong>/usr/local/apache/logs/access_log</strong>
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major <strong>/usr/local/apache/logs/httpd.pid</strong>
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major <!--#include virtual="footer.html" -->