+++ /dev/null
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-
-<html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta name="generator" content="HTML Tidy, see www.w3.org" />
-
- <title>Compiling and Installing Apache</title>
- </head>
- <!-- Background white, links blue (unvisited), navy (visited), red (active) -->
-
- <body bgcolor="#FFFFFF" text="#000000" link="#0000FF"
- vlink="#000080" alink="#FF0000">
- <!--#include virtual="header.html" -->
-
- <h1 align="CENTER">Compiling and Installing</h1>
-
- <p>This document covers compilation and installation of Apache
- on Unix and Unix-like systems only. For compiling and
- installation on Windows, see <a
- href="platform/windows.html">Using Apache with Microsoft
- Windows</a>. For other platforms, see the <a
- href="platform/">platform</a> documentation.</p>
-
- <p>Apache 2.0's configuration and installation environment has
- changed completely from Apache 1.3. Apache 1.3 used a custom
- set of scripts to achieve easy installation. Apache 2.0 now
- uses libtool and autoconf to create an environment that looks
- like many other Open Source projects.</p>
-
- <ul>
- <li><a href="#overview">Overview for the impatient</a></li>
-
- <li><a href="#requirements">Requirements</a></li>
-
- <li><a href="#download">Download</a></li>
-
- <li><a href="#extract">Extract</a></li>
-
- <li>
- <a href="#configure">Configuring the source tree</a>
-
- <ul>
- <li><a href="#environment">Environment Variables</a></li>
-
- <li><a href="#output">autoconf Output Options</a></li>
-
- <li><a href="#pathnames">Pathnames</a></li>
-
- <li><a href="#modules">Modules</a></li>
-
- <li><a href="#suexec">Suexec</a></li>
- </ul>
- </li>
-
- <li><a href="#compile">Build</a></li>
-
- <li><a href="#install">Install</a></li>
-
- <li><a href="#customize">Customize</a></li>
-
- <li><a href="#test">Test</a></li>
- </ul>
- <hr />
-
- <h3><a id="overview" name="overview">Overview for the
- impatient</a></h3>
-
- <table>
- <tr>
- <td><a href="#download">Download</a></td>
-
- <td><code>$ lynx
- http://www.apache.org/dist/httpd/httpd-2_0_<em>NN</em>.tar.gz</code>
- </td>
- </tr>
-
- <tr>
- <td><a href="#extract">Extract</a></td>
-
- <td><code>$ gzip -d httpd-2_0_<em>NN</em>.tar.gz<br />
- $ tar xvf httpd-2_0_<em>NN</em>.tar</code> </td>
- </tr>
-
- <tr>
- <td><a href="#configure">Configure</a></td>
-
- <td><code>$ ./configure --prefix=<em>PREFIX</em></code>
- </td>
- </tr>
-
- <tr>
- <td><a href="#compile">Compile</a></td>
-
- <td><code>$ make</code> </td>
- </tr>
-
- <tr>
- <td><a href="#install">Install</a></td>
-
- <td><code>$ make install</code> </td>
- </tr>
-
- <tr>
- <td><a href="#customize">Customize</a></td>
-
- <td><code>$ vi <em>PREFIX</em>/conf/httpd.conf</code> </td>
- </tr>
-
- <tr>
- <td><a href="#test">Test</a></td>
-
- <td><code>$ <em>PREFIX</em>/bin/apachectl start</code>
- </td>
- </tr>
- </table>
-
- <p><em>NN</em> must be replaced with the current minor version
- number, and <em>PREFIX</em> must be replaced with the
- filesystem path under which the server should be installed. If
- <em>PREFIX</em> is not specified, it defaults to
- <code>/usr/local/apache2</code>.</p>
-
- <p>Each section of the compilation and installation process is
- described in more detail below, beginning with the requirements
- for compiling and installing Apache HTTPD.</p>
-
- <h3><a id="requirements"
- name="requirements">Requirements</a></h3>
-
- <p>The following requirements exist for building Apache:</p>
-
- <ul>
- <li>Disk Space<br />
- <br />
- Make sure you have at least 50 MB of temporary free disk
- space available. After installation Apache occupies
- approximately 10 MB of disk space. The actual disk space
- requirements will vary considerably based on your chosen
- configuration options and any third-party modules.<br />
- <br />
- </li>
-
- <li>ANSI-C Compiler and Build System<br />
- <br />
- Make sure you have an ANSI-C compiler installed. The <a
- href="http://www.gnu.org/software/gcc/gcc.html">GNU C
- compiler (GCC)</a> from the <a
- href="http://www.gnu.org/">Free Software Foundation (FSF)</a>
- is recommended (version 2.7.2 is fine). If you don't have GCC
- then at least make sure your vendor's compiler is ANSI
- compliant. In addition, your <code>PATH</code> must contain
- basic build tools such as <code>make</code>.<br />
- <br />
- </li>
-
- <li>Accurate time keeping<br />
- <br />
- Elements of the HTTP protocol are expressed as the time of
- day. So, it's time to investigate setting some time
- synchronization facility on your system. Usually the ntpdate
- or xntpd programs are used for this purpose which are based
- on the Network Time Protocol (NTP). See the Usenet newsgroup
- <a
- href="news:comp.protocols.time.ntp">comp.protocols.time.ntp</a>
- and the <a href="http://www.eecis.udel.edu/~ntp/">NTP
- homepage</a> for more details about NTP software and public
- time servers.<br />
- <br />
- </li>
-
- <li><a href="http://www.perl.org/">Perl 5</a>
- [OPTIONAL]<br />
- <br />
- For some of the support scripts like <a
- href="programs/apxs.html">apxs</a> or <a
- href="programs/dbmmanage.html">dbmmanage</a> (which are
- written in Perl) the Perl 5 interpreter is required (versions
- 5.003 and 5.004 are fine). If no such interpreter is found by
- the `configure' script there is no harm. Of course, you still
- can build and install Apache 2.0. Only those support scripts
- cannot be used. If you have multiple Perl interpreters
- installed (perhaps a Perl 4 from the vendor and a Perl 5 from
- your own), then it is recommended to use the --with-perl
- option (see below) to make sure the correct one is selected
- by ./configure.<br />
- <br />
- </li>
- </ul>
-
- <h3><a id="download" name="download">Download</a></h3>
-
- <p>Apache can be downloaded from the <a
- href="http://www.apache.org/dist/httpd/">Apache Software
- Foundation download site</a> or from a <a
- href="http://www.apache.org/dyn/closer.cgi/httpd/">nearby
- mirror</a>.</p>
-
- <p>Version numbers that end in <code>alpha</code> indicate
- early pre-test versions which may or may not work. Version
- numbers ending in <code>beta</code> indicate more reliable
- releases that still require further testing or bug fixing. If
- you wish to download the best available production release of
- the Apache HTTP Server, you should choose the latest version
- with neither <code>alpha</code> nor <code>beta</code> in its
- filename.</p>
-
- <p>After downloading, especially if a mirror site is used, it
- is important to verify that you have a complete and unmodified
- version of the Apache HTTP Server. This can be accomplished by
- testing the downloaded tarball against the PGP signature. This,
- in turn, is a two step procedure. First, you must obtain the
- <code>KEYS</code> file from the <a
- href="http://www.apache.org/dist/httpd/">Apache distribution
- site</a>. (To assure that the <code>KEYS</code> file itself has
- not been modified, it may be a good idea to use a file from a
- previous distribution of Apache or import the keys from a
- public key server.) The keys are imported into your personal
- key ring using one of the following commands (depending on your
- pgp version):</p>
-
- <blockquote>
- <code>$ pgp < KEYS</code>
- </blockquote>
- or
-
- <blockquote>
- <code>$ gpg --import KEYS</code>
- </blockquote>
-
- <p>The next step is to test the tarball against the PGP
- signature, which should always be obtained from the <a
- href="http://www.apache.org/dist/httpd/">main Apache
- website</a>. The signature file has a filename identical to the
- source tarball with the addition of <code>.asc</code>. Then you
- can check the distribution with one of the following commands
- (again, depending on your pgp version):</p>
-
- <blockquote>
- <code>$ pgp httpd-2_0_<em>NN</em>.tar.gz.asc</code>
- </blockquote>
- or
-
- <blockquote>
- <code>$ gpg --verify httpd-2_0_<em>NN</em>.tar.gz.asc</code>
- </blockquote>
- You should receive a message like<br />
- <br />
-
-
- <blockquote>
- <code>Good signature from user "Martin Kraemer
- <martin@apache.org>".</code>
- </blockquote>
-
- <p>Depending on the trust relationships contained in your key
- ring, you may also receive a message saying that the
- relationship between the key and the signer of the key cannot
- be verified. This is not a problem if you trust the
- authenticity of the <code>KEYS</code> file.</p>
-
- <h3><a id="extract" name="extract">Extract</a></h3>
-
- <p>Extracting the source from the Apache HTTPD tarball is a
- simple matter of uncompressing, and then untarring:</p>
-
- <blockquote>
- <code>$ gzip -d httpd-2_0_<em>NN</em>.tar.gz<br />
- $ tar xvf httpd-2_0_<em>NN</em>.tar</code>
- </blockquote>
-
- <p>This will create a new directory under the current directory
- containing the source code for the distribution. You should
- <code>cd</code> into that directory before proceeding with
- compiling the server.</p>
-
- <h3><a id="configure" name="configure">Configuring the source
- tree</a></h3>
-
- <p>The next step is to configure the Apache source tree for
- your particular platform and personal requirements. This is
- done using the script <code>configure</code> included in the
- root directory of the distribution. (Developers downloading the
- CVS version of the Apache source tree will need to have
- <code>autoconf</code> and <code>libtool</code> installed and
- will need to run <code>buildconf</code> before proceeding with
- the next steps. This is not necessary for official
- releases.)</p>
-
- <p>To configure the source tree using all the default options,
- simply type <code>./configure</code>. To change the default
- options, <code>configure</code> accepts a variety of variables
- and command line options. Environment variables are generally
- placed before the <code>./configure</code> command, while other
- options are placed after. The most important option here is the
- location prefix where Apache is to be installed later, because
- Apache has to be configured for this location to work
- correctly. But there are a lot of other options available for
- your pleasure.</p>
-
- <p>For a short impression of what possibilities you have, here
- is a typical example which compiles Apache for the installation
- tree /sw/pkg/apache with a particular compiler and flags plus
- the two additional modules mod_rewrite and mod_speling for
- later loading through the DSO mechanism:</p>
-
- <blockquote>
- <code>$ CC="pgcc" CFLAGS="-O2" \<br />
- ./configure --prefix=/sw/pkg/apache \<br />
- --enable-rewrite=shared \<br />
- --enable-speling=shared</code>
- </blockquote>
-
- <p>When configure is run it will take several minutes to test
- for the availability of features on your system and build
- Makefiles which will later be used to compile the server.</p>
-
- <p>The easiest way to find all of the configuration flags for
- Apache is to run ./configure --help. What follows is a brief
- description of most of the arguments and environment
- variables.</p>
-
- <h4><a id="environment" name="environment">Environment
- Variables</a></h4>
-
- <p>The autoconf build process uses several environment
- variables to configure the build environment. In general, these
- variables change the method used to build Apache, but not the
- eventual features of the server. These variables can be placed
- in the environment before invoking <code>configure</code>, but
- it is usually easier to specify them on the
- <code>configure</code> command line as demonstrated in the
- example above.</p>
-
- <dl>
- <dt><code>CC=...</code></dt>
-
- <dd>The name of the C compiler command.</dd>
-
- <dt><code>CPPFLAGS=...</code></dt>
-
- <dd>Miscellaneous C preprocessor and compiler options.</dd>
-
- <dt><code>CFLAGS=...</code></dt>
-
- <dd>Debugging and optimization options for the C
- compiler.</dd>
-
- <dt><code>LDFLAGS=...</code></dt>
-
- <dd>Miscellaneous options to be passed to the linker.</dd>
-
- <dt><code>LIBS=...</code></dt>
-
- <dd>Library location information ("-L" and "-l" options) to
- pass to the linker.</dd>
-
- <dt><code>INCLUDES=...</code></dt>
-
- <dd>Header file search directories ("-I<em>dir</em>").</dd>
-
- <dt><code>TARGET=...</code> [Default: apache]</dt>
-
- <dd>Name of the executable which will be built.</dd>
-
- <dt><code>NOTEST_CPPFLAGS=...</code></dt>
-
- <dt><code>NOTEST_CFLAGS=...</code></dt>
-
- <dt><code>NOTEST_LDFLAGS=...</code></dt>
-
- <dt><code>NOTEST_LIBS=...</code></dt>
-
- <dd>These variables share the same function as their
- non-NOTEST namesakes. However, the variables are applied to
- the build process only after autoconf has performed its
- feature testing. This allows the inclusion of flags which
- will cause problems during feature testing, but must be used
- for the final compilation.</dd>
-
- <dt><code>SHLIB_PATH=...</code></dt>
-
- <dd>Options which specify shared library paths for the
- compiler and linker.</dd>
- </dl>
-
- <h4><a id="output" name="output">autoconf Output
- Options</a></h4>
-
- <dl>
- <dt><code>--help</code></dt>
-
- <dd>Prints the usage message including all available options,
- but does not actually configure anything.</dd>
-
- <dt><code>--quiet</code></dt>
-
- <dd>Prevents the printing of the usual "checking..."
- messages.</dd>
-
- <dt><code>--verbose</code></dt>
-
- <dd>Prints much more information during the configuration
- process, including the names of all the files examined.</dd>
- </dl>
-
- <h4><a id="pathnames" name="pathnames">Pathnames</a></h4>
-
- <p>There are currently two ways to configure the pathnames
- under which Apache will install its files. First, you can
- specify a directory and have Apache install itself under that
- directory in its default locations.</p>
-
- <dl>
- <dt><code>--prefix=<em>PREFIX</em></code> [Default:
- /usr/local/apache2]</dt>
-
- <dd>Specifies the directory under which the Apache files will
- be installed.</dd>
- </dl>
-
- <p>It is possible to specify that architecture-dependent files
- should be placed under a different directory.</p>
-
- <dl>
- <dt><code>--exec-prefix=<em>EPREFIX</em></code> [Default:
- <em>PREFIX</em>]</dt>
-
- <dd>Specifies the directory under which
- architecture-dependent files will be placed.</dd>
- </dl>
-
- <p>The second, and more flexible way to configure the install
- path locations for Apache is using the
- <code>config.layout</code> file. Using this method, it is
- possible to separately specify the location for each type of
- file within the Apache installation. The
- <code>config.layout</code> file contains several example
- configurations, and you can also create your own custom
- configuration following the examples. The different layouts in
- this file are grouped into <code><Layout
- FOO>...</Layout></code> sections and referred to by
- name as in <code>FOO</code>.</p>
-
- <dl>
- <dt><code>--enable-layout=<em>LAYOUT</em></code></dt>
-
- <dd>Use the named layout in the <code>config.layout</code>
- file to specify the installation paths.</dd>
- </dl>
-
- <p>Presently it is not possible to mix the
- <code>--enable-layout</code> and <code>--prefix</code> options.
- Nor is it possible to individually specify detailed pathnames
- on the <code>configure</code> command line. If you want just a
- basic install, you can simply use the <code>--prefix</code>
- option on its own. If you want to customize your install, you
- should edit the <code>config.layout</code> file and use the
- <code>--enable-layout</code> option.</p>
-
- <h4><a id="modules" name="modules">Modules</a></h4>
-
- <p>Apache is a modular server. Only the most basic
- functionality is included in the core server. Extended features
- are available in various modules. During the configuration
- process, you must select which modules to compile for use with
- your server. You can view a <a
- href="mod/index.html">list of modules</a> included in
- the documentation. Those modules with a <a
- href="mod/module-dict.html#Status">status</a> of "Base" are
- included by default and must be specifically disabled if you do
- not want them. Modules with any other status must be
- specifically enabled if you wish to use them.</p>
-
- <p>There are two ways for a module to be compiled and used with
- Apache. Modules may be <em>statically compiled</em>, which
- means that they are permanently included in the Apache binary.
- Alternatively, if your operating system supports Dynamic Shared
- Objects (DSOs) and autoconf can detect that support, then
- modules may be <em>dynamically compiled</em>. DSO modules are
- stored separately from the Apache binary, and may be included
- or excluded from the server using the run-time configuration
- directives provided by <a href="mod/mod_so.html">mod_so</a>.
- The mod_so is automatically included in the server if any
- dynamic modules are included in the compilation. If you would
- like to make your server capable of loading DSOs without
- actually compiling any dynamic modules, you can explicitly
- <code>--enable-so</code>.</p>
-
- <dl>
- <dt><code>--enable-<em>MODULE</em>[=shared]</code></dt>
-
- <dd>Compile and include the module <em>MODULE</em>. The
- identifier <em>MODULE</em> is the <a
- href="mod/module-dict.html#ModuleIdentifier">Module
- Identifier</a> from the module documentation without the
- "_module" string. To compile the module as a DSO, add the
- option <code>=shared</code>.</dd>
-
- <dt><code>--disable-<em>MODULE</em></code></dt>
-
- <dd>Remove the module <em>MODULE</em> which would otherwise
- be compiled and included.</dd>
-
- <dt><code>--enable-modules=<em>MODULE-LIST</em></code></dt>
-
- <dd>Compile and include the modules listed in the
- space-separated <em>MODULE-LIST</em>.</dd>
-
- <dt>
- <code>--enable-mods-shared=<em>MODULE-LIST</em></code></dt>
-
- <dd>Compile and include the modules in the space-separated
- <em>MODULE-LIST</em> as dynamically loadable (DSO)
- modules.</dd>
- </dl>
-
- <p>The <em>MODULE-LIST</em> in the
- <code>--enable-modules</code> and
- <code>--enable-mods-shared</code> options is usually a
- space-separated list of module identifiers. For example, to
- enable mod_dav and mod_info, you can either use</p>
-
- <blockquote>
- <code>./configure --enable-dav --enable-info</code>
- </blockquote>
-
- <p>or, equivalently,</p>
-
- <blockquote>
- <code>./configure --enable-modules="dav info"</code>
- </blockquote>
-
- <p>In addition, the special keywords <code>all</code> or
- <code>most</code> can be used to add all or most of the modules
- in one step. You can then remove any modules that you do not
- want with the <code>--disable-<em>MODULE</em></code> option.
- For example, to include all modules as DSOs with the exception
- of mod_info, you can use</p>
-
- <blockquote>
- <code>./configure --enable-mods-shared=all
- --disable-info</code>
- </blockquote>
-
- <p>In addition to the standard set of modules, Apache 2.0 also
- includes a choice of <a href="mpm.html">Multi-Processing
- Modules</a> (MPMs). One, and only one MPM must be included in
- the compilation process. The default MPMs for each platform are
- listed on the <a href="mpm.html">MPM documentation page</a>,
- but can be overridden on the <code>configure</code> command
- line.</p>
-
- <dl>
- <dt><code>--with-mpm=<em>NAME</em></code></dt>
-
- <dd>Choose the mpm <em>NAME</em>.</dd>
- </dl>
-
- <h4><a id="suexec" name="suexec">Suexec</a></h4>
-
- <p>Apache includes a support program called <a
- href="suexec.html">suexec</a> which can be used to isolate user
- CGI programs. However, if suexec is improperly configured, it
- can cause serious security problems. Therefore, you should
- carefully read and consider the <a href="suexec.html">suexec
- documentation</a> before implementing this feature.</p>
-
- <h3><a id="compile" name="compile">Build</a></h3>
-
- <p>Now you can build the various parts which form the Apache
- package by simply running the command:</p>
-
- <blockquote>
- <code>$ make</code>
- </blockquote>
-
- <p>Please be patient here, since a base configuration takes
- approximately 3 minutes to compile under a Pentium III/Linux
- 2.2 system, but this will vary widely depending on your
- hardware and the number of modules which you have enabled.</p>
-
- <h3><a id="install" name="install">Install</a></h3>
-
- <p>Now its time to install the package under the configured
- installation <em>PREFIX</em> (see <code>--prefix</code> option
- above) by running:</p>
-
- <blockquote>
- <code>$ make install</code>
- </blockquote>
-
- <p>If you are upgrading, the installation will not overwrite
- your configuration files or documents.</p>
-
- <h3><a id="customize" name="customize">Customize</a></h3>
-
- <p>Next, you can customize your Apache HTTP server by editing
- the <a href="configuring.html">configuration files</a> under
- <em>PREFIX</em>/conf/.</p>
-
- <blockquote>
- <code>$ vi <em>PREFIX</em>/conf/httpd.conf</code>
- </blockquote>
-
- <p>Have a look at the Apache manual under <a
- href="./">docs/manual/</a> or <a
- href="http://httpd.apache.org/docs/">http://httpd.apache.org/docs/</a>
- for a complete reference of available <a
- href="mod/directives.html">configuration directives</a>.</p>
-
- <h3><a id="test" name="test">Test</a></h3>
-
- <p>Now you can <a href="invoking.html">start</a> your Apache
- HTTP server by immediately running:</p>
-
- <blockquote>
- <code>$ <em>PREFIX</em>/bin/apachectl start</code>
- </blockquote>
-
- <p>and then you should be able to request your first document
- via URL http://localhost/. The web page you see is located
- under the <a href="mod/core.html#documentroot">DocumentRoot</a>
- which will usually be <code><em>PREFIX</em>/htdocs/</code>.
- Then <a href="stopping.html">stop</a> the server again by
- running:</p>
-
- <blockquote>
- <code>$ <em>PREFIX</em>/bin/apachectl stop</code>
- </blockquote>
- <!--#include virtual="footer.html" -->
- </body>
-</html>
-
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+
+ <title>Apache\e$B$N%3%s%Q%$%k$H%$%s%9%H!<%k\e(B</title>
+ </head>
+ <!-- English revision: 1.40 -->
+ <!-- Background white, links blue (unvisited), navy (visited), red (active) -->
+
+ <body bgcolor="#FFFFFF" text="#000000" link="#0000FF"
+ vlink="#000080" alink="#FF0000">
+ <!--#include virtual="header.html" -->
+
+ <h1 align="center">\e$B%3%s%Q%$%k$H%$%s%9%H!<%k\e(B</h1>
+
+ <p>\e$B$3$NJ8=q$G07$&HO0O$O!"\e(BUnix \e$B$d\e(B Unix \e$B$KN`;w$7$?%7%9%F%`$G$N\e(B
+ Apache \e$B$N%3%s%Q%$%k$H%$%s%9%H!<%k$G$9!#\e(B Windows \e$B$K$*$1$k\e(B
+ \e$B%3%s%Q%$%k$H%$%s%9%H!<%k$K4X$7$F$O!V\e(B<a
+ href="platform/windows.html">Microsoft
+ Windows \e$B$G\e(B Apache \e$B$r;H$&\e(B</a>\e$B!W$r$4Mw2<$5$$!#\e(B
+ \e$B$=$NB>$N%W%i%C%H%[!<%`$K4X$7$F$O!V\e(B<a
+ href="platform/">\e$B%W%i%C%H%[!<%`\e(B</a>\e$B!W$r$4Mw2<$5$$!#\e(B</p>
+
+ <p> Apache 2.0 \e$B$N@_Dj$H%$%s%9%H!<%k$N4D6-$O!"\e(BApache 1.3 \e$B$H$O\e(B
+ \e$B40A4$K0[$J$k$b$N$K$J$j$^$7$?!#4JC1$K%$%s%9%H!<%k$G$-$k$h$&$K!"\e(B
+ Apache 1.3 \e$B$G$OFC@=%9%/%j%W%H$r;H$C$F$$$^$7$?!#\e(B
+ Apache 2.0 \e$B$G$OB>$N\e(B Open Source \e$B%W%m%8%'%/%H$HF1MM$N4D6-$K\e(B
+ \e$B$9$k$?$a$K\e(B libtool \e$B$H\e(B autoconf \e$B$r;H$&$h$&$K$J$C$F$$$^$9!#\e(B</p>
+
+ <ul>
+ <li><a href="#overview">\e$B35MW\e(B (\e$B$;$C$+$A$J?M8~$1\e(B)</a></li>
+
+ <li><a href="#requirements">\e$BI,MW$J$b$N\e(B</a></li>
+
+ <li><a href="#download">\e$B%@%&%s%m!<%I\e(B</a></li>
+
+ <li><a href="#extract">\e$BE83+\e(B</a></li>
+
+ <li>
+ <a href="#configure">\e$B%=!<%9%D%j!<$N@_Dj\e(B</a>
+
+ <ul>
+ <li><a href="#environment">\e$B4D6-JQ?t\e(B</a></li>
+
+ <li><a href="#output">autoconf \e$B$N=PNO%*%W%7%g%s\e(B</a></li>
+
+ <li><a href="#pathnames">\e$B%Q%9L>\e(B</a></li>
+
+ <li><a href="#modules">\e$B%b%8%e!<%k\e(B</a></li>
+
+ <li><a href="#suexec">Suexec</a></li>
+ </ul>
+ </li>
+
+ <li><a href="#compile">\e$B%S%k%I\e(B</a></li>
+
+ <li><a href="#install">\e$B%$%s%9%H!<%k\e(B</a></li>
+
+ <li><a href="#customize">\e$B%+%9%?%^%$%:\e(B</a></li>
+
+ <li><a href="#test">\e$B%F%9%H\e(B</a></li>
+ </ul>
+ <hr />
+
+ <h3><a id="overview" name="overview">\e$B35MW\e(B
+ (\e$B$;$C$+$A$J?M8~$1\e(B)</a></h3>
+
+ <table>
+ <tr>
+ <td><a href="#download">\e$B%@%&%s%m!<%I\e(B</a></td>
+
+ <td><code>$ lynx
+ http://www.apache.org/dist/httpd/httpd-2_0_<em>NN</em>.tar.gz</code>
+ </td>
+ </tr>
+
+ <tr>
+ <td><a href="#extract">\e$BE83+\e(B</a></td>
+
+ <td><code>$ gzip -d httpd-2_0_<em>NN</em>.tar.gz<br />
+ $ tar xvf httpd-2_0_<em>NN</em>.tar</code> </td>
+ </tr>
+
+ <tr>
+ <td><a href="#configure">\e$B@_Dj\e(B</a></td>
+
+ <td><code>$ ./configure --prefix=<em>PREFIX</em></code>
+ </td>
+ </tr>
+
+ <tr>
+ <td><a href="#compile">\e$B%3%s%Q%$%k\e(B</a></td>
+
+ <td><code>$ make</code> </td>
+ </tr>
+
+ <tr>
+ <td><a href="#install">\e$B%$%s%9%H!<%k\e(B</a></td>
+
+ <td><code>$ make install</code> </td>
+ </tr>
+
+ <tr>
+ <td><a href="#customize">\e$B%+%9%?%^%$%:\e(B</a></td>
+
+ <td><code>$ vi <em>PREFIX</em>/conf/httpd.conf</code> </td>
+ </tr>
+
+ <tr>
+ <td><a href="#test">\e$B%F%9%H\e(B</a></td>
+
+ <td><code>$ <em>PREFIX</em>/bin/apachectl start</code>
+ </td>
+ </tr>
+ </table>
+
+ <p><em>NN</em> \e$B$O:G?7$N%^%$%J!<%P!<%8%g%s%J%s%P!<$K!"\e(B
+ <em>PREFIX</em> \e$B$O%$%s%9%H!<%k$9$k%5!<%P$G$N%U%!%$%k%7%9%F%`$N%Q%9$K!"\e(B
+ \e$BCV$-49$($F$/$@$5$$!#\e(B<em>PREFIX</em> \e$B$r;XDj$7$J$+$C$?>l9g$O!"\e(B
+ \e$B%G%U%)%k%H$N\e(B <code>/usr/local/apache2</code> \e$B$K$J$j$^$9!#\e(B</p>
+
+ <p>Apache HTTPD \e$B$N%3%s%Q%$%k$H%$%s%9%H!<%k$KI,MW$J$b$N$r$O$8$a$H$7$F!"\e(B
+ \e$BJT=8$H%$%s%9%H!<%k%W%m%;%9$G$N$=$l$>$l$N9`$O\e(B
+ \e$B<!$K>\$7$/5-=R$5$l$F$$$^$9!#\e(B</p>
+
+ <h3><a id="requirements"
+ name="requirements">\e$BI,MW$J$b$N\e(B</a></h3>
+
+ <p>Apache \e$B$N%S%k%I$K$O<!$N$b$N$,I,MW$G$9\e(B:</p>
+
+ <ul>
+ <li>\e$B%G%#%9%/%9%Z!<%9\e(B<br />
+ <br />
+ \e$B%G%#%9%/$K>/$J$/$H$b\e(B 50 MB \e$B$N0l;~E*$J6u$-MFNL$,$"$k$h$&$K\e(B
+ \e$B5$$rIU$1$F$/$@$5$$!#%$%s%9%H!<%k8e$O\e(B Apache \e$B$O\e(B 10 MB \e$BDxEY$N\e(B
+ \e$B%G%#%9%/%9%Z!<%9$r@j$a$^$9!#<B:]$KI,MW$K$J$k%G%#%9%/%9%Z!<%9$O!"\e(B
+ \e$B@_Dj%*%W%7%g%s$d%5!<%I%Q!<%F%#!<@=%b%8%e!<%k$r$I$&A*Br$9$k$+$K$h$C$F\e(B
+ \e$BBg$-$/JQ$o$k$G$7$g$&!#\e(B<br />
+ <br />
+ </li>
+
+ <li>ANSI-C \e$B%3%s%Q%$%i$H%S%k%I%7%9%F%`\e(B<br />
+ <br />
+ ANSI-C \e$B%3%s%Q%$%i$r%$%s%9%H!<%k$7$F$*$$$F2<$5$$!#$*A&$a$O\e(B <a
+ href="http://www.gnu.org/">Free Software Foundation (FSF)</a>
+ \e$B$K$h$k\e(B <a href="http://www.gnu.org/software/gcc/gcc.html">GNU C
+ compiler (GCC)</a> \e$B$G$9\e(B (\e$B%P!<%8%g%s\e(B 2.7.2 \e$B$GBg>fIW$G$9\e(B)\e$B!#\e(BGCC \e$B$,$J$$>l9g$O!"\e(B
+ \e$B>/$J$/$H$bDs6!$5$l$F$$$k%3%s%Q%$%i$,\e(B ANSI \e$B=`5r$G$"$k$3$H$r3NG'$7$F$*$$$F2<$5$$!#\e(B
+ \e$B$=$l$+$i!"JQ?t\e(B <code>PATH</code> \e$B$K$O\e(B <code>make</code>
+ \e$B$H$$$C$?4pK\E*$J%S%k%I%D!<%k$,4^$^$l$F$$$kI,MW$,$"$j$^$9!#\e(B<br />
+ <br />
+ </li>
+
+ <li>\e$B;~9o$r@53N$K$9$k\e(B<br />
+ <br />
+ HTTP \e$B%W%m%H%3%k$NMWAG$OF|;~$N;~9o$GI=8=$5$l$F$$$^$9!#$G$9$+$i!"\e(B
+ \e$B@53N$J;~9o$K%7%s%/%m$5$;$k5!G=$r%7%9%F%`$K@_Dj$9$k$3$H$r6cL#$7$F$_$F2<$5$$!#\e(B
+ Network Time Protocol (NTP) \e$B$r%Y!<%9$H$7$?\e(B ntpdate \e$B$d\e(B xntpd \e$B%W%m%0%i%`$,\e(B
+ \e$B$3$NL\E*$K$h$/MQ$$$i$l$^$9!#\e(BNTP \e$B%=%U%H%&%'%"$d8x3+\e(B NTP
+ \e$B%5!<%P$K4X$9$k>\:Y$O!"\e(BUsenet \e$B%K%e!<%9%0%k!<%W\e(B <a
+ href="news:comp.protocols.time.ntp">comp.protocols.time.ntp</a> \e$B$d\e(B <a
+ href="http://www.eecis.udel.edu/~ntp/">NTP \e$B%[!<%`%Z!<%8\e(B</a> \e$B$r$4Mw2<$5$$!#\e(B<br />
+ <br />
+ </li>
+
+ <li><a href="http://www.perl.org/">Perl 5</a>
+ [\e$B%*%W%7%g%s\e(B]<br />
+ <br />
+ \e$B!!Ds6!$5$l$F$$$k%9%/%j%W%H4v$D$+!"Nc$($P\e(B <a
+ href="programs/apxs.html">apxs</a> \e$B$d\e(B <a
+ href="programs/dbmmanage.html">dbmmanage</a> \e$B$O\e(B
+ Perl \e$B$G=q$+$l$F$$$k$N$G!"\e(BPerl
+ 5 \e$B%$%s%?%W%j%?$,I,MW$K$J$j$^$9\e(B (5.003 \e$B$d\e(B 5.004 \e$B$GBg>fIW\e(B)\e$B!#\e(B
+ "configure"\e$B%9%/%j%W%H$G$3$N$h$&$J%$%s%?%W%j%?$,8+$D$+$i$J$/$F$b!"\e(B
+ \e$BJL$KIT6q9g$O$"$j$^$;$s!#$b$A$m$s!"\e(BApache
+ 2.0 \e$B$N%3%s%Q%$%k$H%$%s%9%H!<%k$O$G$-$^$9!#\e(B
+ \e$B$3$l$i$N%5%]!<%H%9%/%j%W%H$,;H$($J$/$J$k$@$1$G$9!#\e(B
+ Perl \e$B%$%s%?%W%j%?$rJ#?t%$%s%9%H!<%k$7$F$$$k>l9g\e(B (\e$B%Y%s%@!<$N\e(B Perl
+ 4 \e$B$H<+J,$GF~$l$?\e(B Perl 5 \e$B$,$"$k>l9g$J$I\e(B) \e$B$O!"\e(B
+ --with-perl \e$B%*%W%7%g%s\e(B (\e$B2<5-;2>H\e(B) \e$B$r;H$C$F\e(B ./configure
+ \e$B$,E,@Z$J$b$N$r3N<B$KA*$V$h$&$K$9$k$HNI$$$G$7$g$&!#\e(B<br />
+ <br />
+ </li>
+ </ul>
+
+ <h3><a id="download" name="download">\e$B%@%&%s%m!<%I\e(B</a></h3>
+
+ <p>Apache \e$B$O\e(B <a
+ href="http://www.apache.org/dist/httpd/">Apache Software
+ Foundation \e$B%@%&%s%m!<%I%5%$%H\e(B</a>\e$B$d\e(B<a
+ href="http://www.apache.org/dyn/closer.cgi/httpd/">\e$B6a$/$N\e(B
+ \e$B%_%i!<%5%$%H\e(B</a>\e$B$+$i%@%&%s%m!<%I$G$-$^$9!#\e(B</p>
+
+ <p><code>alpha</code> \e$B$G=*$o$k%P!<%8%g%sHV9f$O!"\e(B
+ \e$BF0$/$+F0$+$J$$$+$h$/J,$+$i$J$$!"\e(B
+ \e$BAa4|$N%W%j%F%9%H%P!<%8%g%s$G$"$k$3$H$r<($7$F$$$^$9!#\e(B
+ <code>beta</code> \e$B$G=*$o$k%P!<%8%g%s$O$=$l$h$j$O?.Mj@-$N$"$k\e(B
+ \e$B%j%j!<%9$G$9$,!"%F%9%H$H%P%0%U%#%C%/%9$r=E$M$kCJ3,$N$b$N$G$9!#\e(B
+ Apache HTTP \e$B%5!<%P$NF~<j2DG=$JCf$G:G9b$N@=IJ%j%j!<%9$r\e(B
+ \e$B%@%&%s%m!<%I$7$?$$$N$G$"$l$P!"%U%!%$%kL>$K\e(B <code>alpha</code>
+ \e$B$b\e(B <code>beta</code>
+ \e$B$bIU$+$J$$:G?7$N%P!<%8%g%s$rA*$s$G$/$@$5$$!#\e(B</p>
+
+ <p>\e$B%@%&%s%m!<%I8e!"FC$K%_%i!<%5%$%H$r;H$C$?>l9g$O!"\e(B
+ \e$B%@%&%s%m!<%I$7$?$b$N$,\e(B Apache HTTP
+ \e$B%5!<%P$N40A4$G2~cb$5$l$F$$$J$$%P!<%8%g%s$G$"$k$3$H$r\e(B
+ \e$B8!>Z$9$k$3$H$,=EMW$G$9!#$3$l$O%@%&%s%m!<%I$7$?\e(B tarball \e$B$N\e(B PGP \e$B=pL>$r\e(B
+ \e$B%F%9%H$9$k$3$H$K$h$C$F8!>Z$7$^$9!#\e(B
+ \e$B$3$l$OFs$D$NCJ3,$,$"$j$^$9!#\e(B
+ \e$B$^$:\e(B <code>KEYS</code> \e$B%U%!%$%k$r\e(B <a
+ href="http://www.apache.org/dist/httpd/">Apache \e$BG[I[%5%$%H\e(B</a>
+ \e$B$+$i%@%&%s%m!<%I$7$F$/$@$5$$!#\e(B(<code>KEYS</code> \e$B%U%!%$%k<+BN$,\e(B
+ \e$B2~cb$5$l$F$$$J$$$3$H$r3N<B$K$9$k$?$a$K!"0JA0$N\e(B Apache
+ \e$BG[I[$+$i<h$j=P$7$?%U%!%$%k$r;H$C$?$j!"\e(B
+ \e$B8x3+80%5!<%P$+$i80$r<h$j9~$`$N$b$$$$$G$7$g$&!#\e(B)
+ \e$B<+J,$N8D?M%-!<%[%k%@!<$K80$r<h$j9~$`$K$O!"\e(B
+ \e$B<!$N%3%^%s%I\e(B (pgp \e$B$N%P!<%8%g%s$K0MB8\e(B) \e$B$r;H$$$^$9\e(B:</p>
+
+ <blockquote>
+ <code>$ pgp < KEYS</code>
+ </blockquote>
+ \e$B$^$?$O!"\e(B
+
+ <blockquote>
+ <code>$ gpg --import KEYS</code>
+ </blockquote>
+
+ <p>\e$B<!$N%9%F%C%W$G$O!"\e(Btarball \e$B$r\e(B PGP \e$B=pL>$G%F%9%H$7$^$9!#\e(B
+ PGP \e$B=pL>$OI,$:\e(B <a
+ href="http://www.apache.org/dist/httpd/">\e$B%a%$%s$N\e(B Apache
+ \e$B%&%'%V%5%$%H\e(B</a>\e$B$+$i<hF@$7$F$/$@$5$$!#\e(B
+ \e$B=pL>%U%!%$%k$NL>A0$O!"%=!<%9%U%!%$%k$N\e(B tarball \e$B$HF1$8L>A0$K\e(B
+ <code>.asc</code> \e$B$rIU2C$7$?$b$N$K$J$C$F$$$^$9!#\e(B
+ \e$B0J2<$N%3%^%s%I\e(B (\e$B$d$C$Q$j\e(B pgp \e$B$N%P!<%8%g%s$K0MB8\e(B) \e$B$N$I$l$+0l$D$G!"\e(B
+ \e$BG[I[%U%!%$%k$r%A%'%C%/$9$k$3$H$,$G$-$^$9\e(B:</p>
+
+ <blockquote>
+ <code>$ pgp httpd-2_0_<em>NN</em>.tar.gz.asc</code>
+ </blockquote>
+ \e$B$^$?$O!"\e(B
+
+ <blockquote>
+ <code>$ gpg --verify httpd-2_0_<em>NN</em>.tar.gz.asc</code>
+ </blockquote>
+ \e$B$9$k$H!"$3$s$J%a%C%;!<%8$r<u$1$k$O$:$G$9!#\e(B<br />
+ <br />
+
+
+ <blockquote>
+ <code>Good signature from user "Martin Kraemer
+ <martin@apache.org>".</code>
+ </blockquote>
+
+ <p>\e$B<+J,$N%-!<%[%k%@!<$K3JG<$5$l$F$$$k?.Mj4X78$,860x$G!"\e(B
+ "\e$B80$H$=$N80$N=pL><T$,8!>Z$G$-$J$+$C$?\e(B"
+ \e$B$H$$$&;]$N%a%C%;!<%8$rF1;~$K<u$1$k$+$b$7$l$^$;$s!#\e(B
+ \e$B$7$+$7!"\e(B<code>KEYS</code>
+ \e$B%U%!%$%k$N?.Xa@-$r<u$1F~$l$k$J$i$PLdBj$G$O$"$j$^$;$s!#\e(B</p>
+
+ <h3><a id="extract" name="extract">\e$BE83+\e(B</a></h3>
+
+ <p>Apache HTTPD \e$B$N\e(B tarball
+ \e$B$+$i%=!<%9%U%!%$%k$rE83+$7$F<h$j=P$9$H$O!"\e(B
+ \e$BC1$J$k05=L$N2r=|$H\e(B tar \e$B$NE83+$G$9\e(B:</p>
+
+ <blockquote>
+ <code>$ gzip -d httpd-2_0_<em>NN</em>.tar.gz<br />
+ $ tar xvf httpd-2_0_<em>NN</em>.tar</code>
+ </blockquote>
+
+ <p>\e$BG[I[MQ$N%=!<%9%3!<%I$,$"$k8=:_$$$k%G%#%l%/%H%j$N2<$K!"\e(B
+ \e$B?7$7$$%G%#%l%/%H%j$,:n$i$l$^$9!#\e(B
+ \e$B%5!<%P$r%3%s%Q%$%k$9$kCJ3,$K?J$`A0$K!"$=$N%G%#%l%/%H%j$K\e(B
+ <code>cd</code> \e$B$G0\F0$7$F$/$@$5$$!#\e(B</p>
+
+ <h3><a id="configure" name="configure">
+ \e$B%=!<%9%D%j!<$r@_Dj$9$k\e(B</a></h3>
+
+ <p>\e$B<!$N%9%F%C%W$O!"$"$J$?$N%W%i%C%H%[!<%`$H\e(B
+ \e$B8D?ME*$JMW5a$K9g$&$h$&$K\e(B Apache
+ \e$B%=!<%9%D%j!<$r@_Dj$9$k$3$H$G$9!#\e(B
+ \e$B$3$l$OG[I[%G%#%l%/%H%j$N%k!<%H%G%#%l%/%H%j$K$"$k!"\e(B
+ <code>configure</code> \e$B%9%/%j%W%H$G9T$J$$$^$9!#\e(B
+ (Apache \e$B%=!<%9%D%j!<$N\e(B CVS
+ \e$BHG$r%@%&%s%m!<%I$7$?3+H/<T$O!"<!$N%9%F%C%W$K?J$`A0$K\e(B
+ <code>autoconf</code> \e$B$H\e(B<code>libtool</code>
+ \e$B$r%$%s%9%H!<%k$7$F\e(B <code>buildconf</code>
+ \e$B$r<B9T$9$kI,MW$,$"$k$G$7$g$&!#\e(B
+ \e$B8x<0%j%j!<%9$G$O$3$N:n6H$OI,MW$"$j$^$;$s!#\e(B) </p>
+
+ <p>\e$B%G%U%)%k%H%*%W%7%g%s$r;H$C$F%=!<%9%D%j!<$rA4$F@_Dj$9$k\e(B
+ \e$B$N$G$"$l$P!"C1=c$K\e(B <code>./configure</code> \e$B$H%?%$%W$7$F$/$@$5$$!#\e(B
+ \e$B%G%U%)%k%H%*%W%7%g%s$rJQ99$G$-$k$h$&$K!"\e(B<code>configure</code>
+ \e$B$K$OMM!9$JJQ?t$d%3%^%s%I%i%$%s%*%W%7%g%s$,MQ0U$5$l$F$$$^$9!#\e(B
+ \e$B0lHLE*$K!"4D6-JQ?t$,\e(B <code>./configure</code> \e$B$NA0$K@_CV$5$l$F!"\e(B
+ \e$BB>$N%*%W%7%g%s$O$=$N8e$K@_CV$5$l$^$9!#\e(B
+ \e$B$3$3$G:G$b=EMW$J%*%W%7%g%s$O\e(B Apache
+ \e$B$r$I$3$K%$%s%9%H!<%k$9$k$+$r7h$a$k\e(B location prefix \e$B$G$9!#\e(B
+ \e$B$J$<$J$i!"\e(BApache \e$B$,@5$7$/F0:n$9$k$?$a$K$O\e(B
+ \e$B$3$N>l=jMQ$K@_Dj$5$l$F$$$J$$$H$$$1$J$$$+$i$G$9!#\e(B
+ \e$B$7$+$7!"$*9%$_$K$h$jMxMQ$G$-$k%*%W%7%g%s$O$b$C$HBt;3$"$j$^$9!#\e(B</p>
+
+ <p>\e$B$A$g$C$H$I$s$J$3$H$,$G$-$k$+$r8+$;$^$7$g$&!#\e(B
+ \e$B$3$3$GE57?E*$JNc$H$7$F!"\e(B/sw/pkg/apache \e$B$H$$$&%$%s%9%H!<%k%D%j!<$G\e(B
+ \e$B%3%s%Q%$%i$H%U%i%0$r;XDj$7$F!"$5$i$KFs$D$NDI2C%b%8%e!<%k\e(B
+ mod_rewrite \e$B$H\e(B mod_speling \e$B$r8e$G\e(B DSO \e$B%a%+%K%:%`$G%m!<%I$9$k$h$&$K\e(B
+ \e$B%3%s%Q%$%k$7$F$_$^$9\e(B:</p>
+
+ <blockquote>
+ <code>$ CC="pgcc" CFLAGS="-O2" \<br />
+ ./configure --prefix=/sw/pkg/apache \<br />
+ --enable-rewrite=shared \<br />
+ --enable-speling=shared</code>
+ </blockquote>
+
+ <p>configure \e$B$r<B9T$7$?$i!"%7%9%F%`$N5!G=$r\e(B
+ \e$B%F%9%H$7$?$j!"8e$G%5!<%P$r%3%s%Q%$%k$9$k$?$a$KI,MW$J\e(B Makefile
+ \e$B$r@8@.$7$?$j$9$k$N$K?tJ,4V$+$+$k$G$7$g$&!#\e(B</p>
+
+ <p>Apache \e$B$NA4$F$N@_Dj%U%i%0$r8+$k:G$b4JC1$JJ}K!$O!"\e(B
+ ./configure --help \e$B$r<B9T$9$kJ}K!$G$9!#\e(B
+ \e$B0z?t$d4D6-JQ?t$K4X$9$k4JC1$J5-=R$,=PNO$5$l$^$9!#\e(B</p>
+
+ <h4><a id="environment" name="environment">\e$B4D6-JQ?t\e(B</a></h4>
+
+ <p>autoconf \e$B$G$N%S%k%I$G$O4v$D$+$N4D6-JQ?t$r;H$C$F%S%k%I4D6-$r\e(B
+ \e$B@_Dj$7$^$9!#0lHLE*$K!"$3$l$i$NJQ?t$G\e(B Apache \e$B$r%S%k%I$9$k:]$N\e(B
+ \e$BJ}K!$,JQ$o$C$?$j$7$^$9$,!"$G$-$"$,$k%5!<%P$N5!G=$K$O1F6A$"$j$^$;$s!#\e(B
+ \e$B$3$l$i$NJQ?t$O\e(B <code>configure</code> \e$B$r8F$S=P$9D>A0$N4D6-Cf$K\e(B
+ \e$BCV$/$3$H$,$G$-$^$9$,!"DL>o$O>e$K<($7$?Nc$N$h$&$K\e(B <code>configure</code>
+ \e$B$N%3%^%s%I%i%$%s$G$b$C$H4JC1$K;XDj$G$-$^$9!#\e(B</p>
+
+ <dl>
+ <dt><code>CC=...</code></dt>
+
+ <dd>C \e$B%3%s%Q%$%i$N%3%^%s%IL>!#\e(B</dd>
+
+ <dt><code>CPPFLAGS=...</code></dt>
+
+ <dd>\e$B$=$NB>$N\e(B C \e$B%W%j%W%m%;%C%5$d%3%s%Q%$%i$N%*%W%7%g%s!#\e(B</dd>
+
+ <dt><code>CFLAGS=...</code></dt>
+
+ <dd>C \e$B%3%s%Q%$%i$N%G%P%C%0!&:GE,2=%*%W%7%g%s!#\e(B</dd>
+
+ <dt><code>LDFLAGS=...</code></dt>
+
+ <dd>\e$B$=$NB>$N%j%s%+$KEO$5$l$k%*%W%7%g%s!#\e(B</dd>
+
+ <dt><code>LIBS=...</code></dt>
+
+ <dd>\e$B%j%s%+$KEO$9%i%$%V%i%j$N0LCV>pJs\e(B ("-L"\e$B$H\e(B"-l"\e$B%*%W%7%g%s\e(B) \e$B!#\e(B
+ </dd>
+
+ <dt><code>INCLUDES=...</code></dt>
+
+ <dd>\e$B%X%C%@%U%!%$%k$NC5:w%G%#%l%/%H%j\e(B ("-I<em>dir</em>") \e$B!#\e(B</dd>
+
+ <dt><code>TARGET=...</code> [\e$B%G%U%)%k%HCM\e(B:apache]</dt>
+
+ <dd>\e$B%S%k%I$9$k<B9T%U%!%$%k$NL>A0!#\e(B</dd>
+
+ <dt><code>NOTEST_CPPFLAGS=...</code></dt>
+
+ <dt><code>NOTEST_CFLAGS=...</code></dt>
+
+ <dt><code>NOTEST_LDFLAGS=...</code></dt>
+
+ <dt><code>NOTEST_LIBS=...</code></dt>
+
+ <dd>\e$B$3$l$i$NJQ?t$O\e(B"NOTEST \e$B$G$J$$HG\e(B"\e$B$N$b$N$HF1$85!G=$r\e(B
+ \e$B;}$C$F$$$^$9!#$7$+$7!"$3$l$i$NJQ?t$O\e(B autoconf
+ \e$B$,%F%9%H$r9T$C$?8e$N%S%k%I%W%m%;%9$K$*$$$F$N$_!"E,MQ$5$l$^$9!#\e(B
+ \e$B$3$l$r;H$&$H!"%F%9%HCf$KLdBj$r5/$9$1$l$I$b\e(B
+ \e$B:G=*E*$K$OI,MW$K$J$k%U%i%0$r\e(B
+ \e$B4^$a$k$3$H$,$G$-$k$h$&$K$J$j$^$9!#\e(B</dd>
+
+ <dt><code>SHLIB_PATH=...</code></dt>
+
+ <dd>\e$B%3%s%Q%$%i$H%j%s%+$KEO$9!"6&M-%i%$%V%i%j$X$N%Q%9$r;XDj$9$k\e(B
+ \e$B%*%W%7%g%s!#\e(B</dd>
+ </dl>
+
+ <h4><a id="output" name="output">autoconf \e$B=PNO%*%W%7%g%s\e(B</a></h4>
+
+ <dl>
+ <dt><code>--help</code></dt>
+
+ <dd>\e$B;HMQ2DG=$JA4%*%W%7%g%s$J$I;H$$J}$r%W%j%s%H$7$^$9!#\e(B
+ \e$B<B:]$K@_Dj$O$5$l$^$;$s!#\e(B</dd>
+
+ <dt><code>--quiet</code></dt>
+
+ <dd>"cheking..." \e$B$H$$$C$?%a%C%;!<%8$,%W%j%s%H$5$l$J$$$h$&$K\e(B
+ \e$B$7$^$9!#\e(B</dd>
+
+ <dt><code>--verbose</code></dt>
+
+ <dd>\e$B8!::$5$l$kA4%U%!%$%kL>$r4^$a!"@_Dj%W%m%;%9Cf$K\e(B
+ \e$B>pJs$r$?$/$5$s%W%j%s%H$7$^$9!#\e(B</dd>
+ </dl>
+
+ <h4><a id="pathnames" name="pathnames">\e$B%Q%9L>\e(B</a></h4>
+
+ <p>Apache \e$B$r%$%s%9%H!<%k$9$k%Q%9L>$r@_Dj$9$k$K$O!"\e(B
+ \e$B8=:_FsDL$j$NJ}K!$,$"$j$^$9!#$^$:0l$DL\$O!"\e(B
+ \e$B%G%#%l%/%H%j$r;XDj$7$F!"$=$N2<$K%G%U%)%k%H$NG[CV$G\e(B
+ Apache \e$B$N%$%s%9%H!<%k$r9T$&J}K!$G$9!#\e(B</p>
+
+ <dl>
+ <dt><code>--prefix=<em>PREFIX</em></code> [\e$B%G%U%)%k%HCM\e(B:
+ /usr/local/apache2]</dt>
+
+ <dd>Apache \e$B$N%U%!%$%k72$,%$%s%9%H!<%k$5$l$k%G%#%l%/%H%j$r\e(B
+ \e$B;XDj$7$^$9!#\e(B</dd>
+ </dl>
+
+ <p>\e$B%"!<%-%F%/%A%c$K0MB8$7$?%U%!%$%k$r!"\e(B
+ \e$B0[$J$k%G%#%l%/%H%j$KG[CV$9$k$h$&$K$b$G$-$^$9!#\e(B</p>
+
+ <dl>
+ <dt><code>--exec-prefix=<em>EPREFIX</em></code>
+ [\e$B%G%U%)%k%HCM\e(B:<em>PREFIX</em>]</dt>
+
+ <dd>\e$B%"!<%-%F%/%A%c0MB8$N%U%!%$%k$rG[CV$9$Y$-\e(B
+ \e$B%G%#%l%/%H%j$r;XDj$7$^$9!#\e(B</dd>
+ </dl>
+
+ <p>\e$BFs$DL\$NJ}K!$O!"$b$C$H=@Fp$K%$%s%9%H!<%k%Q%9$NG[CV$r\e(B
+ \e$B@_Dj$9$kJ}K!$G!"\e(B<code>config.layout</code> \e$B%U%!%$%k$r\e(B
+ \e$B;H$$$^$9!#$3$NJ}K!$r;H$&$3$H$K$h$C$F!"\e(B
+ Apache \e$B$N%$%s%9%H!<%kCf$K!"$=$l$>$l$N%U%!%$%k$N$?$a$NG[CV$r\e(B
+ \e$B8D!9$K;XDj$G$-$k$h$&$K$J$j$^$9!#\e(B<code>config.layout</code>
+ \e$B%U%!%$%k$K$O@_DjNc$,4v$D$+4^$^$l$F$$$^$9$7!"\e(B
+ \e$B$*9%$_$N@_Dj$r<!$NNc$K=>$C$F:n$j=P$9$3$H$b$G$-$^$9!#\e(B
+ \e$B$3$N%U%!%$%kCf$G$O!"0[$J$kG[CV$O\e(B <code><Layout
+ FOO>...</Layout></code> \e$B%;%/%7%g%s$G%0%k!<%W2=$5$l!"\e(B
+ <code>FOO</code> \e$B$H$$$C$?L>A0$G;2>H$5$l$^$9!#\e(B</p>
+
+ <dl>
+ <dt><code>--enable-layout=<em>LAYOUT</em></code></dt>
+
+ <dd>\e$B%$%s%9%H!<%k%Q%9$r;XDj$9$k$?$a!"\e(B
+ <code>config.layout</code> \e$B%U%!%$%kCf$G$N!"\e(B
+ \e$B;XDj$5$l$?L>A0$N%l%$%"%&%H$r;HMQ$7$^$9!#\e(B</dd>
+ </dl>
+
+ <p>\e$B8=:_$O\e(B <code>--enable-layout</code> \e$B$H\e(B<code>--prefix</code>
+ \e$B%*%W%7%g%s$r%_%C%/%9$9$k$3$H$O$G$-$^$;$s!#\e(B
+ \e$B$^$?\e(B <code>configure</code> \e$B%3%^%s%I%i%$%sCf$G!"\e(B
+ \e$B>\$7$/8D!9$N%Q%9L>$r;XDj$9$k$3$H$b$G$-$^$;$s!#\e(B
+ \e$B4pK\E*$J%$%s%9%H!<%k:n6H$r9T$$$?$$$@$1$J$i$P!"C1=c$K\e(B
+ <code>--prefix</code> \e$B%*%W%7%g%s$r$=$N$^$^;H$&$3$H$,$G$-$^$9!#\e(B
+ \e$B%$%s%9%H!<%k$r%+%9%?%^%$%:$7$?$$$N$G$"$l$P!"\e(B
+ <code>config.layout</code> \e$B%U%!%$%k$rJT=8$7$F\e(B
+ <code>--enable-layout</code> \e$B%*%W%7%g%s$r;H$&I,MW$,\e(B
+ \e$B$"$k$G$7$g$&!#\e(B</p>
+
+ <h4><a id="modules" name="modules">\e$B%b%8%e!<%k\e(B</a></h4>
+
+ <p>Apache \e$B$O%b%8%e!<%k2=$5$l$?%5!<%P$G$9!#\e(B
+ \e$B$4$/$4$/4pK\E*$J5!G=$@$1$,!"%3%"%5!<%P$K4^$^$l$F$$$^$9!#\e(B
+ \e$B3HD%5!G=$OMM!9$J%b%8%e!<%k$N7A$GDs6!$5$l$^$9!#\e(B
+ \e$B@_Dj%W%m%;%9Cf$G$O!"$I$s$J%b%8%e!<%k$r%5!<%P$G;H$&$h$&$K\e(B
+ \e$B%3%s%Q%$%k$9$k$+A*$P$J$1$l$P$J$j$^$;$s!#$3$N%^%K%e%"%k$K$"$k\e(B<a
+ href="mod/index.html">\e$B%b%8%e!<%k$N0lMw\e(B</a>\e$B$r\e(B
+ \e$B;2>H$G$-$^$9!#\e(B
+ "Base" <a href="mod/module-dict.html#Status">\e$B%9%F!<%?%9\e(B</a>\e$B$N\e(B
+ \e$B%b%8%e!<%k$O%G%U%)%k%H$G4^$^$l$^$9$7!"\e(B
+ \e$B;H$$$?$/$J$$$N$G$"$l$P!"$o$6$HL58z$K$7$J$1$l$P\e(B
+ \e$B$J$j$^$;$s!#B>$N%9%F!<%?%9$N%b%8%e!<%k$O!"\e(B
+ \e$B;H$$$?$1$l$PM-8z$K$7$J$1$l$P$J$j$^$;$s!#\e(B</p>
+
+ <p>Apache \e$B$H0l=o$K%3%s%Q%$%k$7$F;H$&$h$&$K$9$k$K$O!"\e(B
+ \e$BFsDL$j$NJ}K!$,$"$j$^$9!#0l$D$a$O%b%8%e!<%k$r\e(B
+ <em>\e$B%9%?%F%#%C%/%3%s%Q%$%k\e(B</em>\e$B$9$kJ}K!$G$9!#$3$N>l9g$O!"\e(B
+ Apache \e$B$N%P%$%J%j$K915WE*$KAH$_9~$^$l$k$3$H$K$J$j$^$9!#\e(B
+ \e$B$3$l$NBe$o$j$K!"$b$7%*%Z%l!<%F%#%s%0%7%9%F%`$,F0E*6&M-\e(B
+ \e$B%i%$%V%i%j\e(B (DSO) (\e$BLuCm\e(B: Dynamic Shared Object) \e$B$r\e(B
+ \e$BDs6!$7$F$$$F\e(B autoconf \e$B$,$=$l$rG'<1$G$-$k\e(B
+ \e$B>l9g$O!"%b%8%e!<%k$r\e(B<em>\e$B%@%$%J%_%C%/%3%s%Q%$%k\e(B</em>\e$B$9$kJ}K!$,$"$j$^$9!#\e(B
+ DSO \e$B%b%8%e!<%k$O\e(B Apache \e$B$N%P%$%J%j$H$OJL$K\e(B
+ \e$BJ]B8$5$l!"\e(B<a href="mod/mod_so.html">mod_so</a> \e$B$GDs6!$5$l$k\e(B
+ \e$B<B9T;~@_Dj%G%#%l%/%F%#%V$r;H$C$F\e(B
+ \e$BAH$_9~$s$@$j<h$j30$7$?$j$G$-$^$9!#\e(B
+ \e$BF0E*%b%8%e!<%k$r<B:]$K0l$D$b%3%s%Q%$%k$9$k$3$H$J$/\e(B
+ \e$B%5!<%P$,\e(B DSO \e$B$r%m!<%I$G$-$k$h$&$K$9$k$K$O!"\e(B
+ <code>--enable-so</code> \e$B$HL@<(E*$K$9$k$3$H$,$G$-$^$9!#\e(B</p>
+
+ <dl>
+ <dt><code>--enable-<em>MODULE</em>[=shared]</code></dt>
+
+ <dd><em>MODULE</em> \e$B%b%8%e!<%k$r%3%s%Q%$%k$7$F\e(B
+ \e$B%$%s%/%k!<%I$7$^$9!#<1JL;R\e(B <em>MODULE</em> \e$B$O\e(B
+ \e$B%b%8%e!<%kJ8=q$K5-:\$5$l$F$$$k\e(B<a
+ href="mod/module-dict.html#ModuleIdentifier">\e$B%b%8%e!<%k\e(B
+ \e$B<1JL;R\e(B</a>\e$B$+$i\e(B "_module" \e$B$r<h$j=|$$$?J8;zNs$G$9!#\e(B
+ DSO \e$B$H$7$F%b%8%e!<%k$r%3%s%Q%$%k$9$k>l9g$O!"\e(B
+ <code>=shared</code> \e$B%*%W%7%g%s$rIU2C$7$F$/$@$5$$!#\e(B</dd>
+
+ <dt><code>--disable-<em>MODULE</em></code></dt>
+
+ <dd>\e$BDL>o$O%3%s%Q%$%k$5$l$F%$%s%/%k!<%I$5$l$k\e(B
+ <em>MODULE</em> \e$B%b%8%e!<%k$r=|5n$7$^$9!#\e(B</dd>
+
+ <dt><code>--enable-modules=<em>MODULE-LIST</em></code></dt>
+
+ <dd>\e$B%9%Z!<%96h@Z$j$N\e(B <em>MODULE-LIST</em>
+ \e$B$KNs5s$5$l$?%b%8%e!<%k$r%3%s%Q%$%k$7$F\e(B
+ \e$B%$%s%/%k!<%I$7$^$9!#\e(B</dd>
+
+ <dt>
+ <code>--enable-mods-shared=<em>MODULE-LIST</em></code></dt>
+
+ <dd>\e$B%9%Z!<%96h@Z$j$N\e(B <em>MODULE-LIST</em> \e$B$r\e(B
+ \e$B%@%$%J%_%C%/%m!<%I\e(B (DSO) \e$B$G$-$k%b%8%e!<%k$H$7$F\e(B
+ \e$B%3%s%Q%$%k$H%$%s%/%k!<%I$r$7$^$9!#\e(B</dd>
+ </dl>
+
+ <p><code>--enable-modules</code> \e$B$d\e(B
+ <code>--enable-mods-shared</code> \e$B%*%W%7%g%s$K;H$&\e(B
+ <em>MODULE-LIST</em> \e$B$O!"IaDL$O%9%Z!<%96h@Z$j$N\e(B
+ \e$B%b%8%e!<%k<1JL;R$N%j%9%H$G$9!#\e(B
+ \e$BNc$($P\e(B mod_dav \e$B$H\e(B mod_info \e$B$rM-8z$K$9$k>l9g$O!"\e(B
+ \e$B<!$N$I$A$i$+$,;H$($^$9!#\e(B</p>
+
+ <blockquote>
+ <code>./configure --enable-dav --enable-info</code>
+ </blockquote>
+
+ <p>\e$B$^$?$O!"F1Ey$N\e(B</p>
+
+ <blockquote>
+ <code>./configure --enable-modules="dav info"</code>
+ </blockquote>
+
+ <p>\e$B$3$l$K2C$($F!"FCJL$J%-!<%o!<%I\e(B <code>all</code> \e$B$d\e(B
+ <code>most</code> \e$B$r;H$C$F!"\e(B
+ \e$B0lEY$KA4$F$"$k$$$O$[$H$s$I$N%b%8%e!<%k$r2C$($k$3$H$,$G$-$^$9!#\e(B
+ \e$B$=$N8e$G9%$-$J%b%8%e!<%k$r\e(B <code>--disable-<em>MODULE</em>
+ </code>\e$B%*%W%7%g%s$r;H$C$F<h$j=|$/$3$H$,$G$-$^$9!#\e(B
+ \e$BNc$($P!"\e(Bmod_info \e$B$r=|$/A4$F$N%b%8%e!<%k$r\e(B DSO \e$B%b%8%e!<%k$H$7$F\e(B
+ \e$BAH$_9~$`>l9g$O!"<!$N$h$&$K$7$^$9!#\e(B</p>
+
+ <blockquote>
+ <code>./configure --enable-mods-shared=all
+ --disable-info</code>
+ </blockquote>
+
+ <p>\e$BI8=`E*$J%b%8%e!<%k$K2C$($F!"\e(BApache 2.0 \e$B$G$O\e(B
+ <a href="mpm.html">Multi-Processing Modules</a> (MPM)
+ \e$B$rA*Br$7$F%$%s%/%k!<%I$7$^$9!#$?$@0l$D$@$1$N\e(B MPM
+ \e$B$r%3%s%Q%$%k$N%W%m%;%9$G4^$a$kI,MW$,$"$j$^$9!#\e(B
+ \e$B8D!9$N%W%i%C%H%[!<%`8~$1$N%G%U%)%k%H$N\e(B MPM \e$B$O\e(B <a
+ href="mpm.html">MPM \e$BJ8=q\e(B</a>\e$B$K0lMw$,$"$j$^$9$,!"\e(B
+ <code>configure</code>
+ \e$B%3%^%s%I$GCV$-49$($k$3$H$,$G$-$^$9!#\e(B</p>
+
+ <dl>
+ <dt><code>--with-mpm=<em>NAME</em></code></dt>
+
+ <dd>Choose the mpm <em>NAME</em>.</dd>
+ </dl>
+
+ <h4><a id="suexec" name="suexec">Suexec</a></h4>
+
+ <p>Apache \e$B$K$O\e(B <a href="suexec.html">suexec</a> \e$B$H8F$P$l$k\e(B
+ \e$BJd=u%W%m%0%i%`$,$"$j$^$9!#\e(B
+ \e$B$3$N%W%m%0%i%`$O%f!<%6$N\e(B CGI \e$B%W%m%0%i%`$r3VN%$9$k$?$a$K\e(B
+ \e$B;HMQ$9$k$3$H$,$G$-$^$9!#$7$+$7$J$,$i!"\e(Bsuexec
+ \e$B$rE,@Z$K@_Dj$7$J$1$l$P!"\e(B
+ \e$B%;%-%e%j%F%#>eCWL?E*$JLdBj$r$+$+$($k>l9g$,$"$j$^$9!#\e(B
+ \e$B$=$N$?$a!"$3$N5!G=$r<BAu$9$kA0$K\e(B <a href="suexec.html">suexec
+ \e$BJ8=q\e(B</a>\e$B$r$h$/FI$s$G0l9M$7$F$*$-$^$7$g$&!#\e(B</p>
+
+ <h3><a id="compile" name="compile">\e$B%S%k%I\e(B</a></h3>
+
+ <p>\e$B$3$l$G\e(B Apache \e$B$NMM!9$J%Q!<%D$r%S%k%I$9$k$3$H$,$G$-$^$9!#\e(B
+ \e$B<!$N%3%^%s%I$rC1=c$K<B9T$9$k$@$1$G$9\e(B:</p>
+
+ <blockquote>
+ <code>$ make</code>
+ </blockquote>
+
+ <p>\e$B4pK\E*$J@_Dj$r$9$k$N$K!"\e(BPentium III/Linux 2.2
+ \e$B$N%7%9%F%`$G$*$*$h$=\e(B 3 \e$BJ,DxEY$+$+$j$^$9$,!"\e(B
+ \e$B$"$i$+$8$a$4N;>52<$5$$!#\e(B
+ \e$B$^$?!";~4V$O%O!<%I%&%'%"$dM-8z$K$7$?%b%8%e!<%k$N?t$K\e(B
+ \e$BBg$-$/0MB8$9$k$G$7$g$&!#\e(B</p>
+
+ <h3><a id="install" name="install">\e$B%$%s%9%H!<%k\e(B</a></h3>
+
+ <p>\e$B$5$F!"@_Dj$7$?%$%s%9%H!<%k\e(B <em>PREFIX</em>
+ (\e$BA0=R$N\e(B <code>--prefix</code> \e$B%*%W%7%g%s$r;2>H\e(B)
+ \e$B0J2<$K%Q%C%1!<%8$r%$%s%9%H!<%k$9$kCJ3,$K$J$j$^$7$?!#\e(B
+ \e$B<!$N%3%^%s%I$r<B9T$7$F$/$@$5$$\e(B:</p>
+
+ <blockquote>
+ <code>$ make install</code>
+ </blockquote>
+
+ <p>\e$B%"%C%W%0%l!<%I$9$k>l9g$O!"%$%s%9%H!<%k$G$O@_Dj%U%!%$%k$d\e(B
+ \e$B%I%-%e%a%s%H%U%!%$%k$N>e=q$-$O9T$$$^$;$s!#\e(B</p>
+
+ <h3><a id="customize" name="customize">\e$B%+%9%?%^%$%:\e(B</a></h3>
+
+ <p>\e$B<!$K\e(B <em>PREFIX</em>/conf/ \e$B0J2<$K$"$k\e(B <a
+ href="configuring.html">\e$B@_Dj%U%!%$%k\e(B</a>\e$B$rJT=8$7$F!"\e(B
+ Apache HTTP \e$B%5!<%P$r%+%9%?%^%$%:$7$^$9!#\e(B</p>
+
+ <blockquote>
+ <code>$ vi <em>PREFIX</em>/conf/httpd.conf</code>
+ </blockquote>
+
+ <p><a href="mod/directives.html">\e$B@_Dj%G%#%l%/%F%#%V\e(B</a>\e$B$N\e(B
+ \e$B40A4$J%j%U%!%l%s%9$,:\$C$F$$$^$9$N$G!"\e(B
+ <a href="./">docs/manual/</a> \e$B$d\e(B <a
+ href="http://httpd.apache.org/docs/">http://httpd.apache.org/docs/</a>
+ \e$B$K$"$k\e(B Apache \e$B%^%K%e%"%k$r$6$C$H8+$F$/$@$5$$!#\e(B</p>
+
+ <h3><a id="test" name="test">\e$B%F%9%H\e(B</a></h3>
+
+ <p>\e$B<!$N%3%^%s%I$r<B9T$7$F\e(B Apache HTTP \e$B%5!<%P$r\e(B<a
+ href="invoking.html">\e$B3+;O\e(B</a>\e$B$G$-$^$9\e(B:</p>
+
+ <blockquote>
+ <code>$ <em>PREFIX</em>/bin/apachectl start</code>
+ </blockquote>
+
+ <p>URL http://localhost/ \e$B$rDL$7$F:G=i$N%I%-%e%a%s%H$KBP$9$k\e(B
+ \e$B%j%/%(%9%H$rH/9T$9$k;v$,$G$-$k$O$:$G$9!#$3$l$G8+$($k\e(B
+ \e$B%&%'%V%Z!<%8$O\e(B <a
+ href="mod/core.html#documentroot">DocumentRoot</a>
+ \e$B0J2<$KCV$+$l$?$b$N$G!"DL>o$O\e(B
+ <code><em>PREFIX</em>/htdocs/</code> \e$B$G$7$g$&!#\e(B
+ \e$B%5!<%P$r:F$S\e(B<a href="stopping.html">\e$BDd;_\e(B</a>\e$B$9$k$K$O!"\e(B
+ \e$B<!$N%3%^%s%I$r<B9T$7$^$9\e(B:</p>
+
+ <blockquote>
+ <code>$ <em>PREFIX</em>/bin/apachectl stop</code>
+ </blockquote>
+ <!--#include virtual="footer.html" -->
+ </body>
+</html>
+