From babb4380054f3c5b199e545eabbc85c70b534dac Mon Sep 17 00:00:00 2001 From: "Mark J. Cox" Date: Thu, 21 Nov 1996 15:08:32 +0000 Subject: [PATCH] Add new httpd options, change inetd wording, fix links to module files git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@77029 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/invoking.html | 39 +++++++++++++++++++++--------------- docs/manual/invoking.html.en | 39 +++++++++++++++++++++--------------- 2 files changed, 46 insertions(+), 32 deletions(-) diff --git a/docs/manual/invoking.html b/docs/manual/invoking.html index 06025ab0fb..76851d2a0f 100644 --- a/docs/manual/invoking.html +++ b/docs/manual/invoking.html @@ -9,26 +9,26 @@

Starting Apache

Invoking Apache

-The httpd program is either invoked by the Internet -daemon inetd each time a connection to the HTTP service is made, -or alternatively it may run as a daemon which executes continuously, handling -requests. Whatever method is chosen, the -ServerType directive must be set -to tell the server how it is to run. +The httpd program is usually run as a daemon which executes +continuously, handling requests. It is possible to invoke Apache by +the Internet daemon inetd each time a connection to the HTTP +service is made (use the +ServerType directive) +but this is not recommended.

Command line options

The following options are recognised on the httpd command line:
-d serverroot
Set the initial value for the -ServerRoot variable to +ServerRoot variable 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 +path relative to the ServerRoot. The default is conf/httpd.conf.
-X @@ -39,6 +39,13 @@ use this mode to provide ordinary web service.
-v
Print the version of httpd, and then exit. +
-h +
Give a list of directives together with expected arguments and +places where the directive is valid + +
-l +
Give a list of all modules compiled into the server +
-?
Print a list of the httpd options, and then exit.
@@ -47,7 +54,7 @@ use this mode to provide ordinary web service. The server will read three files for configuration directives. Any directive may appear in any of these files. The the names of these files are taken to be relative to the server root; this is set by the -ServerRoot directive, or the +ServerRoot directive, or the -d command line flag. Conventionally, the files are: @@ -59,12 +66,12 @@ The filename may be overridden with the -f command line flag.
conf/srm.conf
Contains directives that control the specification of documents that the server can provide to clients. The filename may be overridden with -the ResourceConfig directive. +the ResourceConfig directive.
conf/acces.conf
Contains directives that control access to documents. The filename may be overridden with the -AccessConfig directive. +AccessConfig directive. However, these conventions need not be adhered to.

@@ -76,7 +83,7 @@ and is conf/mime.types by default.

pid file

On daemon startup, it saves the process id of the parent httpd process to the file logs/httpd.pid. This filename can be changed with the -PidFile directive. The process-id is for +PidFile directive. The process-id is for use by the administrator in restarting and terminating the daemon; A HUP signal causes the daemon to re-read its configuration files and a TERM signal causes it to die gracefully. @@ -87,14 +94,14 @@ kill the children httpd processes.

Error log

The server will log error messages to a log file, logs/error_log by default. The filename can be set using the -ErrorLog directive; different error logs can -be set for different virtual hosts. +ErrorLog directive; different error logs can +be set for different virtual hosts.

Transfer log

The server will typically log each request to a transfer file, logs/access_log by default. The filename can be set using a -TransferLog directive; different -transfer logs can be set for different virtual +TransferLog directive; different +transfer logs can be set for different virtual hosts. diff --git a/docs/manual/invoking.html.en b/docs/manual/invoking.html.en index 06025ab0fb..76851d2a0f 100644 --- a/docs/manual/invoking.html.en +++ b/docs/manual/invoking.html.en @@ -9,26 +9,26 @@

Starting Apache

Invoking Apache

-The httpd program is either invoked by the Internet -daemon inetd each time a connection to the HTTP service is made, -or alternatively it may run as a daemon which executes continuously, handling -requests. Whatever method is chosen, the -ServerType directive must be set -to tell the server how it is to run. +The httpd program is usually run as a daemon which executes +continuously, handling requests. It is possible to invoke Apache by +the Internet daemon inetd each time a connection to the HTTP +service is made (use the +ServerType directive) +but this is not recommended.

Command line options

The following options are recognised on the httpd command line:
-d serverroot
Set the initial value for the -ServerRoot variable to +ServerRoot variable 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 +path relative to the ServerRoot. The default is conf/httpd.conf.
-X @@ -39,6 +39,13 @@ use this mode to provide ordinary web service.
-v
Print the version of httpd, and then exit. +
-h +
Give a list of directives together with expected arguments and +places where the directive is valid + +
-l +
Give a list of all modules compiled into the server +
-?
Print a list of the httpd options, and then exit.
@@ -47,7 +54,7 @@ use this mode to provide ordinary web service. The server will read three files for configuration directives. Any directive may appear in any of these files. The the names of these files are taken to be relative to the server root; this is set by the -ServerRoot directive, or the +ServerRoot directive, or the -d command line flag. Conventionally, the files are: @@ -59,12 +66,12 @@ The filename may be overridden with the -f command line flag.
conf/srm.conf
Contains directives that control the specification of documents that the server can provide to clients. The filename may be overridden with -the ResourceConfig directive. +the ResourceConfig directive.
conf/acces.conf
Contains directives that control access to documents. The filename may be overridden with the -AccessConfig directive. +AccessConfig directive. However, these conventions need not be adhered to.

@@ -76,7 +83,7 @@ and is conf/mime.types by default.

pid file

On daemon startup, it saves the process id of the parent httpd process to the file logs/httpd.pid. This filename can be changed with the -PidFile directive. The process-id is for +PidFile directive. The process-id is for use by the administrator in restarting and terminating the daemon; A HUP signal causes the daemon to re-read its configuration files and a TERM signal causes it to die gracefully. @@ -87,14 +94,14 @@ kill the children httpd processes.

Error log

The server will log error messages to a log file, logs/error_log by default. The filename can be set using the -ErrorLog directive; different error logs can -be set for different virtual hosts. +ErrorLog directive; different error logs can +be set for different virtual hosts.

Transfer log

The server will typically log each request to a transfer file, logs/access_log by default. The filename can be set using a -TransferLog directive; different -transfer logs can be set for different virtual +TransferLog directive; different +transfer logs can be set for different virtual hosts. -- 2.50.1