You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ma...@hyperreal.org on 1998/07/19 23:35:00 UTC
cvs commit: apache-1.3/htdocs/manual invoking.html
martin 98/07/19 14:34:59
Modified: htdocs/manual invoking.html
Log:
Add new httpd switches; remove reference to httpd sub-version
Revision Changes Path
1.20 +23 -1 apache-1.3/htdocs/manual/invoking.html
Index: invoking.html
===================================================================
RCS file: /export/home/cvs/apache-1.3/htdocs/manual/invoking.html,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -u -r1.19 -r1.20
--- invoking.html 1998/05/20 14:22:31 1.19
+++ invoking.html 1998/07/19 21:34:58 1.20
@@ -32,12 +32,28 @@
<EM>serverroot</EM>. This can be overridden by the ServerRoot command in the
configuration file. The default is <CODE>/usr/local/apache</CODE>.
+<DT><CODE>-D</CODE> <EM>name</EM>
+<DD>Define a name for use in in
+<A HREF="mod/core.html#ifdefine">IfDefine</A> directives.
+This option can be used to optionally enable certain functionality in the
+configuration file, or to use a common configuration for
+several independent hosts, where host specific information is enclosed in
+<IfDefine> sections.
+
<DT><CODE>-f</CODE> <EM>config</EM>
<DD>Execute the commands in the file <EM>config</EM> on startup. If
<EM>config</EM> does not begin with a <CODE>/</CODE>, then it is taken to be a
path relative to the <A HREF="mod/core.html#serverroot">ServerRoot</A>. The
default is <CODE>conf/httpd.conf</CODE>.
+<DT><CODE>-C</CODE> <EM>"directive"</EM>
+<DD>Process the given apache "directive" (just as if it had been part of a
+configuration file) <STRONG>before</STRONG> actually reading the regular configuration files.
+
+<DT><CODE>-c</CODE> <EM>"directive"</EM>
+<DD>Process the given apache "directive" <STRONG>after</STRONG> reading
+all the regular configuration files.
+
<DT><CODE>-X</CODE>
<DD>Run in single-process mode, for internal debugging purposes only; the
daemon does not detach from the terminal or fork any children. Do <EM>NOT</EM>
@@ -47,7 +63,7 @@
<DD>Print the version of httpd and its build date, and then exit.
<DT><A NAME="version"><CODE>-V</CODE></A>
-<DD>Print the base version of httpd, its sub-version if defined, its
+<DD>Print the base version of httpd, its
build date, and a list of compile time settings which influence the
behavior and performance of the apache server (<EM>e.g.</EM>,
<SAMP>-DUSE_MMAP_FILES</SAMP>),
@@ -63,6 +79,12 @@
<DT><CODE>-S</CODE>
<DD>Show the settings as parsed from the config file (currently only
shows a breakdown of the vhost settings).
+
+<DT><CODE>-t</CODE>
+<DD>Test the configuration file syntax (i.e., read all configuration files
+and interpret them) but do not start the server. If the configuration contains
+errors, display an error message and exit with a non-zero exit status,
+otherwise display "Syntax OK" and terminate with a zero exit status.
<DT><CODE>-?</CODE>
<DD>Print a list of the httpd options, and then exit.