httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject cvs commit: httpd-2.0/docs/manual install.html
Date Mon, 21 May 2001 20:31:43 GMT
slive       01/05/21 13:31:42

  Modified:    docs/manual install.html
  Add a little more info on ways to enable modules, add an index, and
  clean up a few things.
  Revision  Changes    Path
  1.35      +74 -27    httpd-2.0/docs/manual/install.html
  Index: install.html
  RCS file: /home/cvs/httpd-2.0/docs/manual/install.html,v
  retrieving revision 1.34
  retrieving revision 1.35
  diff -u -d -b -u -r1.34 -r1.35
  --- install.html	2001/05/20 01:30:59	1.34
  +++ install.html	2001/05/21 20:31:37	1.35
  @@ -29,8 +29,29 @@
   autoconf to create an environment that looks like many other Open
   Source projects.</p>
  -<h3>Overview for the impatient</h3>
  +<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>
  +<h3><a name="overview">Overview for the impatient</a></h3>
   <tr><td><a href="#download">Download</a></td>
   <td><code>$ lynx<em>NN</em>.tar.gz
  @@ -72,7 +93,7 @@
   described in more detail below, beginning with the requirements
   for compiling and installing Apache HTTPD.</p>
  +<h3><a name="requirements">Requirements</a></h3>
   <p>The following requirements exist for building Apache:</p>
  @@ -89,7 +110,7 @@
   href="">GNU C compiler
   (GCC)</a> from the <a href="">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 vendors compiler is ANSI
  +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>
  @@ -196,7 +217,7 @@
   is to run ./configure --help.  What follows is a brief description
   of most of the arguments and environment variables.</p>
  -<h4>Environment Variables</h4>
  +<h4><a 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
  @@ -246,7 +267,7 @@
  -<h4>autoconf Output Options</h4>
  +<h4><a name="output">autoconf Output Options</a></h4>
  @@ -263,7 +284,7 @@
  +<h4><a 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
  @@ -314,7 +335,7 @@
   <code>config.layout</code> file and use the
   <code>--enable-layout</code> option.</p>
  +<h4><a 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
  @@ -348,15 +369,43 @@
   <em>MODULE</em> is the <a
   >Module Identifier</a> from the module documentation without the
  -"_module" string.  To compile the module dynamically as a DSO, add the
  +"_module" string.  To compile the module as a DSO, add the
   option <code>=shared</code>.</dd>
   <dd>Remove the module <em>MODULE</em> which would otherwise be
   compiled and included.</dd>
  +<dt><code>--enable-modules=<em>MODULE-LIST</em></code> <dd>Compile
  +include the modules listed in the space-separated
  +and include the modules in the space-separated <em>MODULE-LIST</em> as
  +dynamically loadable (DSO) modules.</dd>
  +<p>The <em>MODULE-LIST</em> in the <code>--enable-modules</code>
  +<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>
  +./configure --enable-dav --enable-info
  +<p>or, equivalently,</p>
  +./configure --enable-modules="dav info"
  +<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>
  +./configure --enable-mods-shared=all --disable-info
   <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
  @@ -371,7 +420,7 @@
  +<h4><a 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
  @@ -381,7 +430,7 @@
   implementing this feature.</p>
  -<h3><a name="compile">Building the package</a></h3>
  +<h3><a name="compile">Build</a></h3>
   <p>Now you can build the various parts which form the Apache package
   by simply running the command:</p>
  @@ -396,26 +445,25 @@
   number of modules which you have enabled.</p>
  -<h3><a name="install">Installing the package</a></h3>
  +<h3><a name="install">Install</a></h3>
   <p>Now its time to install the package under the configured
  -installation PREFIX (see <code>--prefix</code> option above) by running:</h3>
  -        $ make install
  +installation <em>PREFIX</em> (see <code>--prefix</code> option
  +by running:</h3> <blockquote><code> $ make install
   <p>If you are upgrading, the installation will not overwrite 
   your configuration files or documents.</p>
  -<h3><a name="customize">Customizing the package</a></h3>
  +<h3><a 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
  -$ vi PREFIX/conf/httpd.conf
  +$ vi <em>PREFIX</em>/conf/httpd.conf
   <p>Have a look at the Apache manual under <a
  @@ -424,24 +472,23 @@
   for a complete reference of available <a
   href="mod/directives.html">configuration directives</a>.</p>
  -<h3><a name="test">Testing the package</a></h3>
  +<h3><a name="test">Test</a></h3>
   <p>Now you can <a href="invoking.html">start</a> your Apache HTTP
   server by immediately running:</p>
  -        $ PREFIX/bin/apachectl start
  +        $ <em>PREFIX</em>/bin/apachectl start
   <p>and then you should be able to request your first document via URL
  -http://localhost/ (when you built and installed Apache as root) or
  -http://localhost:8080/ (when you built and installed Apache as a
  -regular user).  The web page you see is located under the <a
  +http://localhost/.  The web page you see is located under the <a
   href="mod/core.html#documentroot">DocumentRoot</a> which will usually
  -be <code>PREFIX/htdocs/</code>.  Then <a href="stopping.html">stop</a>
  -the server again by running:</p>
  +be <code><em>PREFIX</em>/htdocs/</code>.  Then <a
  +href="stopping.html">stop</a> the server again by running:</p>
  -<blockquote><code> $ PREFIX/bin/apachectl stop </code></blockquote>
  +<blockquote><code> $ <em>PREFIX</em>/bin/apachectl stop
   <!--#include virtual="footer.html" -->

View raw message