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