mirror of
https://github.com/apache/httpd.git
synced 2025-07-19 02:42:17 +03:00
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95703 13f79535-47bb-0310-9956-ffa450edef68
103 lines
4.9 KiB
HTML
103 lines
4.9 KiB
HTML
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head><title>Manual Page: httpd - Apache HTTP Server</title></head>
|
|
<body bgcolor="#ffffff" text="#000000" link="#0000ff"
|
|
vlink="#000080" alink="#ff0000">
|
|
<!--#include virtual="header.html" -->
|
|
<h1 align="center">Manual Page: httpd</h1>
|
|
<!-- This document was autogenerated from the man page -->
|
|
<pre>
|
|
<strong>NAME</strong>
|
|
httpd - Apache hypertext transfer protocol server
|
|
|
|
<strong>SYNOPSIS</strong>
|
|
<strong>httpd </strong>[ -<strong>d </strong><em>serverroot </em>] [ -<strong>f </strong><em>config </em>] [ -<strong>C </strong><em>directive </em>] [ -<strong>c</strong>
|
|
<em>directive </em>] [ -<strong>D </strong><em>parameter </em>]
|
|
|
|
<strong>httpd </strong>[ -<strong>h </strong>] [ -<strong>l </strong>] [ -<strong>L </strong>] [ -<strong>v </strong>] [ -<strong>V </strong>] [ -<strong>t </strong>] [ -<strong>X </strong>]
|
|
|
|
<strong>DESCRIPTION</strong>
|
|
<strong>httpd </strong>is the Apache HyperText Transfer Protocol (HTTP)
|
|
server program. It is designed to be run as a standalone
|
|
daemon process. When used like this it 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 pro-
|
|
cess is written to a file as given in the configuration
|
|
file.
|
|
|
|
This manual page only lists the command line arguments. For
|
|
details of the directives necessary to configure <strong>httpd </strong>see
|
|
the Apache manual, which is part of the Apache distribution
|
|
or can be found at http://httpd.apache.org/. Paths in this
|
|
manual may not reflect those compiled into <strong>httpd.</strong>
|
|
|
|
<strong>OPTIONS</strong>
|
|
-<strong>d </strong><em>serverroot</em>
|
|
Set the initial value for the ServerRoot direc-
|
|
tive to <em>serverroot</em>. This can be overridden by
|
|
the ServerRoot command in the configuration
|
|
file. The default is <strong>/usr/local/apache2</strong>.
|
|
|
|
-<strong>f </strong><em>config </em>Execute the commands in the file <em>config </em>on
|
|
startup. If <em>config </em>does not begin with a /, then
|
|
it is taken to be a path relative to the Server-
|
|
Root. The default is <strong>conf/httpd.conf</strong>.
|
|
|
|
-<strong>C </strong><em>directive</em>
|
|
Process the configuration <em>directive </em>before read-
|
|
ing config files.
|
|
|
|
-<strong>c </strong><em>directive</em>
|
|
Process the configuration <em>directive </em>after read-
|
|
ing config files.
|
|
|
|
-<strong>D </strong><em>parameter</em>
|
|
Sets a configuration <em>parameter </em>which can be used
|
|
with <IfDefine>...</IfDefine> sections in the
|
|
configuration files to conditionally skip or
|
|
process commands.
|
|
|
|
-<strong>h </strong>Output a short summary of available command line
|
|
options.
|
|
|
|
-<strong>l </strong>Output a list of modules compiled into the
|
|
server.
|
|
|
|
-<strong>L </strong>Output a list of directives together with
|
|
expected arguments and places where the direc-
|
|
tive is valid.
|
|
|
|
-<strong>S </strong>Show the settings as parsed from the config file
|
|
(currently only shows the virtualhost settings).
|
|
|
|
-<strong>t </strong>Run syntax tests for configuration files only.
|
|
The program immediately exits after these syntax
|
|
parsing with either a return code of 0 (Syntax
|
|
OK) or return code not equal to 0 (Syntax
|
|
Error). If -<strong>D </strong><em>DUMP</em>_<em>VHOSTS </em>is also set, details
|
|
of the virtual host configuration will be
|
|
printed.
|
|
|
|
-<strong>v </strong>Print the version of <strong>httpd </strong>, and then exit.
|
|
|
|
-<strong>V </strong>Print the version and build parameters of <strong>httpd</strong>
|
|
, and then exit.
|
|
|
|
-<strong>X </strong>Run <strong>httpd </strong>in debug mode. Only one worker will
|
|
be started and the server will not detach from
|
|
the console.
|
|
|
|
<strong>FILES</strong>
|
|
<strong>/usr/local/apache2/conf/httpd.conf</strong>
|
|
<strong>/usr/local/apache2/conf/mime.types</strong>
|
|
<strong>/usr/local/apache2/conf/magic</strong>
|
|
<strong>/usr/local/apache2/logs/error_log</strong>
|
|
<strong>/usr/local/apache2/logs/access_log</strong>
|
|
<strong>/usr/local/apache2/logs/httpd.pid</strong>
|
|
|
|
</pre>
|
|
<!--#include virtual="footer.html" -->
|
|
</body></html>
|