INSTALL revision 750f77ade4110c6b2315d6b9e9c22f643914d87d
ac4e70ff8955669341f435bc0a734a17c01af124Mark Andrews
5ae0e2c8b72fa44237edeb37d1945b1c3535ca39Automatic Updater APACHE INSTALLATION
5ae0e2c8b72fa44237edeb37d1945b1c3535ca39Automatic Updater
59dd3b3cd954239d98ef52cd26328856cb6f2975Automatic Updater Introduction
59dd3b3cd954239d98ef52cd26328856cb6f2975Automatic Updater ============
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater
59dd3b3cd954239d98ef52cd26328856cb6f2975Automatic Updater Apache 2.0's configuration and installation environment has changed
a3b428812703d22a605a9f882e71ed65f0ffdc65Mark Andrews completely from Apache 1.3. Apache 1.3 used a custom set of scripts
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater to achieve easy installation. Apache 2.0 now uses libtool and autoconf
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington to create an environment that looks like many other Open Source projects.
ac4e70ff8955669341f435bc0a734a17c01af124Mark Andrews
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington Installing the Apache 1.3 HTTP server with APACI
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater ================================================
5c0fc20d6e59216d9a142409e5fdb498153aeaa5Automatic Updater
56874aef380a64a2c183b7c282c3e7a361d67fa1Automatic Updater 1. Overview for the impatient
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews --------------------------
56874aef380a64a2c183b7c282c3e7a361d67fa1Automatic Updater
4b2cb1422c7c600fbc13b1cb06a8b4693bc11af8Mark Andrews $ ./buildconf
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews $ ./configure --prefix=PREFIX
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews $ make
04eba969cb9a54bbda2896db2067c07b2ac5ba16Automatic Updater $ make install
4b2cb1422c7c600fbc13b1cb06a8b4693bc11af8Mark Andrews $ PREFIX/bin/apachectl start
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews
efb0e886f18894a1d2489f1ad74ad14b579e11c7Mark Andrews NOTE: PREFIX is not the string "PREFIX". Instead use the Unix
efb0e886f18894a1d2489f1ad74ad14b579e11c7Mark Andrews filesystem path under which Apache should be installed. For
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews instance use "/usr/local/apache" for PREFIX above.
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews 2. Requirements
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews ------------
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews The following requirements exist for building Apache:
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater o Disk Space:
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews
fc3576328379e813ccf6b3a6e66d9bb701a79c83Automatic Updater Make sure you have approximately 12 MB of temporary free disk space
4b2cb1422c7c600fbc13b1cb06a8b4693bc11af8Mark Andrews available. After installation Apache occupies approximately 5 MB of
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews disk space (the actual required disk space depends on the amount of
bbb069be941f649228760edcc241122933c066d2Automatic Updater compiled in third party modules, etc).
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews
3098364bcdd7a719fbafa5fc8d2cc9e90e5a5989Automatic Updater o ANSI-C Compiler:
4b2cb1422c7c600fbc13b1cb06a8b4693bc11af8Mark Andrews
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews Make sure you have an ANSI-C compiler installed. The GNU C compiler
3098364bcdd7a719fbafa5fc8d2cc9e90e5a5989Automatic Updater (GCC) from the Free Software Foundation (FSF) is recommended (version
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews 2.7.2 is fine). If you don't have GCC then at least make sure your
3a6600c8d319275d73c36eb625f77103cd83e824Automatic Updater vendors compiler is ANSI compliant. You can find the homepage of GNU
4b2cb1422c7c600fbc13b1cb06a8b4693bc11af8Mark Andrews at http://www.gnu.org/ and the GCC distribution under
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews http://www.gnu.org/order/ftp.html .
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson o Libtool 1.3.3:
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews
efb0e886f18894a1d2489f1ad74ad14b579e11c7Mark Andrews Make sure that you have libtool 1.3.3 or later installed before
efb0e886f18894a1d2489f1ad74ad14b579e11c7Mark Andrews trying to configure and build Apache 2.0. Libtool can be downloaded
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews from the Free Software Foundation (FSF), at
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson http://www.gnu.org/order/ftp.html.
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews o Autoconf 2.13:
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews Make sure that you have autoconf 2.13 or later installed before
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington trying to configure and build Apache 2.0. Autoconf can be
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater downloaded from the Free Software Foundation (FSF), at
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews http://www.gnu.org/order/ftp.html.
6f046a065e5543f8cd7e2f24991c65d2372f4c8dMark Andrews
4b2cb1422c7c600fbc13b1cb06a8b4693bc11af8Mark Andrews o Perl 5 Interpreter [OPTIONAL]:
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews For some of the support scripts like `apxs' or `dbmmanage' (which are
a8644ebab678a1de66cbfaabb513651a739958afAutomatic Updater written in Perl) the Perl 5 interpreter is required (versions 5.003
4b2cb1422c7c600fbc13b1cb06a8b4693bc11af8Mark Andrews and 5.004 are fine). If no such interpreter is found by APACI's
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews `configure' script this is no harm. Of course, you still can build
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater and install Apache 1.3. Only those support scripts cannot be used. If
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater you have multiple Perl interpreters installed (perhaps a Perl 4 from
efb0e886f18894a1d2489f1ad74ad14b579e11c7Mark Andrews the vendor and a Perl 5 from your own), then it is recommended to use
efb0e886f18894a1d2489f1ad74ad14b579e11c7Mark Andrews the --with-perl option (see below) to make sure the correct one is
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews selected by APACI.
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews o Dynamic Shared Object (DSO) support [OPTIONAL]:
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson To provide maximum flexibility Apache now is able to load modules
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews under runtime via the DSO mechanism by using the pragmatic
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson dlopen()/dlsym() system calls. These system calls are not available
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews under all operating systems therefore you cannot use the DSO mechanism
96ea71632887c58a9d00f47eb318bf76b35903c3Mark Andrews on all platforms. And Apache currently has only limited built-in
19b3dc94bce93fa76bd7e066f9298630dbc9dcb4Automatic Updater knowledge on how to compile shared objects because this is heavily
80f9a970ae6681c08529ef209eaabbe078c27ca3Mark Andrews platform-dependent. The current state is this:
2831d2c54acc60414e9ffaf5c702ba475f06754bMark Andrews
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater o Out-of-the-box supported platforms are (Not all of these will
5ae0e2c8b72fa44237edeb37d1945b1c3535ca39Automatic Updater work currently. DSO support is currently available on most
4cda4fd158d6ded5586bacea8c388445d99611eaAutomatic Updater of these platforms however):
3098364bcdd7a719fbafa5fc8d2cc9e90e5a5989Automatic Updater - Linux - SunOS - UnixWare - Darwin/Mac OS
19b3dc94bce93fa76bd7e066f9298630dbc9dcb4Automatic Updater - FreeBSD - Solaris - AIX - OpenStep/Mach
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater - OpenBSD - IRIX - SCO - DYNIX/ptx
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater - NetBSD - HPUX - ReliantUNIX
5ae0e2c8b72fa44237edeb37d1945b1c3535ca39Automatic Updater - BSDI - Digital Unix - DGUX
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater o Entirely unsupported platforms are:
5ae0e2c8b72fa44237edeb37d1945b1c3535ca39Automatic Updater - Ultrix
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater If your system is not on these lists but has the dlopen-style
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater interface, you either have to provide the appropriate compiler and
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater linker flags (see CFLAGS_SHLIB, LDFLAGS_SHLIB and LDFLAGS_SHLIB_EXPORT
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater below) manually or at least make sure a Perl 5 interpreter is
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater installed from which Apache can guess the options.
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater 3. Configuring the source tree
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater ---------------------------
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater Setup:
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater
19b3dc94bce93fa76bd7e066f9298630dbc9dcb4Automatic Updater The first step in compiling Apache 2.0 is to setup the source tree so
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater that it can be built. This is done by running:
19b3dc94bce93fa76bd7e066f9298630dbc9dcb4Automatic Updater
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater ./buildconf
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater
19b3dc94bce93fa76bd7e066f9298630dbc9dcb4Automatic Updater This script ensures that all required programs are installed on the
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater currently machine, and creates the ./configure script. If you are
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater using a package downloaded from apache.org then this step is not
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater necessary.
ea935c46e8261ea10621e5b038426539fe8a7cc5Mark Andrews
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater Introduction:
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater The next step is to configure the Apache source tree for your particular
7262eb86f2b465822206122921e2f357218f0cfdAutomatic Updater platform and personal requirements. The most important setup here is the
96ea71632887c58a9d00f47eb318bf76b35903c3Mark Andrews location prefix where Apache is to be installed later, because Apache has
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater to be configured for this location to work correctly. But there are a lot
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater of other options available for your pleasure.
bbb069be941f649228760edcc241122933c066d2Automatic Updater
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater For a short impression of what possibilities you have, here is a typical
4cda4fd158d6ded5586bacea8c388445d99611eaAutomatic Updater example which compiles Apache for the installation tree /sw/pkg/apache
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews with a particular compiler and flags plus the two additional modules
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater mod_rewrite and mod_speling for later loading through the DSO mechanism:
4b2cb1422c7c600fbc13b1cb06a8b4693bc11af8Mark Andrews
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews $ CC="pgcc" OPTIM="-O2" \
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater ./configure --prefix=/sw/pkg/apache \
5ae0e2c8b72fa44237edeb37d1945b1c3535ca39Automatic Updater --enable-rewrite=shared \
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews --enable-speling=shared
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews
5ae0e2c8b72fa44237edeb37d1945b1c3535ca39Automatic Updater The easiest way to find all of the configuration flags for Apache 2.0
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews is to run ./configure --help. What follows is a brief description of
4b2cb1422c7c600fbc13b1cb06a8b4693bc11af8Mark Andrews most of the arguments.
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater Reference:
5ae0e2c8b72fa44237edeb37d1945b1c3535ca39Automatic Updater
5c0fc20d6e59216d9a142409e5fdb498153aeaa5Automatic Updater $ [CC=...] [CFLAGS_SHLIB=...] [TARGET=...]
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater [OPTIM=...] [LD_SHLIB=...]
19b3dc94bce93fa76bd7e066f9298630dbc9dcb4Automatic Updater [CFLAGS=...] [LDFLAGS_SHLIB=...]
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater [INCLUDES=...] [LDFLAGS_SHLIB_EXPORT=...]
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater [LDFLAGS=...] [RANLIB=...]
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington [LIBS=...] [DEPS=...]
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater ./configure
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater [--quiet] [--prefix=DIR] [--enable-NAME=(shared)]
5c0fc20d6e59216d9a142409e5fdb498153aeaa5Automatic Updater [--verbose] [--exec-prefix=PREFIX] [--disable-NAME]
5ae0e2c8b72fa44237edeb37d1945b1c3535ca39Automatic Updater [--shadow[=DIR]] [--bindir=EPREFIX] [--with-mpm=NAME]
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater [--show-layout] [--sbindir=DIR]
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater [--help] [--libexecdir=DIR]
00be0f9f61d4c6bf197d000bfa1a6b7e70ea0866Automatic Updater [--mandir=DIR]
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson [--sysconfdir=DIR]
00be0f9f61d4c6bf197d000bfa1a6b7e70ea0866Automatic Updater [--datadir=DIR]
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater [--includedir=DIR]
5c0fc20d6e59216d9a142409e5fdb498153aeaa5Automatic Updater [--localstatedir=DIR]
04eba969cb9a54bbda2896db2067c07b2ac5ba16Automatic Updater [--runtimedir=DIR] [--enable-suexec]
5ae0e2c8b72fa44237edeb37d1945b1c3535ca39Automatic Updater [--logfiledir=DIR] [--suexec-caller=UID]
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington [--proxycachedir=DIR] [--suexec-docroot=DIR]
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater [--with-layout=[FILE:]ID] [--suexec-logfile=FILE]
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews [--suexec-userdir=DIR]
81c3cb9b921cda22a5a35fa32ca1bf35797b9a36Automatic Updater [--with-perl=FILE] [--suexec-uidmin=UID]
4b2cb1422c7c600fbc13b1cb06a8b4693bc11af8Mark Andrews [--without-support] [--suexec-gidmin=GID]
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews [--without-confadjust] [--suexec-safepath=PATH]
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews [--without-execstrip]
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson [--server-uid=UID] [--with-maintainter-mode]
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews [--server-gid=GID]
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington
8ae412a86ed138263796195eed82a4716e7effcbMark Andrews Use the CC, OPTIM, CFLAGS, INCLUDES, LDFLAGS, LIBS, CFLAGS_SHLIB,
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater LD_SHLIB, LDFLAGS_SHLIB, LDFLAGS_SHLIB_EXPORT, RANLIB, DEPS and TARGET
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews environment variables to override the corresponding default entries in
56874aef380a64a2c183b7c282c3e7a361d67fa1Automatic Updater the src/Configuration.tmpl file (see there for more information about
4b2cb1422c7c600fbc13b1cb06a8b4693bc11af8Mark Andrews their usage).
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews Use the --prefix=PREFIX and --exec-prefix=EPREFIX options to configure
56874aef380a64a2c183b7c282c3e7a361d67fa1Automatic Updater Apache to use a particular installation prefix. The default is
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater PREFIX=/usr/local/apache and EPREFIX=PREFIX.
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews
4b2cb1422c7c600fbc13b1cb06a8b4693bc11af8Mark Andrews Use the --bindir=DIR, --sbindir=DIR, --libexecdir=DIR, --mandir=DIR,
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews --sysconfdir=DIR, --datadir=DIR, --includedir=DIR, --localstatedir=DIR,
4b2cb1422c7c600fbc13b1cb06a8b4693bc11af8Mark Andrews --runtimedir=DIR, --logfiledir=DIR and proxycachedir=DIR option to change
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews the paths for particular subdirectories of the installation tree.
e076d0c88be69de7c190ab924d095e69d2e11f7aAndreas Gustafsson Defaults are bindir=EPREFIX/bin, sbindir=EPREFIX/sbin,
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater libexecdir=EPREFIX/libexec, mandir=PREFIX/man, sysconfdir=PREFIX/etc,
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater datadir=PREFIX/share, includedir=PREFIX/include,
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater localstatedir=PREFIX/var, runtimedir=PREFIX/var/run,
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater logfiledir=PREFIX/var/log and proxycachedir=PREFIX/var/proxy.
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson Note: To reduce the pollution of shared installation locations
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews (like /usr/local/ or /etc) with Apache files to a minimum the
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater string ``/apache'' is automatically appended to 'libexecdir',
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews 'sysconfdir', 'datadir', 'localstatedir' and 'includedir' if
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson (and only if) the following points apply for each path
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews individually:
efb0e886f18894a1d2489f1ad74ad14b579e11c7Mark Andrews
efb0e886f18894a1d2489f1ad74ad14b579e11c7Mark Andrews 1. the path doesn't already contain the word ``apache''
ac4e70ff8955669341f435bc0a734a17c01af124Mark Andrews 2. the path was not directly customized by the user
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington Keep in mind that per default these paths are derived from
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater 'prefix' and 'exec-prefix', so usually its only a matter
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater whether these paths contain ``apache'' or not. Although the
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater defaults were defined with experience in mind you always should
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater make sure the paths fit your situation by checking the finally
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater chosen paths via the --layout option.
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater Use the --with-layout=[F:]ID option to select a particular installation
bc0a4c01beede169df81a3ee5b614ed9e82339dbAutomatic Updater path base-layout. You always _HAVE_ to select a base-layout. There are
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington currently two layouts pre-defined in the file config.layout: `Apache' for
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater the classical Apache path layout and `GNU' for a path layout conforming
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington to the GNU `standards' document. When you want to use your own custom
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington layout FOO, either add a corresponding "<Layout FOO>...</Layout>" section
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington to config.layout and use --with-layout=FOO or place it into your own
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington file, say config.mypaths, and use --with-layout=config.mypaths:FOO.
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington Use the --show-layout option to check the final installation path layout
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington while fiddling with the options above.
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington Use the --enable-rule=NAME and --disable-rule=NAME options to enable or
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington disable a particular Rule from the Apache src/Configuration.tmpl file. The
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington defaults (yes=enabled, no=disabled) can either be seen when running
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington `./configure --help' or manually looked up in the src/Configuration.tmpl
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington file.
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington Use the --enable-NAME=(shared) and --disable-NAME options to enable
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington or disable a particular already distributed module from the Apache
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington package.
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington Use the --with-mpm=NAME option to determine which MPM should be built
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington for your server.
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington _________________________________________________________________________
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington LIST OF AVAILABLE MODULES
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington Environment creation
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington (+) mod_env .......... Set environment variables for CGI/SSI scripts
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington (+) mod_setenvif ..... Set environment variables based on HTTP headers
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington (-) mod_unique_id .... Generate unique identifiers for request
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington Content type decisions
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington (+) mod_mime ......... Content type/encoding determination (configured)
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington (-) mod_mime_magic ... Content type/encoding determination (automatic)
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington (+) mod_negotiation .. Content selection based on the HTTP Accept* headers
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington URL mapping
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington (+) mod_alias ........ Simple URL translation and redirection
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington (-) mod_rewrite ...... Advanced URL translation and redirection
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington (+) mod_userdir ...... Selection of resource directories by username
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington (-) mod_speling ...... Correction of misspelled URLs
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington Directory Handling
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington (+) mod_dir .......... Directory and directory default file handling
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington (+) mod_autoindex .... Automated directory index file generation
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington Access Control
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington (+) mod_access ....... Access Control (user, host, network)
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington (+) mod_auth ......... HTTP Basic Authentication (user, passwd)
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington (-) mod_auth_dbm ..... HTTP Basic Authentication via Unix NDBM files
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington (-) mod_auth_db ...... HTTP Basic Authentication via Berkeley-DB files
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington (-) mod_auth_anon .... HTTP Basic Authentication for Anonymous-style users
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington (-) mod_digest ....... HTTP Digest Authentication
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington HTTP response
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington (-) mod_headers ...... Arbitrary HTTP response headers (configured)
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington (-) mod_cern_meta .... Arbitrary HTTP response headers (CERN-style files)
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington (-) mod_expires ...... Expires HTTP responses
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater (+) mod_asis ......... Raw HTTP responses
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater Scripting
0d3490f93bb980fde704055e74c1b508987a5fe4Mark Andrews (+) mod_include ...... Server Side Includes (SSI) support
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington (+) mod_cgi .......... Common Gateway Interface (CGI) support
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington (+) mod_cgid ......... Common Gateway Interface (CGI) support for
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington multi-threaded MPMs
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington (+) mod_actions ...... Map CGI scripts to act as internal `handlers'
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews Internal Content Handlers
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews (+) mod_status ....... Content handler for server run-time status
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington (-) mod_info ......... Content handler for server configuration summary
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews Request Logging
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington (+) mod_log_config ... Customizable logging of requests
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews (-) mod_log_agent .... Specialized HTTP User-Agent logging (deprecated)
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater (-) mod_log_referer .. Specialized HTTP Referrer logging (deprecated)
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington (-) mod_usertrack .... Logging of user click-trails via HTTP Cookies
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater Miscellaneous
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater (+) mod_imap ......... Server-side Image Map support
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington (-) mod_proxy ........ Caching Proxy Module (HTTP, HTTPS, FTP)
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington (-) mod_so ........... Dynamic Shared Object (DSO) bootstrapping
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington Experimental
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington (-) mod_mmap_static .. Caching of frequently served pages via mmap()
81c3cb9b921cda22a5a35fa32ca1bf35797b9a36Automatic Updater Development
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater (-) mod_example ...... Apache API demonstration (developers only)
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater MPMs
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater mpmt_pthread ..... Mutli-process(dynamic) Multi-threaded(static)
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater Unix MPM
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater prefork .......... Preforking Unix MPM
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater dexter ........... Multi-process(static) Multi-threaded(dynamic)
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater Unix MPM
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater perchild ......... Multi-process(static) Multi-threaded(dynamic)
2d4f33db52cdd5c8bb7cd86b4c5f74205d686646Automatic Updater Unix MPM, that allows a User per child process
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater winnt ............ Multi-process(1) Multi-threaded Windows MPM
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater mpmt_beos ........ Multi-process Multi-threaded Beos MPM
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater beos ............. Multi-process Multi-threaded Beos MPM
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington spmt_os2 ......... Single-process Multi-threaded OS/2 MPM
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater _________________________________________________________________________
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington (+) = enabled per default [disable with --disable-module]
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington (-) = disabled per default [enable with --enable-module ]
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington Use the --enable-suexec option to enable the suEXEC feature by building
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington and installing the "suexec" support program. Use --suexec-caller=UID to
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington set the allowed caller user id, --suexec-userdir=DIR to set the user
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington subdirectory, --suexec-docroot=DIR to set the suexec root directory,
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington --suexec-uidmin=UID/--suexec-gidmin=GID to set the minimal allowed
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington UID/GID, --suexec-logfile=FILE to set the logfile and
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington --suexec-safepath=PATH to set the safe shell PATH for the suEXEC
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington feature. At least one --suexec-xxxxx option has to be provided together
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington with the --enable-suexec option to let APACI accept your request for
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington using the suEXEC feature.
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington CAUTION: FOR DETAILS ABOUT THE SUEXEC FEATURE WE HIGHLY RECOMMEND YOU TO
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington FIRST READ THE DOCUMENT htdocs/manual/suexec.html BEFORE USING
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington THE ABOVE OPTIONS.
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington
7adcb4de92bf4383a4c5624c4ed256736d02bc6dMark Andrews USING THE SUEXEC FEATURE PROPERLY CAN REDUCE CONSIDERABLY THE
7adcb4de92bf4383a4c5624c4ed256736d02bc6dMark Andrews SECURITY RISKS INVOLVED WITH ALLOWING USERS TO DEVELOP AND RUN
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington PRIVATE CGI OR SSI PROGRAMS. HOWEVER, IF SUEXEC IS IMPROPERLY
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington CONFIGURED, IT CAN CAUSE ANY NUMBER OF PROBLEMS AND POSSIBLY
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater CREATE NEW HOLES IN YOUR COMPUTER'S SECURITY. IF YOU AREN'T
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater FAMILIAR WITH MANAGING SETUID ROOT PROGRAMS AND THE SECURITY
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington ISSUES THEY PRESENT, WE HIGHLY RECOMMEND THAT YOU NOT CONSIDER
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater USING SUEXEC AND KEEP AWAY FROM THESE OPTIONS!
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater Use the --shadow option to let APACI create a shadow source tree of the
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater sources for building. This is useful when you want to build for different
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater platforms in parallel (usually through a NFS, AFS or DFS mounted
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington filesystem). You may specify a directory to the --shadow option into
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater which the shadow tree will be created.
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington
7adcb4de92bf4383a4c5624c4ed256736d02bc6dMark Andrews Use the --quiet option to disable all configuration verbose messages.
7adcb4de92bf4383a4c5624c4ed256736d02bc6dMark Andrews
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington Use the --verbose option to enable additional verbose messages.
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington Use the --server-uid option to specify the user ID you want the server to run
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington as. If not specified the server will run as user nobody. If the user ID
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington specified is different than the ID of the user starting the server, you need to
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington start the server as root.
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington Use the --server-gid option to specify the group ID you want the server user ID to
b7aab05edae933e169d5f83c653935b17c7f0a8bMark Andrews be a member of. If not specified, the group ID will be #-1.
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington 4. Building the package
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington --------------------
7adcb4de92bf4383a4c5624c4ed256736d02bc6dMark Andrews
7adcb4de92bf4383a4c5624c4ed256736d02bc6dMark Andrews Now you can build the various parts which form the Apache package by
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington simply running the command
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington
7adcb4de92bf4383a4c5624c4ed256736d02bc6dMark Andrews $ make
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington Please be patient here, this takes approximately 2 minutes to complete
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington under a Pentium-166/FreeBSD-2.2 system, dependend on the amount of
bbb069be941f649228760edcc241122933c066d2Automatic Updater modules you have enabled.
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington 5. Installing the package
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington ----------------------
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington Now its time to install the package under the configured installation
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington PREFIX (see --prefix option above) by running:
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington $ make install
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater For the paranoid hackers under us: The above command really installs under
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater prefix _only_, i.e. no other stuff from your system is touched. Even if
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington you upgrade an existing installation your configuration files in
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater PREFIX/etc/ are preserved.
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater 6. Testing the package
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater -------------------
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater Now you can fire up your Apache HTTP server by immediately running
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater $ PREFIX/bin/apachectl start
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater and then you should be able to request your first document via URL
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington http://localhost/ (when you built and installed Apache as root or at
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater least used the --without-confadjust option) or http://localhost:8080/
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington (when you built and installed Apache as a regular user). Then stop the
7adcb4de92bf4383a4c5624c4ed256736d02bc6dMark Andrews server again by running:
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington
7adcb4de92bf4383a4c5624c4ed256736d02bc6dMark Andrews $ PREFIX/bin/apachectl stop
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington
7adcb4de92bf4383a4c5624c4ed256736d02bc6dMark Andrews 7. Customizing the package
7adcb4de92bf4383a4c5624c4ed256736d02bc6dMark Andrews -----------------------
7adcb4de92bf4383a4c5624c4ed256736d02bc6dMark Andrews
7adcb4de92bf4383a4c5624c4ed256736d02bc6dMark Andrews Finally you can customize your Apache HTTP server by editing the
7adcb4de92bf4383a4c5624c4ed256736d02bc6dMark Andrews configuration files under PREFIX/etc/.
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington $ vi PREFIX/etc/httpd.conf
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington $ vi PREFIX/etc/access.conf
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington $ vi PREFIX/etc/srm.conf
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington Have a look at the Apache manual under htdocs/manual/ or
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington http://www.apache.org/docs/ for a complete reference of available
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington configuration directives.
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington 8. Preparing the system
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington --------------------
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater Proper operation of a public HTTP server requires at least the following:
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington 1. A correctly working TCP/IP layer, since HTTP is implemented on top of
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater TCP/IP. Although modern Unix platforms have good networking layers,
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater always make sure you have all official vendor patches referring to the
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater network layer applied.
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater 2. Accurate time keeping, since elements of the HTTP protocol are
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater expressed as the time of day. So, it's time to investigate setting
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater some time synchronization facility on your system. Usually the ntpdate
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater or xntpd programs are used for this purpose which are based on the
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington Network Time Protocol (NTP). See the Usenet newsgroup
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater comp.protocols.time.ntp and the NTP homepage at
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater http://www.eecis.udel.edu/~ntp/ for more details about NTP software
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater and public time servers.
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater 9. Contacts
068a66979695c77359e7a9181bb3f831c965b21cMark Andrews --------
532d27b39244fadfcf8d8b4593f4c65434c9c664Automatic Updater
532d27b39244fadfcf8d8b4593f4c65434c9c664Automatic Updater o If you want to be informed about new code releases, bug fixes,
532d27b39244fadfcf8d8b4593f4c65434c9c664Automatic Updater security fixes, general news and information about the Apache server
532d27b39244fadfcf8d8b4593f4c65434c9c664Automatic Updater subscribe to the apache-announce mailing list as described under
532d27b39244fadfcf8d8b4593f4c65434c9c664Automatic Updater http://www.apache.org/announcelist.html
532d27b39244fadfcf8d8b4593f4c65434c9c664Automatic Updater
532d27b39244fadfcf8d8b4593f4c65434c9c664Automatic Updater o If you want freely available support for running Apache please join the
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater Apache user community by subscribing at least to the following USENET
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington newsgroup:
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington comp.infosystems.www.servers.unix
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater o If you want commercial support for running Apache please contact
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater one of the companies and contractors which are listed at
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington http://www.apache.org/info/support.cgi
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater o If you have a concrete bug report for Apache please go to the
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater Apache Group Bug Database and submit your report:
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater http://www.apache.org/bug_report.html
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater o If you want to participate in actively developing Apache please
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater subscribe to the `new-httpd' mailing list as described at
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater http://dev.apache.org/mailing-lists
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater Thanks for running Apache.
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater The Apache Group
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater http://www.apache.org/
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater