From 0c0a47cdddf626e4729a0d03679006e1e8519ebd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Malo?=
On Unix, the httpd program +
On Unix, the httpd
program
is run as a daemon that executes continuously in the
background to handle requests. This document describes how
- to invoke httpd
.
httpd
.
The recommended method of invoking the httpd
- executable is to use the apachectl control script. This
+
The recommended method of invoking the httpd
+ executable is to use the apachectl
control script. This
script sets certain environment variables that are necessary for
- httpd
to function correctly under some operating
- systems, and then invokes the httpd
binary.
- apachectl
will pass through any command line
- arguments, so any httpd
options may also be used with
- apachectl
. You may also directly edit the
- apachectl
script by changing the HTTPD
+ httpd
to function correctly under some operating
+ systems, and then invokes the httpd
binary.
+ apachectl
will pass through any command line
+ arguments, so any httpd
options may also be used with
+ apachectl
. You may also directly edit the
+ apachectl
script by changing the HTTPD
variable near the top to specify the correct location of the
- httpd
binary and any command-line arguments that you
+ httpd
binary and any command-line arguments that you
wish to be always present.
The first thing that httpd
does when it is
@@ -114,25 +114,25 @@
If you want your server to continue running after a system
- reboot, you should add a call to apachectl
to your
+ reboot, you should add a call to apachectl
to your
system startup files (typically rc.local
or a file in
an rc.N
directory). This will start Apache as
root. Before doing this ensure that your server is properly
configured for security and access restrictions.
The apachectl
script is designed to act like a
+
The apachectl
script is designed to act like a
standard SysV init script; it can take the arguments
start
, restart
, and stop
and translate them into the appropriate signals to
- httpd
. So you can often simply link
- apachectl
into the appropriate init directory. But be
+ httpd
. So you can often simply link
+ apachectl
into the appropriate init directory. But be
sure to check the exact requirements of your system.
Additional information about the command-line options of httpd and apachectl as well as other - support programs included with the server is available on the +
Additional information about the command-line options of httpd
and apachectl
as well as other support
+ programs included with the server is available on the
Server and Supporting Programs page.
There is also documentation on all the modules included with the Apache distribution
and the directives that they
--
cgit v1.2.1