110 lines
5.1 KiB
HTML
110 lines
5.1 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of APACHE2</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>APACHE2</H1>
|
|
Section: apache2 (8)<BR>Updated: 2008-04-05<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
<P>
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
apache2 - Apache Hypertext Transfer Protocol Server
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
<P>
|
|
|
|
<B>apache2</B> [ -<B>d</B> <I>serverroot</I> ] [ -<B>f</B> <I>config</I> ] [ -<B>C</B> <I>directive</I> ] [ -<B>c</B> <I>directive</I> ] [ -<B>D</B> <I>parameter</I> ] [ -<B>e</B> <I>level</I> ] [ -<B>E</B> <I>file</I> ] [ <B>-k</B> start|restart|graceful|stop|graceful-stop ] [ -<B>R</B> <I>directory</I> ] [ -<B>h</B> ] [ -<B>l</B> ] [ -<B>L</B> ] [ -<B>S</B> ] [ -<B>t</B> ] [ -<B>v</B> ] [ -<B>V</B> ] [ -<B>X</B> ] [ -<B>M</B> ]
|
|
<A NAME="lbAD"> </A>
|
|
<H2>SUMMARY</H2>
|
|
|
|
<P>
|
|
|
|
apache2 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 or threads to handle requests.
|
|
<P>
|
|
|
|
In general, apache2 should not be invoked directly, but rather should be
|
|
invoked via /etc/init.d/apache2 or apache2ctl. The default Debian
|
|
configuration requires environment variables that are defined in
|
|
/etc/apache2/envvars and are not available if apache2 is started directly.
|
|
However, apache2ctl can be used to pass arbitrary arguments to apache2.
|
|
<A NAME="lbAE"> </A>
|
|
<H2>DOCUMENTATION</H2>
|
|
|
|
<P>
|
|
|
|
The full documentation is available in the apache2-doc package or at
|
|
<A HREF="http://httpd.apache.org/docs/2.2/">http://httpd.apache.org/docs/2.2/</A> . Information about Debian specific changes
|
|
and configuration can be found in
|
|
/usr/share/doc/apache2/README.Debian.gz .
|
|
<A NAME="lbAF"> </A>
|
|
<H2>OPTIONS</H2>
|
|
|
|
<DL COMPACT>
|
|
<DT id="1">-d <I>serverroot</I><DD>
|
|
Set the initial value for the ServerRoot directive to <I>serverroot</I>. This can be overridden by the ServerRoot directive in the configuration file.
|
|
<DT id="2">-f <I>config</I><DD>
|
|
Uses the directives in the file <I>config</I> on startup. If <I>config</I> does not begin with a /, then it is taken to be a path relative to the ServerRoot. The default is /etc/apache2/apache2.conf.
|
|
<DT id="3">-k start|restart|graceful|stop|graceful-stop<DD>
|
|
Signals apache2 to start, restart, or stop. See Stopping Apache for more information.
|
|
<DT id="4">-C <I>directive</I><DD>
|
|
Process the configuration <I>directive</I> before reading config files.
|
|
<DT id="5">-c <I>directive</I><DD>
|
|
Process the configuration <I>directive</I> after reading config files.
|
|
<DT id="6">-D <I>parameter</I><DD>
|
|
Sets a configuration <I>parameter </I>which can be used with <IfDefine> sections in the configuration files to conditionally skip or process commands at server startup and restart.
|
|
<DT id="7">-e <I>level</I><DD>
|
|
Sets the LogLevel to <I>level</I> during server startup. This is useful for temporarily increasing the verbosity of the error messages to find problems during startup.
|
|
<DT id="8">-E <I>file</I><DD>
|
|
Send error messages during server startup to <I>file</I>.
|
|
<DT id="9">-R <I>directory</I><DD>
|
|
When the server is compiled using the SHARED_CORE rule, this specifies the <I>directory</I> for the shared object files.
|
|
<DT id="10">-h<DD>
|
|
Output a short summary of available command line options.
|
|
<DT id="11">-l<DD>
|
|
Output a list of modules compiled into the server. This will <B>not</B> list dynamically loaded modules included using the LoadModule directive.
|
|
<DT id="12">-L<DD>
|
|
Output a list of directives together with expected arguments and places where the directive is valid.
|
|
<DT id="13">-M<DD>
|
|
Dump a list of loaded Static and Shared Modules.
|
|
<DT id="14">-S<DD>
|
|
Show the settings as parsed from the config file (currently only shows the virtualhost settings).
|
|
<DT id="15">-t<DD>
|
|
Run syntax tests for configuration files only. The program immediately exits after these syntax parsing tests with either a return code of 0 (Syntax OK) or return code not equal to 0 (Syntax Error). If -D <I>DUMP</I>_<I>VHOSTS </I>is also set, details of the virtual host configuration will be printed. If -D <I>DUMP</I>_<I>MODULES </I> is set, all loaded modules will be printed.
|
|
<DT id="16">-v<DD>
|
|
Print the version of apache2, and then exit.
|
|
<DT id="17">-V<DD>
|
|
Print the version and build parameters of apache2, and then exit.
|
|
<DT id="18">-X<DD>
|
|
Run apache2 in debug mode. Only one worker will be started and the server will not detach from the console.
|
|
</DL>
|
|
<A NAME="lbAG"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?8+apache2ctl">apache2ctl</A></B>(8),
|
|
|
|
<B>/usr/share/doc/apache2/README.Debian.gz</B>
|
|
|
|
<P>
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="19"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="20"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="21"><A HREF="#lbAD">SUMMARY</A><DD>
|
|
<DT id="22"><A HREF="#lbAE">DOCUMENTATION</A><DD>
|
|
<DT id="23"><A HREF="#lbAF">OPTIONS</A><DD>
|
|
<DT id="24"><A HREF="#lbAG">SEE ALSO</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:06:10 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|