[08254fc] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[08254fc] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[1e642794] | 7 | <!-- <!ENTITY apache-download-http "http://www.apache.org/dist/httpd/httpd-&apache-version;.tar.bz2"> -->
|
---|
[3c1f587] | 8 | <!ENTITY apache-download-http "http://archive.apache.org/dist/httpd/httpd-&apache-version;.tar.bz2">
|
---|
[1e642794] | 9 | <!ENTITY apache-download-ftp "ftp://apache.mirrors.pair.com/httpd/httpd-&apache-version;.tar.bz2">
|
---|
[084ee37] | 10 | <!ENTITY apache-md5sum "1696ae62cd879ab1d4dd9ff021a470f2">
|
---|
[20e6cade] | 11 | <!ENTITY apache-size "6.8 MB">
|
---|
| 12 | <!ENTITY apache-buildsize "105 MB (building all available DSO modules)">
|
---|
| 13 | <!ENTITY apache-time "1.2 SBU (building all available DSO modules)">
|
---|
[08254fc] | 14 | ]>
|
---|
| 15 |
|
---|
[7c7fa7d] | 16 | <sect1 id="apache" xreflabel="Apache-&apache-version;">
|
---|
[ab3a3af7] | 17 | <?dbhtml filename="apache.html"?>
|
---|
| 18 |
|
---|
| 19 | <sect1info>
|
---|
| 20 | <othername>$LastChangedBy$</othername>
|
---|
| 21 | <date>$Date$</date>
|
---|
| 22 | </sect1info>
|
---|
| 23 |
|
---|
| 24 | <title>Apache-&apache-version;</title>
|
---|
| 25 |
|
---|
| 26 | <indexterm zone="apache">
|
---|
| 27 | <primary sortas="a-Apache">Apache</primary>
|
---|
| 28 | </indexterm>
|
---|
| 29 |
|
---|
| 30 | <sect2 role="package">
|
---|
| 31 | <title>Introduction to Apache</title>
|
---|
| 32 |
|
---|
| 33 | <para>The <application>Apache</application> package contains an
|
---|
| 34 | open-source HTTP server. It is useful for creating local intranet
|
---|
| 35 | web sites or running huge web serving operations.</para>
|
---|
| 36 |
|
---|
[20e6cade] | 37 | &lfs70_checked;
|
---|
| 38 |
|
---|
[ab3a3af7] | 39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 40 | <itemizedlist spacing="compact">
|
---|
| 41 | <listitem>
|
---|
| 42 | <para>Download (HTTP): <ulink url="&apache-download-http;"/></para>
|
---|
| 43 | </listitem>
|
---|
| 44 | <listitem>
|
---|
| 45 | <para>Download (FTP): <ulink url="&apache-download-ftp;"/></para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>Download MD5 sum: &apache-md5sum;</para>
|
---|
| 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
| 51 | <para>Download size: &apache-size;</para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>Estimated disk space required: &apache-buildsize;</para>
|
---|
| 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
| 57 | <para>Estimated build time: &apache-time;</para>
|
---|
| 58 | </listitem>
|
---|
| 59 | </itemizedlist>
|
---|
| 60 |
|
---|
| 61 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 62 | <itemizedlist spacing='compact'>
|
---|
| 63 | <listitem>
|
---|
| 64 | <para>Required patch: <ulink
|
---|
| 65 | url="&patch-root;/httpd-&apache-version;-config-1.patch"/></para>
|
---|
| 66 | </listitem>
|
---|
[3ae60ba7] | 67 | <listitem>
|
---|
| 68 | <para>Required patch: <ulink
|
---|
| 69 | url="&patch-root;/httpd-&apache-version;-pcre-8.30-1.patch"/></para>
|
---|
| 70 | </listitem>
|
---|
[ab3a3af7] | 71 | </itemizedlist>
|
---|
| 72 |
|
---|
| 73 | <bridgehead renderas="sect3">Apache Dependencies</bridgehead>
|
---|
| 74 |
|
---|
| 75 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[2122007] | 76 | <para role="optional"><xref linkend="openldap"/>,
|
---|
[8961d128] | 77 | <xref linkend="openssl"/> (also used in the bundled APR-util),
|
---|
[1259e0e8] | 78 | <xref linkend="pcre"/>,
|
---|
[2122007] | 79 | <xref linkend="rsync"/>,
|
---|
| 80 | <xref linkend="lynx"/>,
|
---|
[c6dc484] | 81 | <ulink url="http://apr.apache.org/">APR</ulink>,
|
---|
| 82 | <ulink url="http://apr.apache.org/">APR-util</ulink>, and
|
---|
[1259e0e8] | 83 | <ulink url="http://www.distcache.org/">distcache</ulink></para>
|
---|
[ab3a3af7] | 84 |
|
---|
[870a50d] | 85 | <bridgehead renderas="sect4">Optional (Only if Using the Bundled
|
---|
| 86 | APR-util)</bridgehead>
|
---|
[358241d1] | 87 | <para role="optional"><!-- <xref linkend="pkgconfig"/>, -->
|
---|
[870a50d] | 88 | <xref linkend="expat"/>,
|
---|
[7bff1b2] | 89 | <!-- <xref linkend="gdbm"/>, -->
|
---|
[2122007] | 90 | <xref linkend="db"/>,
|
---|
| 91 | <xref linkend="unixodbc"/>,
|
---|
[8961d128] | 92 | <xref linkend="mysql"/>,
|
---|
| 93 | <xref linkend="postgresql"/>,
|
---|
| 94 | <xref linkend="sqlite"/>,
|
---|
| 95 | <ulink url="http://www.oracle.com/us/products/database/index.html">Oracle 11g</ulink>, and
|
---|
| 96 | <ulink url="http://www.freetds.org/">FreeTDS</ulink></para>
|
---|
[870a50d] | 97 |
|
---|
[20e6cade] | 98 | <para>Though you can install APR and APR-util as separate components, the
|
---|
| 99 | bundled versions that come with the Apache HTTPD tarball are
|
---|
| 100 | recommended.</para>
|
---|
[c6dc484] | 101 |
|
---|
[3cb0c57] | 102 | <para condition="html" role="usernotes">User Notes:
|
---|
| 103 | <ulink url="&blfs-wiki;/apache"/></para>
|
---|
| 104 |
|
---|
[ab3a3af7] | 105 | </sect2>
|
---|
| 106 |
|
---|
| 107 | <sect2 role="installation">
|
---|
| 108 | <title>Installation of Apache</title>
|
---|
| 109 |
|
---|
| 110 | <para>For security reasons, running the server as an unprivileged user and
|
---|
| 111 | group is strongly encouraged. Create the following group and user using the
|
---|
[1259e0e8] | 112 | following commands
|
---|
| 113 | (as <systemitem class="username">root</systemitem>):</para>
|
---|
[ab3a3af7] | 114 |
|
---|
[b785ab29] | 115 | <screen role="root"><userinput>groupadd -g 25 apache &&
|
---|
| 116 | useradd -c "Apache Server" -d /dev/null -g apache \
|
---|
| 117 | -s /bin/false -u 25 apache</userinput></screen>
|
---|
[ab3a3af7] | 118 |
|
---|
[9196f196] | 119 | <note><para>The above command directs the <application>Apache</application>
|
---|
| 120 | user's home directory to <filename>/dev/null</filename>. This may not work
|
---|
[608a225] | 121 | for some add-ons such as <ulink
|
---|
| 122 | url='http://www.viewvc.org/'><application>ViewVC</application></ulink>, a
|
---|
| 123 | browser interface for CVS and Subversion version control repositories.
|
---|
[9f12e36] | 124 | See the User Notes for details for specific applications.</para></note>
|
---|
[9196f196] | 125 |
|
---|
[1259e0e8] | 126 | <para>The following patch modifies the layout of destination
|
---|
| 127 | directories and among them, the build directory at
|
---|
[ab3a3af7] | 128 | <filename class="directory">/usr/lib/apache/build</filename>. This
|
---|
| 129 | will allow the modules added to <application>Apache</application>
|
---|
| 130 | to be configured without errors. Apply the patch:</para>
|
---|
| 131 |
|
---|
[3ae60ba7] | 132 | <screen><userinput>patch -p1 < ../httpd-&apache-version;-pcre-8.30-1.patch &&
|
---|
| 133 | patch -Np1 -i ../httpd-&apache-version;-config-1.patch</userinput></screen>
|
---|
[ab3a3af7] | 134 |
|
---|
[f165eea] | 135 | <note>
|
---|
| 136 | <para>You may wish to review the output from
|
---|
| 137 | <command>./configure --help</command> and include whatever parameters
|
---|
| 138 | are necessary to the <command>configure</command> command below to build
|
---|
[8961d128] | 139 | the modules required for your installation. There are as many as 65
|
---|
[1259e0e8] | 140 | additional parameters you can add to the <command>configure</command>
|
---|
| 141 | command to build additional modules. Some of the extra parameters which
|
---|
| 142 | aren't described or mentioned in the <parameter>--help</parameter>
|
---|
| 143 | information are listed in the <quote>Command Explanations</quote> section
|
---|
| 144 | below.</para>
|
---|
[870a50d] | 145 |
|
---|
| 146 | <para>If you are using the bundled version of
|
---|
| 147 | <application>APR-util</application> and you are going to install
|
---|
| 148 | <application>Subversion</application> with
|
---|
| 149 | <application>Berkeley DB</application> back-end support, ensure you use
|
---|
| 150 | the parameters shown in the <quote>Command Explanations</quote> section
|
---|
| 151 | below.</para>
|
---|
[265dc9fb] | 152 |
|
---|
| 153 | <para>While it is not built by default when using the following commands,
|
---|
[8961d128] | 154 | the ISAPI DSO module can be created by adding the
|
---|
| 155 | <option>--enable-isapi</option> option. Even though the module will
|
---|
| 156 | compile, install and load fine, the module is
|
---|
[265dc9fb] | 157 | <emphasis>only</emphasis> supported and functional in Win32
|
---|
| 158 | environments.</para>
|
---|
[f165eea] | 159 | </note>
|
---|
| 160 |
|
---|
[ab3a3af7] | 161 | <para>Build and install <application>Apache</application> by running the
|
---|
| 162 | following commands:</para>
|
---|
| 163 |
|
---|
[20e6cade] | 164 | <screen><userinput>./configure --enable-layout=FHS \
|
---|
| 165 | --enable-mods-shared=all \
|
---|
| 166 | --enable-so &&
|
---|
[ab3a3af7] | 167 | make</userinput></screen>
|
---|
| 168 |
|
---|
| 169 | <para>This package does not come with a test suite.</para>
|
---|
| 170 |
|
---|
| 171 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 172 |
|
---|
| 173 | <screen role="root"><userinput>make install &&
|
---|
[20e6cade] | 174 | chown -v root:root /usr/lib/apache/httpd.exp \
|
---|
| 175 | /usr/sbin/{apxs,apachectl,dbmmanage,envvars{,-std}} \
|
---|
| 176 | /usr/share/man/man1/{dbmmanage,ht{dbm,digest,passwd}}.1 \
|
---|
[1259e0e8] | 177 | /usr/share/man/man8/{ab,apachectl,apxs,htcacheclean,httpd}.8 \
|
---|
[47603ac1] | 178 | /usr/share/man/man8/{logresolve,rotatelogs,suexec}.8 &&
|
---|
[f165eea] | 179 | chown -v -R apache:apache /srv/www</userinput></screen>
|
---|
[08254fc] | 180 |
|
---|
[ab3a3af7] | 181 | </sect2>
|
---|
[08254fc] | 182 |
|
---|
[ab3a3af7] | 183 | <sect2 role="commands">
|
---|
| 184 | <title>Command Explanations</title>
|
---|
[08254fc] | 185 |
|
---|
[ab3a3af7] | 186 | <para><parameter>--enable-mods-shared=all</parameter>: The modules
|
---|
| 187 | should be compiled and used as Dynamic Shared Objects
|
---|
| 188 | (DSOs) so they can be included and excluded from the
|
---|
| 189 | server using the run-time configuration directives.</para>
|
---|
[08254fc] | 190 |
|
---|
[1259e0e8] | 191 | <para><option>--enable-ssl</option>: Use this parameter
|
---|
[ab3a3af7] | 192 | to create the <filename class="libraryfile">mod_ssl</filename>
|
---|
[1259e0e8] | 193 | module and enable SSL support. This parameter is mentioned as one of many
|
---|
| 194 | parameters which can be passed to the <command>configure</command> command
|
---|
[8961d128] | 195 | to create additional DSO modules.<!-- Note that it really only affects the
|
---|
| 196 | APR-Util sub-package, which the HTTPD installation then uses.--></para>
|
---|
[1259e0e8] | 197 |
|
---|
| 198 | <para><option>--with-pcre</option>: Add this parameter to use the system
|
---|
| 199 | installed version of the <application>PCRE</application> library.</para>
|
---|
| 200 |
|
---|
| 201 | <para><option>--with-z</option>: Add this parameter to use the system
|
---|
| 202 | installed version of the <application>Zlib</application> library.</para>
|
---|
| 203 |
|
---|
| 204 | <para><option>--with-ldap</option>: This parameter is required if you
|
---|
| 205 | passed the <option>--enable-authnz-ldap</option> or
|
---|
[6473e74] | 206 | <option>--enable-ldap</option> options to <command>configure</command>
|
---|
[1259e0e8] | 207 | and enabled the <application>OpenLDAP</application> modules.</para>
|
---|
[08254fc] | 208 |
|
---|
[562594ff] | 209 | <para><option>--with-dbm=db4 --with-berkeley-db</option>: Use these
|
---|
[870a50d] | 210 | parameters if you require <application>Berkeley DB</application> support in
|
---|
| 211 | the bundled version of <application>APR-util</application> (required for
|
---|
| 212 | <application>Berkeley DB</application> back-end support in
|
---|
[8961d128] | 213 | <application>Subversion</application>). If you are using
|
---|
| 214 | <application>Berkeley DB</application>-5.1, change the first parameter to
|
---|
| 215 | <option>--with-dbm=db51</option>.</para>
|
---|
| 216 |
|
---|
| 217 | <para><option>--with-mysql</option>: Add this parameter to use the system
|
---|
| 218 | installed version of <application>MySQL</application>.</para>
|
---|
[870a50d] | 219 |
|
---|
[afe66bc3] | 220 | <para><option>--with-included-apr</option>: Add this parameter to use the
|
---|
| 221 | bundled version of the APR system. The default is to use a
|
---|
| 222 | system-installed version, if one if available. Use this parameter to force
|
---|
| 223 | the build to use and then install (overwriting the existing APR) the
|
---|
| 224 | internal (bundled) copy of the APR.</para>
|
---|
| 225 |
|
---|
[ab3a3af7] | 226 | <para><command>chown root:root ...</command>: This command changes the
|
---|
| 227 | ownership of some installed files, the result of building the package as
|
---|
| 228 | a user other than <systemitem class="username">root</systemitem>.</para>
|
---|
[4fb9a95] | 229 |
|
---|
[ab3a3af7] | 230 | <para><command>chown -R apache:apache /srv/www</command>: By default, the
|
---|
| 231 | installation process installs files (documentation, error messages, default
|
---|
| 232 | icons, etc.) with the ownership of the user that extracted the files from
|
---|
| 233 | the tar file. If you want to change the ownership to another user, you
|
---|
| 234 | should do so at this point. The only requirement is that the document
|
---|
| 235 | directories need to be accessible by the <command>httpd</command> process
|
---|
| 236 | with (r-x) permissions and files need to be readable (r--) by the
|
---|
| 237 | <systemitem class="username">apache</systemitem> user.</para>
|
---|
[4fb9a95] | 238 |
|
---|
[ab3a3af7] | 239 | </sect2>
|
---|
[08254fc] | 240 |
|
---|
[ab3a3af7] | 241 | <sect2 role="configuration">
|
---|
| 242 | <title>Configuring Apache</title>
|
---|
[08254fc] | 243 |
|
---|
[ab3a3af7] | 244 | <sect3 id="apache-config">
|
---|
| 245 | <title>Config Files</title>
|
---|
[08254fc] | 246 |
|
---|
[ab3a3af7] | 247 | <para><filename>/etc/apache/*</filename></para>
|
---|
[08254fc] | 248 |
|
---|
[ab3a3af7] | 249 | <indexterm zone="apache apache-config">
|
---|
| 250 | <primary sortas="e-etc-apache">/etc/apache/*</primary>
|
---|
| 251 | </indexterm>
|
---|
[08254fc] | 252 |
|
---|
[ab3a3af7] | 253 | <indexterm zone="apache apache-config">
|
---|
| 254 | <primary sortas="e-etc-apache-httpd.conf">/etc/apache/httpd.conf</primary>
|
---|
| 255 | </indexterm>
|
---|
[08254fc] | 256 |
|
---|
[ab3a3af7] | 257 | </sect3>
|
---|
| 258 |
|
---|
| 259 | <sect3>
|
---|
| 260 | <title>Configuration Information</title>
|
---|
| 261 |
|
---|
[1259e0e8] | 262 | <para>The main configuration file is named
|
---|
| 263 | <filename>/etc/apache/httpd.conf</filename>. Modify it so that the HTTP
|
---|
| 264 | server runs as the dedicated user and group:</para>
|
---|
[ab3a3af7] | 265 |
|
---|
[fb832ac] | 266 | <screen role="root"><userinput>sed -i -e "s/User daemon/User apache/" \
|
---|
[1259e0e8] | 267 | -e "s/Group daemon/Group apache/" \
|
---|
[ab3a3af7] | 268 | /etc/apache/httpd.conf</userinput></screen>
|
---|
| 269 |
|
---|
[1259e0e8] | 270 | <para>See <ulink url="http://httpd.apache.org/docs-2.2/configuring.html"/>
|
---|
[ab3a3af7] | 271 | for detailed instructions on customizing your
|
---|
[1259e0e8] | 272 | <application>Apache</application> HTTP server configuration file.</para>
|
---|
[ab3a3af7] | 273 |
|
---|
| 274 | </sect3>
|
---|
| 275 |
|
---|
[f856738] | 276 | <sect3 id="httpd-init">
|
---|
[ab3a3af7] | 277 | <title>Boot Script</title>
|
---|
| 278 |
|
---|
| 279 | <para>If you want the <application>Apache</application> server to
|
---|
| 280 | start automatically when the system is booted, install the
|
---|
[f856738] | 281 | <filename>/etc/rc.d/init.d/httpd</filename> init script included
|
---|
[5254d12] | 282 | in the <xref linkend="bootscripts"/> package.</para>
|
---|
[ab3a3af7] | 283 |
|
---|
[f856738] | 284 | <indexterm zone="apache httpd-init">
|
---|
[ab3a3af7] | 285 | <primary sortas="f-apache">apache</primary>
|
---|
| 286 | </indexterm>
|
---|
| 287 |
|
---|
[f856738] | 288 | <screen role="root"><userinput>make install-httpd</userinput></screen>
|
---|
[ab3a3af7] | 289 |
|
---|
| 290 | </sect3>
|
---|
| 291 |
|
---|
| 292 | </sect2>
|
---|
| 293 |
|
---|
| 294 | <sect2 role="content">
|
---|
| 295 | <title>Contents</title>
|
---|
| 296 |
|
---|
| 297 | <segmentedlist>
|
---|
| 298 | <segtitle>Installed Programs</segtitle>
|
---|
| 299 | <segtitle>Installed Libraries</segtitle>
|
---|
| 300 | <segtitle>Installed Directories</segtitle>
|
---|
| 301 |
|
---|
| 302 | <seglistitem>
|
---|
[8961d128] | 303 | <seg>ab, apachectl, apr-1-config, apu-1-config, apxs, checkgid,
|
---|
| 304 | dbmmanage, htcacheclean, htdbm, htdigest, htpasswd, httpd, httxt2dbm,
|
---|
| 305 | logresolve, rotatelogs, and suexec</seg>
|
---|
| 306 | <seg>libapr-1.{so,a}, libaprutil-1.{so,a}, apr_{dbd,ldap} database
|
---|
| 307 | modules, and numerous DSO modules</seg>
|
---|
| 308 | <seg>/etc/apache, /srv/www, /usr/include/apache, /usr/lib/apache,
|
---|
| 309 | /usr/lib/apr-util-1, and /var/log/apache</seg>
|
---|
[ab3a3af7] | 310 | </seglistitem>
|
---|
| 311 | </segmentedlist>
|
---|
| 312 |
|
---|
| 313 | <variablelist>
|
---|
| 314 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 315 | <?dbfo list-presentation="list"?>
|
---|
| 316 | <?dbhtml list-presentation="table"?>
|
---|
| 317 |
|
---|
| 318 | <varlistentry id="ab">
|
---|
| 319 | <term><command>ab</command></term>
|
---|
| 320 | <listitem>
|
---|
| 321 | <para>is a tool for benchmarking your
|
---|
| 322 | <application>Apache</application> HTTP server.</para>
|
---|
| 323 | <indexterm zone="apache ab">
|
---|
| 324 | <primary sortas="b-ab">ab</primary>
|
---|
| 325 | </indexterm>
|
---|
| 326 | </listitem>
|
---|
| 327 | </varlistentry>
|
---|
| 328 |
|
---|
| 329 | <varlistentry id="apachectl">
|
---|
| 330 | <term><command>apachectl</command></term>
|
---|
| 331 | <listitem>
|
---|
| 332 | <para>is a front end to the <application>Apache</application>
|
---|
| 333 | HTTP server which is designed to help the administrator
|
---|
| 334 | control the functioning of the <application>Apache</application>
|
---|
| 335 | httpd daemon.</para>
|
---|
| 336 | <indexterm zone="apache apachectl">
|
---|
| 337 | <primary sortas="b-apachectl">apachectl</primary>
|
---|
| 338 | </indexterm>
|
---|
| 339 | </listitem>
|
---|
| 340 | </varlistentry>
|
---|
| 341 |
|
---|
[8961d128] | 342 | <varlistentry id="apr-1-config">
|
---|
| 343 | <term><command>apr-1-config</command></term>
|
---|
| 344 | <listitem>
|
---|
| 345 | <para>is a simple script that provides information about the
|
---|
| 346 | installed APR program.</para>
|
---|
| 347 | <indexterm zone="apache apr-1-config">
|
---|
| 348 | <primary sortas="b-apr-1-config">apr-1-config</primary>
|
---|
| 349 | </indexterm>
|
---|
| 350 | </listitem>
|
---|
| 351 | </varlistentry>
|
---|
| 352 |
|
---|
| 353 | <varlistentry id="apu-1-config">
|
---|
| 354 | <term><command>apu-1-config</command></term>
|
---|
| 355 | <listitem>
|
---|
| 356 | <para>is a simple script that provides information about the
|
---|
| 357 | installed APR-Util program.</para>
|
---|
| 358 | <indexterm zone="apache apu-1-config">
|
---|
| 359 | <primary sortas="b-apu-1-config">apu-1-config</primary>
|
---|
| 360 | </indexterm>
|
---|
| 361 | </listitem>
|
---|
| 362 | </varlistentry>
|
---|
| 363 |
|
---|
[ab3a3af7] | 364 | <varlistentry id="apxs">
|
---|
| 365 | <term><command>apxs</command></term>
|
---|
| 366 | <listitem>
|
---|
| 367 | <para>is a tool for building and installing extension modules for
|
---|
| 368 | the <application>Apache</application> HTTP server.</para>
|
---|
| 369 | <indexterm zone="apache apxs">
|
---|
| 370 | <primary sortas="b-apxs">apxs</primary>
|
---|
| 371 | </indexterm>
|
---|
| 372 | </listitem>
|
---|
| 373 | </varlistentry>
|
---|
| 374 |
|
---|
[8961d128] | 375 | <varlistentry id="checkgid">
|
---|
| 376 | <term><command>checkgid</command></term>
|
---|
| 377 | <listitem>
|
---|
| 378 | <para>is a program that checks whether it can setgid to the group
|
---|
| 379 | specified. This is to see if it is a valid group for Apache2 to use
|
---|
| 380 | at runtime. If the user (should be run as superuser) is in that
|
---|
| 381 | group, or can setgid to it, it will return 0.</para>
|
---|
| 382 | <indexterm zone="apache checkgid">
|
---|
| 383 | <primary sortas="b-checkgid">checkgid</primary>
|
---|
| 384 | </indexterm>
|
---|
| 385 | </listitem>
|
---|
| 386 | </varlistentry>
|
---|
| 387 |
|
---|
[de2551f] | 388 | <varlistentry id="dbmmanage">
|
---|
| 389 | <term><command>dbmmanage</command></term>
|
---|
[ab3a3af7] | 390 | <listitem>
|
---|
| 391 | <para>is used to create and update the DBM format files used to store
|
---|
| 392 | usernames and passwords for basic authentication of HTTP users.</para>
|
---|
[de2551f] | 393 | <indexterm zone="apache dbmmanage">
|
---|
| 394 | <primary sortas="b-dbmmanage">dbmmanage</primary>
|
---|
[ab3a3af7] | 395 | </indexterm>
|
---|
| 396 | </listitem>
|
---|
| 397 | </varlistentry>
|
---|
| 398 |
|
---|
[8961d128] | 399 | <varlistentry id="htcacheclean">
|
---|
| 400 | <term><command>htcacheclean</command></term>
|
---|
| 401 | <listitem>
|
---|
| 402 | <para>is used to clean up the disk cache.</para>
|
---|
| 403 | <indexterm zone="apache htcacheclean">
|
---|
| 404 | <primary sortas="b-htcacheclean">htcacheclean</primary>
|
---|
| 405 | </indexterm>
|
---|
| 406 | </listitem>
|
---|
| 407 | </varlistentry>
|
---|
| 408 |
|
---|
| 409 | <varlistentry id="htdbm">
|
---|
| 410 | <term><command>htdbm</command></term>
|
---|
| 411 | <listitem>
|
---|
| 412 | <para>is used to manipulate the DBM password databases.</para>
|
---|
| 413 | <indexterm zone="apache htdbm">
|
---|
| 414 | <primary sortas="b-htdbm">htdbm</primary>
|
---|
| 415 | </indexterm>
|
---|
| 416 | </listitem>
|
---|
| 417 | </varlistentry>
|
---|
| 418 |
|
---|
[ab3a3af7] | 419 | <varlistentry id="htdigest">
|
---|
| 420 | <term><command>htdigest</command></term>
|
---|
| 421 | <listitem>
|
---|
| 422 | <para>is used to create and update the flat-files used to store
|
---|
| 423 | usernames, realms and passwords for digest authentication of
|
---|
| 424 | HTTP users.</para>
|
---|
| 425 | <indexterm zone="apache htdigest">
|
---|
| 426 | <primary sortas="b-htdigest">htdigest</primary>
|
---|
| 427 | </indexterm>
|
---|
| 428 | </listitem>
|
---|
| 429 | </varlistentry>
|
---|
| 430 |
|
---|
| 431 | <varlistentry id="htpasswd">
|
---|
| 432 | <term><command>htpasswd</command></term>
|
---|
| 433 | <listitem>
|
---|
| 434 | <para>is used to create and update the flat-files used to store
|
---|
| 435 | usernames and passwords for basic authentication of HTTP users.</para>
|
---|
| 436 | <indexterm zone="apache htpasswd">
|
---|
| 437 | <primary sortas="b-htpasswd">htpasswd</primary>
|
---|
| 438 | </indexterm>
|
---|
| 439 | </listitem>
|
---|
| 440 | </varlistentry>
|
---|
| 441 |
|
---|
| 442 | <varlistentry id="httpd">
|
---|
| 443 | <term><command>httpd</command></term>
|
---|
| 444 | <listitem>
|
---|
| 445 | <para>is the <application>Apache</application>
|
---|
| 446 | HTTP server program.</para>
|
---|
| 447 | <indexterm zone="apache httpd">
|
---|
| 448 | <primary sortas="b-httpd">httpd</primary>
|
---|
| 449 | </indexterm>
|
---|
| 450 | </listitem>
|
---|
| 451 | </varlistentry>
|
---|
| 452 |
|
---|
[8961d128] | 453 | <varlistentry id="httxt2dbm">
|
---|
| 454 | <term><command>httxt2dbm</command></term>
|
---|
[ab3a3af7] | 455 | <listitem>
|
---|
[8961d128] | 456 | <para>is used to generate DBM files from text input, for use in
|
---|
| 457 | RewriteMap.</para>
|
---|
| 458 | <indexterm zone="apache httxt2dbm">
|
---|
| 459 | <primary sortas="b-httxt2dbm">httxt2dbm</primary>
|
---|
[ab3a3af7] | 460 | </indexterm>
|
---|
| 461 | </listitem>
|
---|
| 462 | </varlistentry>
|
---|
| 463 |
|
---|
| 464 | <varlistentry id="logresolve">
|
---|
| 465 | <term><command>logresolve</command></term>
|
---|
| 466 | <listitem>
|
---|
| 467 | <para>is a post-processing program to resolve IP-addresses
|
---|
| 468 | in <application>Apache</application>'s access log files.</para>
|
---|
| 469 | <indexterm zone="apache logresolve">
|
---|
| 470 | <primary sortas="b-logresolve">logresolve</primary>
|
---|
| 471 | </indexterm>
|
---|
| 472 | </listitem>
|
---|
| 473 | </varlistentry>
|
---|
| 474 |
|
---|
| 475 | <varlistentry id="rotatelogs">
|
---|
| 476 | <term><command>rotatelogs</command></term>
|
---|
| 477 | <listitem>
|
---|
| 478 | <para>is a simple program for use in conjunction with
|
---|
| 479 | <application>Apache</application>'s piped log file feature.</para>
|
---|
| 480 | <indexterm zone="apache rotatelogs">
|
---|
| 481 | <primary sortas="b-rotatelogs">rotatelogs</primary>
|
---|
| 482 | </indexterm>
|
---|
| 483 | </listitem>
|
---|
| 484 | </varlistentry>
|
---|
| 485 |
|
---|
[8961d128] | 486 | <varlistentry id="suexec">
|
---|
| 487 | <term><command>suexec</command></term>
|
---|
| 488 | <listitem>
|
---|
| 489 | <para>is used by the <application>Apache HTTP</application> Server
|
---|
| 490 | to switch to another user before executing CGI programs.</para>
|
---|
| 491 | <indexterm zone="apache suexec">
|
---|
| 492 | <primary sortas="b-suexec">suexec</primary>
|
---|
| 493 | </indexterm>
|
---|
| 494 | </listitem>
|
---|
| 495 | </varlistentry>
|
---|
| 496 |
|
---|
[ab3a3af7] | 497 | </variablelist>
|
---|
| 498 |
|
---|
| 499 | </sect2>
|
---|
[f45b1953] | 500 |
|
---|
| 501 | </sect1>
|
---|