2004-06-13 07:57:50 +08:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
2007-04-05 03:42:53 +08:00
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
2004-06-13 07:57:50 +08:00
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
|
2007-01-28 01:36:13 +08:00
|
|
|
<!-- <!ENTITY apache-download-http "http://www.apache.org/dist/httpd/httpd-&apache-version;.tar.bz2"> -->
|
2008-03-23 10:40:43 +08:00
|
|
|
<!ENTITY apache-download-http "http://archive.apache.org/dist/httpd/httpd-&apache-version;.tar.bz2">
|
2007-01-28 01:36:13 +08:00
|
|
|
<!ENTITY apache-download-ftp "ftp://apache.mirrors.pair.com/httpd/httpd-&apache-version;.tar.bz2">
|
2011-10-30 10:41:08 +08:00
|
|
|
<!ENTITY apache-md5sum "1696ae62cd879ab1d4dd9ff021a470f2">
|
2011-10-25 11:31:31 +08:00
|
|
|
<!ENTITY apache-size "6.8 MB">
|
|
|
|
<!ENTITY apache-buildsize "105 MB (building all available DSO modules)">
|
|
|
|
<!ENTITY apache-time "1.2 SBU (building all available DSO modules)">
|
2004-06-13 07:57:50 +08:00
|
|
|
]>
|
|
|
|
|
2002-08-27 19:20:14 +08:00
|
|
|
<sect1 id="apache" xreflabel="Apache-&apache-version;">
|
2005-05-18 22:58:42 +08:00
|
|
|
<?dbhtml filename="apache.html"?>
|
|
|
|
|
|
|
|
<sect1info>
|
|
|
|
<othername>$LastChangedBy$</othername>
|
|
|
|
<date>$Date$</date>
|
|
|
|
</sect1info>
|
|
|
|
|
|
|
|
<title>Apache-&apache-version;</title>
|
|
|
|
|
|
|
|
<indexterm zone="apache">
|
|
|
|
<primary sortas="a-Apache">Apache</primary>
|
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
<sect2 role="package">
|
|
|
|
<title>Introduction to Apache</title>
|
|
|
|
|
|
|
|
<para>The <application>Apache</application> package contains an
|
|
|
|
open-source HTTP server. It is useful for creating local intranet
|
|
|
|
web sites or running huge web serving operations.</para>
|
|
|
|
|
2011-10-25 11:31:31 +08:00
|
|
|
&lfs70_checked;
|
|
|
|
|
2005-05-18 22:58:42 +08:00
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
|
|
|
<para>Download (HTTP): <ulink url="&apache-download-http;"/></para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download (FTP): <ulink url="&apache-download-ftp;"/></para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download MD5 sum: &apache-md5sum;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download size: &apache-size;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Estimated disk space required: &apache-buildsize;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Estimated build time: &apache-time;</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
|
|
|
<itemizedlist spacing='compact'>
|
|
|
|
<listitem>
|
|
|
|
<para>Required patch: <ulink
|
|
|
|
url="&patch-root;/httpd-&apache-version;-config-1.patch"/></para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect3">Apache Dependencies</bridgehead>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
2010-03-31 01:15:58 +08:00
|
|
|
<para role="optional"><xref linkend="openldap"/>,
|
2010-11-17 07:33:39 +08:00
|
|
|
<xref linkend="openssl"/> (also used in the bundled APR-util),
|
2005-12-15 11:05:36 +08:00
|
|
|
<xref linkend="pcre"/>,
|
2010-03-31 01:15:58 +08:00
|
|
|
<xref linkend="rsync"/>,
|
|
|
|
<xref linkend="lynx"/>,
|
2007-03-30 22:14:58 +08:00
|
|
|
<ulink url="http://apr.apache.org/">APR</ulink>,
|
|
|
|
<ulink url="http://apr.apache.org/">APR-util</ulink>, and
|
2005-12-15 11:05:36 +08:00
|
|
|
<ulink url="http://www.distcache.org/">distcache</ulink></para>
|
2005-05-18 22:58:42 +08:00
|
|
|
|
2007-07-17 02:45:17 +08:00
|
|
|
<bridgehead renderas="sect4">Optional (Only if Using the Bundled
|
|
|
|
APR-util)</bridgehead>
|
2009-07-24 02:36:20 +08:00
|
|
|
<para role="optional"><!-- <xref linkend="pkgconfig"/>, -->
|
2007-07-17 02:45:17 +08:00
|
|
|
<xref linkend="expat"/>,
|
2009-07-17 22:05:50 +08:00
|
|
|
<!-- <xref linkend="gdbm"/>, -->
|
2010-03-31 01:15:58 +08:00
|
|
|
<xref linkend="db"/>,
|
|
|
|
<xref linkend="unixodbc"/>,
|
2010-11-17 07:33:39 +08:00
|
|
|
<xref linkend="mysql"/>,
|
|
|
|
<xref linkend="postgresql"/>,
|
|
|
|
<xref linkend="sqlite"/>,
|
|
|
|
<ulink url="http://www.oracle.com/us/products/database/index.html">Oracle 11g</ulink>, and
|
|
|
|
<ulink url="http://www.freetds.org/">FreeTDS</ulink></para>
|
2007-07-17 02:45:17 +08:00
|
|
|
|
2011-10-25 11:31:31 +08:00
|
|
|
<para>Though you can install APR and APR-util as separate components, the
|
|
|
|
bundled versions that come with the Apache HTTPD tarball are
|
|
|
|
recommended.</para>
|
2007-03-30 22:14:58 +08:00
|
|
|
|
2006-04-11 02:38:56 +08:00
|
|
|
<para condition="html" role="usernotes">User Notes:
|
|
|
|
<ulink url="&blfs-wiki;/apache"/></para>
|
|
|
|
|
2005-05-18 22:58:42 +08:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="installation">
|
|
|
|
<title>Installation of Apache</title>
|
|
|
|
|
|
|
|
<para>For security reasons, running the server as an unprivileged user and
|
|
|
|
group is strongly encouraged. Create the following group and user using the
|
2005-12-15 11:05:36 +08:00
|
|
|
following commands
|
|
|
|
(as <systemitem class="username">root</systemitem>):</para>
|
2005-05-18 22:58:42 +08:00
|
|
|
|
2005-06-06 05:06:40 +08:00
|
|
|
<screen role="root"><userinput>groupadd -g 25 apache &&
|
|
|
|
useradd -c "Apache Server" -d /dev/null -g apache \
|
|
|
|
-s /bin/false -u 25 apache</userinput></screen>
|
2005-05-18 22:58:42 +08:00
|
|
|
|
2006-04-24 00:15:42 +08:00
|
|
|
<note><para>The above command directs the <application>Apache</application>
|
|
|
|
user's home directory to <filename>/dev/null</filename>. This may not work
|
2006-05-15 03:47:38 +08:00
|
|
|
for some add-ons such as <ulink
|
|
|
|
url='http://www.viewvc.org/'><application>ViewVC</application></ulink>, a
|
|
|
|
browser interface for CVS and Subversion version control repositories.
|
2006-06-22 00:26:07 +08:00
|
|
|
See the User Notes for details for specific applications.</para></note>
|
2006-04-24 00:15:42 +08:00
|
|
|
|
2005-12-15 11:05:36 +08:00
|
|
|
<para>The following patch modifies the layout of destination
|
|
|
|
directories and among them, the build directory at
|
2005-05-18 22:58:42 +08:00
|
|
|
<filename class="directory">/usr/lib/apache/build</filename>. This
|
|
|
|
will allow the modules added to <application>Apache</application>
|
|
|
|
to be configured without errors. Apply the patch:</para>
|
|
|
|
|
|
|
|
<screen><userinput>patch -Np1 -i ../httpd-&apache-version;-config-1.patch</userinput></screen>
|
|
|
|
|
2005-08-14 06:24:56 +08:00
|
|
|
<note>
|
|
|
|
<para>You may wish to review the output from
|
|
|
|
<command>./configure --help</command> and include whatever parameters
|
|
|
|
are necessary to the <command>configure</command> command below to build
|
2010-11-17 07:33:39 +08:00
|
|
|
the modules required for your installation. There are as many as 65
|
2005-12-15 11:05:36 +08:00
|
|
|
additional parameters you can add to the <command>configure</command>
|
|
|
|
command to build additional modules. Some of the extra parameters which
|
|
|
|
aren't described or mentioned in the <parameter>--help</parameter>
|
|
|
|
information are listed in the <quote>Command Explanations</quote> section
|
|
|
|
below.</para>
|
2007-07-17 02:45:17 +08:00
|
|
|
|
|
|
|
<para>If you are using the bundled version of
|
|
|
|
<application>APR-util</application> and you are going to install
|
|
|
|
<application>Subversion</application> with
|
|
|
|
<application>Berkeley DB</application> back-end support, ensure you use
|
|
|
|
the parameters shown in the <quote>Command Explanations</quote> section
|
|
|
|
below.</para>
|
2009-01-06 15:54:59 +08:00
|
|
|
|
|
|
|
<para>While it is not built by default when using the following commands,
|
2010-11-17 07:33:39 +08:00
|
|
|
the ISAPI DSO module can be created by adding the
|
|
|
|
<option>--enable-isapi</option> option. Even though the module will
|
|
|
|
compile, install and load fine, the module is
|
2009-01-06 15:54:59 +08:00
|
|
|
<emphasis>only</emphasis> supported and functional in Win32
|
|
|
|
environments.</para>
|
2005-08-14 06:24:56 +08:00
|
|
|
</note>
|
|
|
|
|
2005-05-18 22:58:42 +08:00
|
|
|
<para>Build and install <application>Apache</application> by running the
|
|
|
|
following commands:</para>
|
|
|
|
|
2011-10-25 11:31:31 +08:00
|
|
|
<screen><userinput>./configure --enable-layout=FHS \
|
|
|
|
--enable-mods-shared=all \
|
|
|
|
--enable-so &&
|
2005-05-18 22:58:42 +08:00
|
|
|
make</userinput></screen>
|
|
|
|
|
|
|
|
<para>This package does not come with a test suite.</para>
|
|
|
|
|
|
|
|
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
|
|
|
|
|
|
|
<screen role="root"><userinput>make install &&
|
2011-10-25 11:31:31 +08:00
|
|
|
chown -v root:root /usr/lib/apache/httpd.exp \
|
|
|
|
/usr/sbin/{apxs,apachectl,dbmmanage,envvars{,-std}} \
|
|
|
|
/usr/share/man/man1/{dbmmanage,ht{dbm,digest,passwd}}.1 \
|
2005-12-15 11:05:36 +08:00
|
|
|
/usr/share/man/man8/{ab,apachectl,apxs,htcacheclean,httpd}.8 \
|
2005-01-13 13:20:16 +08:00
|
|
|
/usr/share/man/man8/{logresolve,rotatelogs,suexec}.8 &&
|
2005-08-14 06:24:56 +08:00
|
|
|
chown -v -R apache:apache /srv/www</userinput></screen>
|
2004-06-13 07:57:50 +08:00
|
|
|
|
2005-05-18 22:58:42 +08:00
|
|
|
</sect2>
|
2004-06-13 07:57:50 +08:00
|
|
|
|
2005-05-18 22:58:42 +08:00
|
|
|
<sect2 role="commands">
|
|
|
|
<title>Command Explanations</title>
|
2004-06-13 07:57:50 +08:00
|
|
|
|
2005-05-18 22:58:42 +08:00
|
|
|
<para><parameter>--enable-mods-shared=all</parameter>: The modules
|
|
|
|
should be compiled and used as Dynamic Shared Objects
|
|
|
|
(DSOs) so they can be included and excluded from the
|
|
|
|
server using the run-time configuration directives.</para>
|
2004-06-13 07:57:50 +08:00
|
|
|
|
2005-12-15 11:05:36 +08:00
|
|
|
<para><option>--enable-ssl</option>: Use this parameter
|
2005-05-18 22:58:42 +08:00
|
|
|
to create the <filename class="libraryfile">mod_ssl</filename>
|
2005-12-15 11:05:36 +08:00
|
|
|
module and enable SSL support. This parameter is mentioned as one of many
|
|
|
|
parameters which can be passed to the <command>configure</command> command
|
2010-11-17 07:33:39 +08:00
|
|
|
to create additional DSO modules.<!-- Note that it really only affects the
|
|
|
|
APR-Util sub-package, which the HTTPD installation then uses.--></para>
|
2005-12-15 11:05:36 +08:00
|
|
|
|
|
|
|
<para><option>--with-pcre</option>: Add this parameter to use the system
|
|
|
|
installed version of the <application>PCRE</application> library.</para>
|
|
|
|
|
|
|
|
<para><option>--with-z</option>: Add this parameter to use the system
|
|
|
|
installed version of the <application>Zlib</application> library.</para>
|
|
|
|
|
|
|
|
<para><option>--with-ldap</option>: This parameter is required if you
|
|
|
|
passed the <option>--enable-authnz-ldap</option> or
|
2006-03-15 23:00:51 +08:00
|
|
|
<option>--enable-ldap</option> options to <command>configure</command>
|
2005-12-15 11:05:36 +08:00
|
|
|
and enabled the <application>OpenLDAP</application> modules.</para>
|
2004-06-13 07:57:50 +08:00
|
|
|
|
2010-04-08 04:04:05 +08:00
|
|
|
<para><option>--with-dbm=db4 --with-berkeley-db</option>: Use these
|
2007-07-17 02:45:17 +08:00
|
|
|
parameters if you require <application>Berkeley DB</application> support in
|
|
|
|
the bundled version of <application>APR-util</application> (required for
|
|
|
|
<application>Berkeley DB</application> back-end support in
|
2010-11-17 07:33:39 +08:00
|
|
|
<application>Subversion</application>). If you are using
|
|
|
|
<application>Berkeley DB</application>-5.1, change the first parameter to
|
|
|
|
<option>--with-dbm=db51</option>.</para>
|
|
|
|
|
|
|
|
<para><option>--with-mysql</option>: Add this parameter to use the system
|
|
|
|
installed version of <application>MySQL</application>.</para>
|
2007-07-17 02:45:17 +08:00
|
|
|
|
2010-11-17 08:10:06 +08:00
|
|
|
<para><option>--with-included-apr</option>: Add this parameter to use the
|
|
|
|
bundled version of the APR system. The default is to use a
|
|
|
|
system-installed version, if one if available. Use this parameter to force
|
|
|
|
the build to use and then install (overwriting the existing APR) the
|
|
|
|
internal (bundled) copy of the APR.</para>
|
|
|
|
|
2005-05-18 22:58:42 +08:00
|
|
|
<para><command>chown root:root ...</command>: This command changes the
|
|
|
|
ownership of some installed files, the result of building the package as
|
|
|
|
a user other than <systemitem class="username">root</systemitem>.</para>
|
2004-09-22 06:29:44 +08:00
|
|
|
|
2005-05-18 22:58:42 +08:00
|
|
|
<para><command>chown -R apache:apache /srv/www</command>: By default, the
|
|
|
|
installation process installs files (documentation, error messages, default
|
|
|
|
icons, etc.) with the ownership of the user that extracted the files from
|
|
|
|
the tar file. If you want to change the ownership to another user, you
|
|
|
|
should do so at this point. The only requirement is that the document
|
|
|
|
directories need to be accessible by the <command>httpd</command> process
|
|
|
|
with (r-x) permissions and files need to be readable (r--) by the
|
|
|
|
<systemitem class="username">apache</systemitem> user.</para>
|
2004-09-22 06:29:44 +08:00
|
|
|
|
2005-05-18 22:58:42 +08:00
|
|
|
</sect2>
|
2004-06-13 07:57:50 +08:00
|
|
|
|
2005-05-18 22:58:42 +08:00
|
|
|
<sect2 role="configuration">
|
|
|
|
<title>Configuring Apache</title>
|
2004-06-13 07:57:50 +08:00
|
|
|
|
2005-05-18 22:58:42 +08:00
|
|
|
<sect3 id="apache-config">
|
|
|
|
<title>Config Files</title>
|
2004-06-13 07:57:50 +08:00
|
|
|
|
2005-05-18 22:58:42 +08:00
|
|
|
<para><filename>/etc/apache/*</filename></para>
|
2004-06-13 07:57:50 +08:00
|
|
|
|
2005-05-18 22:58:42 +08:00
|
|
|
<indexterm zone="apache apache-config">
|
|
|
|
<primary sortas="e-etc-apache">/etc/apache/*</primary>
|
|
|
|
</indexterm>
|
2004-06-13 07:57:50 +08:00
|
|
|
|
2005-05-18 22:58:42 +08:00
|
|
|
<indexterm zone="apache apache-config">
|
|
|
|
<primary sortas="e-etc-apache-httpd.conf">/etc/apache/httpd.conf</primary>
|
|
|
|
</indexterm>
|
2004-06-13 07:57:50 +08:00
|
|
|
|
2005-05-18 22:58:42 +08:00
|
|
|
</sect3>
|
|
|
|
|
|
|
|
<sect3>
|
|
|
|
<title>Configuration Information</title>
|
|
|
|
|
2005-12-15 11:05:36 +08:00
|
|
|
<para>The main configuration file is named
|
|
|
|
<filename>/etc/apache/httpd.conf</filename>. Modify it so that the HTTP
|
|
|
|
server runs as the dedicated user and group:</para>
|
2005-05-18 22:58:42 +08:00
|
|
|
|
2005-12-15 22:40:52 +08:00
|
|
|
<screen role="root"><userinput>sed -i -e "s/User daemon/User apache/" \
|
2005-12-15 11:05:36 +08:00
|
|
|
-e "s/Group daemon/Group apache/" \
|
2005-05-18 22:58:42 +08:00
|
|
|
/etc/apache/httpd.conf</userinput></screen>
|
|
|
|
|
2005-12-15 11:05:36 +08:00
|
|
|
<para>See <ulink url="http://httpd.apache.org/docs-2.2/configuring.html"/>
|
2005-05-18 22:58:42 +08:00
|
|
|
for detailed instructions on customizing your
|
2005-12-15 11:05:36 +08:00
|
|
|
<application>Apache</application> HTTP server configuration file.</para>
|
2005-05-18 22:58:42 +08:00
|
|
|
|
|
|
|
</sect3>
|
|
|
|
|
2011-12-13 04:16:56 +08:00
|
|
|
<sect3 id="httpd-init">
|
2005-05-18 22:58:42 +08:00
|
|
|
<title>Boot Script</title>
|
|
|
|
|
|
|
|
<para>If you want the <application>Apache</application> server to
|
|
|
|
start automatically when the system is booted, install the
|
2011-12-13 04:16:56 +08:00
|
|
|
<filename>/etc/rc.d/init.d/httpd</filename> init script included
|
2005-12-29 09:38:36 +08:00
|
|
|
in the <xref linkend="bootscripts"/> package.</para>
|
2005-05-18 22:58:42 +08:00
|
|
|
|
2011-12-13 04:16:56 +08:00
|
|
|
<indexterm zone="apache httpd-init">
|
2005-05-18 22:58:42 +08:00
|
|
|
<primary sortas="f-apache">apache</primary>
|
|
|
|
</indexterm>
|
|
|
|
|
2011-12-13 04:16:56 +08:00
|
|
|
<screen role="root"><userinput>make install-httpd</userinput></screen>
|
2005-05-18 22:58:42 +08:00
|
|
|
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="content">
|
|
|
|
<title>Contents</title>
|
|
|
|
|
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed Programs</segtitle>
|
|
|
|
<segtitle>Installed Libraries</segtitle>
|
|
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
|
|
|
|
<seglistitem>
|
2010-11-17 07:33:39 +08:00
|
|
|
<seg>ab, apachectl, apr-1-config, apu-1-config, apxs, checkgid,
|
|
|
|
dbmmanage, htcacheclean, htdbm, htdigest, htpasswd, httpd, httxt2dbm,
|
|
|
|
logresolve, rotatelogs, and suexec</seg>
|
|
|
|
<seg>libapr-1.{so,a}, libaprutil-1.{so,a}, apr_{dbd,ldap} database
|
|
|
|
modules, and numerous DSO modules</seg>
|
|
|
|
<seg>/etc/apache, /srv/www, /usr/include/apache, /usr/lib/apache,
|
|
|
|
/usr/lib/apr-util-1, and /var/log/apache</seg>
|
2005-05-18 22:58:42 +08:00
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
|
|
<?dbfo list-presentation="list"?>
|
|
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
|
|
|
|
<varlistentry id="ab">
|
|
|
|
<term><command>ab</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>is a tool for benchmarking your
|
|
|
|
<application>Apache</application> HTTP server.</para>
|
|
|
|
<indexterm zone="apache ab">
|
|
|
|
<primary sortas="b-ab">ab</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="apachectl">
|
|
|
|
<term><command>apachectl</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>is a front end to the <application>Apache</application>
|
|
|
|
HTTP server which is designed to help the administrator
|
|
|
|
control the functioning of the <application>Apache</application>
|
|
|
|
httpd daemon.</para>
|
|
|
|
<indexterm zone="apache apachectl">
|
|
|
|
<primary sortas="b-apachectl">apachectl</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2010-11-17 07:33:39 +08:00
|
|
|
<varlistentry id="apr-1-config">
|
|
|
|
<term><command>apr-1-config</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>is a simple script that provides information about the
|
|
|
|
installed APR program.</para>
|
|
|
|
<indexterm zone="apache apr-1-config">
|
|
|
|
<primary sortas="b-apr-1-config">apr-1-config</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="apu-1-config">
|
|
|
|
<term><command>apu-1-config</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>is a simple script that provides information about the
|
|
|
|
installed APR-Util program.</para>
|
|
|
|
<indexterm zone="apache apu-1-config">
|
|
|
|
<primary sortas="b-apu-1-config">apu-1-config</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2005-05-18 22:58:42 +08:00
|
|
|
<varlistentry id="apxs">
|
|
|
|
<term><command>apxs</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>is a tool for building and installing extension modules for
|
|
|
|
the <application>Apache</application> HTTP server.</para>
|
|
|
|
<indexterm zone="apache apxs">
|
|
|
|
<primary sortas="b-apxs">apxs</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2010-11-17 07:33:39 +08:00
|
|
|
<varlistentry id="checkgid">
|
|
|
|
<term><command>checkgid</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>is a program that checks whether it can setgid to the group
|
|
|
|
specified. This is to see if it is a valid group for Apache2 to use
|
|
|
|
at runtime. If the user (should be run as superuser) is in that
|
|
|
|
group, or can setgid to it, it will return 0.</para>
|
|
|
|
<indexterm zone="apache checkgid">
|
|
|
|
<primary sortas="b-checkgid">checkgid</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2009-09-26 12:41:54 +08:00
|
|
|
<varlistentry id="dbmmanage">
|
|
|
|
<term><command>dbmmanage</command></term>
|
2005-05-18 22:58:42 +08:00
|
|
|
<listitem>
|
|
|
|
<para>is used to create and update the DBM format files used to store
|
|
|
|
usernames and passwords for basic authentication of HTTP users.</para>
|
2009-09-26 12:41:54 +08:00
|
|
|
<indexterm zone="apache dbmmanage">
|
|
|
|
<primary sortas="b-dbmmanage">dbmmanage</primary>
|
2005-05-18 22:58:42 +08:00
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2010-11-17 07:33:39 +08:00
|
|
|
<varlistentry id="htcacheclean">
|
|
|
|
<term><command>htcacheclean</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>is used to clean up the disk cache.</para>
|
|
|
|
<indexterm zone="apache htcacheclean">
|
|
|
|
<primary sortas="b-htcacheclean">htcacheclean</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="htdbm">
|
|
|
|
<term><command>htdbm</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>is used to manipulate the DBM password databases.</para>
|
|
|
|
<indexterm zone="apache htdbm">
|
|
|
|
<primary sortas="b-htdbm">htdbm</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2005-05-18 22:58:42 +08:00
|
|
|
<varlistentry id="htdigest">
|
|
|
|
<term><command>htdigest</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>is used to create and update the flat-files used to store
|
|
|
|
usernames, realms and passwords for digest authentication of
|
|
|
|
HTTP users.</para>
|
|
|
|
<indexterm zone="apache htdigest">
|
|
|
|
<primary sortas="b-htdigest">htdigest</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="htpasswd">
|
|
|
|
<term><command>htpasswd</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>is used to create and update the flat-files used to store
|
|
|
|
usernames and passwords for basic authentication of HTTP users.</para>
|
|
|
|
<indexterm zone="apache htpasswd">
|
|
|
|
<primary sortas="b-htpasswd">htpasswd</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="httpd">
|
|
|
|
<term><command>httpd</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>is the <application>Apache</application>
|
|
|
|
HTTP server program.</para>
|
|
|
|
<indexterm zone="apache httpd">
|
|
|
|
<primary sortas="b-httpd">httpd</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2010-11-17 07:33:39 +08:00
|
|
|
<varlistentry id="httxt2dbm">
|
|
|
|
<term><command>httxt2dbm</command></term>
|
2005-05-18 22:58:42 +08:00
|
|
|
<listitem>
|
2010-11-17 07:33:39 +08:00
|
|
|
<para>is used to generate DBM files from text input, for use in
|
|
|
|
RewriteMap.</para>
|
|
|
|
<indexterm zone="apache httxt2dbm">
|
|
|
|
<primary sortas="b-httxt2dbm">httxt2dbm</primary>
|
2005-05-18 22:58:42 +08:00
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="logresolve">
|
|
|
|
<term><command>logresolve</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>is a post-processing program to resolve IP-addresses
|
|
|
|
in <application>Apache</application>'s access log files.</para>
|
|
|
|
<indexterm zone="apache logresolve">
|
|
|
|
<primary sortas="b-logresolve">logresolve</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="rotatelogs">
|
|
|
|
<term><command>rotatelogs</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>is a simple program for use in conjunction with
|
|
|
|
<application>Apache</application>'s piped log file feature.</para>
|
|
|
|
<indexterm zone="apache rotatelogs">
|
|
|
|
<primary sortas="b-rotatelogs">rotatelogs</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2010-11-17 07:33:39 +08:00
|
|
|
<varlistentry id="suexec">
|
|
|
|
<term><command>suexec</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>is used by the <application>Apache HTTP</application> Server
|
|
|
|
to switch to another user before executing CGI programs.</para>
|
|
|
|
<indexterm zone="apache suexec">
|
|
|
|
<primary sortas="b-suexec">suexec</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2005-05-18 22:58:42 +08:00
|
|
|
</variablelist>
|
|
|
|
|
|
|
|
</sect2>
|
2002-07-08 04:28:42 +08:00
|
|
|
|
|
|
|
</sect1>
|