553 lines
10 KiB
HTML
553 lines
10 KiB
HTML
|
<HTML
|
|||
|
><HEAD
|
|||
|
><TITLE
|
|||
|
>Introduction</TITLE
|
|||
|
><META
|
|||
|
NAME="GENERATOR"
|
|||
|
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
|
|||
|
REL="HOME"
|
|||
|
TITLE="Apache Compile HOWTO"
|
|||
|
HREF="index.html"><LINK
|
|||
|
REL="PREVIOUS"
|
|||
|
TITLE="Apache Compile HOWTO"
|
|||
|
HREF="index.html"><LINK
|
|||
|
REL="NEXT"
|
|||
|
TITLE="Prerequisites"
|
|||
|
HREF="prereqs.html"></HEAD
|
|||
|
><BODY
|
|||
|
CLASS="SECT1"
|
|||
|
BGCOLOR="#FFFFFF"
|
|||
|
TEXT="#000000"
|
|||
|
LINK="#0000FF"
|
|||
|
VLINK="#840084"
|
|||
|
ALINK="#0000FF"
|
|||
|
><DIV
|
|||
|
CLASS="NAVHEADER"
|
|||
|
><TABLE
|
|||
|
SUMMARY="Header navigation table"
|
|||
|
WIDTH="100%"
|
|||
|
BORDER="0"
|
|||
|
CELLPADDING="0"
|
|||
|
CELLSPACING="0"
|
|||
|
><TR
|
|||
|
><TH
|
|||
|
COLSPAN="3"
|
|||
|
ALIGN="center"
|
|||
|
>Apache Compile HOWTO</TH
|
|||
|
></TR
|
|||
|
><TR
|
|||
|
><TD
|
|||
|
WIDTH="10%"
|
|||
|
ALIGN="left"
|
|||
|
VALIGN="bottom"
|
|||
|
><A
|
|||
|
HREF="index.html"
|
|||
|
ACCESSKEY="P"
|
|||
|
>Prev</A
|
|||
|
></TD
|
|||
|
><TD
|
|||
|
WIDTH="80%"
|
|||
|
ALIGN="center"
|
|||
|
VALIGN="bottom"
|
|||
|
></TD
|
|||
|
><TD
|
|||
|
WIDTH="10%"
|
|||
|
ALIGN="right"
|
|||
|
VALIGN="bottom"
|
|||
|
><A
|
|||
|
HREF="prereqs.html"
|
|||
|
ACCESSKEY="N"
|
|||
|
>Next</A
|
|||
|
></TD
|
|||
|
></TR
|
|||
|
></TABLE
|
|||
|
><HR
|
|||
|
ALIGN="LEFT"
|
|||
|
WIDTH="100%"></DIV
|
|||
|
><DIV
|
|||
|
CLASS="SECT1"
|
|||
|
><H1
|
|||
|
CLASS="SECT1"
|
|||
|
><A
|
|||
|
NAME="INTRO"
|
|||
|
></A
|
|||
|
>1. Introduction</H1
|
|||
|
><DIV
|
|||
|
CLASS="SECT2"
|
|||
|
><H2
|
|||
|
CLASS="SECT2"
|
|||
|
><A
|
|||
|
NAME="AEN95"
|
|||
|
></A
|
|||
|
>1.1. Contributors and Contacts</H2
|
|||
|
><P
|
|||
|
> First I would thank all those people who send questions and suggestions that made a
|
|||
|
further development of this document possible. It shows me, sharing knowledge is the right way.
|
|||
|
I would encourage you to send me more suggestion, just write me an email <TT
|
|||
|
CLASS="EMAIL"
|
|||
|
><<A
|
|||
|
HREF="mailto:luc at delouw.ch"
|
|||
|
>luc at delouw.ch</A
|
|||
|
>></TT
|
|||
|
>.
|
|||
|
</P
|
|||
|
></DIV
|
|||
|
><DIV
|
|||
|
CLASS="SECT2"
|
|||
|
><H2
|
|||
|
CLASS="SECT2"
|
|||
|
><A
|
|||
|
NAME="AEN99"
|
|||
|
></A
|
|||
|
>1.2. Why I wrote this document</H2
|
|||
|
><P
|
|||
|
> All Linux distributions I tested had a non-optimal default setup of Apache. Additionally all major
|
|||
|
distributions don't have current versions of Apache.
|
|||
|
</P
|
|||
|
><P
|
|||
|
> Finally most commercial <SPAN
|
|||
|
CLASS="ACRONYM"
|
|||
|
>Unix</SPAN
|
|||
|
> are delivered without pre-installed Apache, or using a very strange setup.
|
|||
|
</P
|
|||
|
><P
|
|||
|
> Since I am installing a lot of customized webservers on different Unixes therefor I wrote a
|
|||
|
plaintext document and placed it on my website so I can access it at work. Later a friend
|
|||
|
posted the URL to a mailinglist, and the first questions arrived. So I decided to put more information
|
|||
|
on the page.
|
|||
|
</P
|
|||
|
><P
|
|||
|
> After a lot of people requested the document as an <20>official<61> HOWTO written in <SPAN
|
|||
|
CLASS="ACRONYM"
|
|||
|
>SGML</SPAN
|
|||
|
>,
|
|||
|
I decided to prepare it to be one.
|
|||
|
</P
|
|||
|
></DIV
|
|||
|
><DIV
|
|||
|
CLASS="SECT2"
|
|||
|
><H2
|
|||
|
CLASS="SECT2"
|
|||
|
><A
|
|||
|
NAME="AEN107"
|
|||
|
></A
|
|||
|
>1.3. What this document is supposed to be</H2
|
|||
|
><P
|
|||
|
> Compiling all the items described below needs a lot of configure-options that
|
|||
|
nobody can memorize. This is supposed to be a copy-paste-ready text to compile
|
|||
|
Apache and friends.
|
|||
|
</P
|
|||
|
><P
|
|||
|
> Also, people should learn how to build a full-featured
|
|||
|
<SPAN
|
|||
|
CLASS="APPLICATION"
|
|||
|
>Apache</SPAN
|
|||
|
> webserver by themself to be independent from any <SPAN
|
|||
|
CLASS="APPLICATION"
|
|||
|
>Linux</SPAN
|
|||
|
> distributors.
|
|||
|
</P
|
|||
|
></DIV
|
|||
|
><DIV
|
|||
|
CLASS="SECT2"
|
|||
|
><H2
|
|||
|
CLASS="SECT2"
|
|||
|
><A
|
|||
|
NAME="AEN113"
|
|||
|
></A
|
|||
|
>1.4. What this document doesn't do for you</H2
|
|||
|
><P
|
|||
|
> It is just a Document, not a script that makes the work for you. You have to do all the steps by yourself.
|
|||
|
</P
|
|||
|
></DIV
|
|||
|
><DIV
|
|||
|
CLASS="SECT2"
|
|||
|
><H2
|
|||
|
CLASS="SECT2"
|
|||
|
><A
|
|||
|
NAME="AEN116"
|
|||
|
></A
|
|||
|
>1.5. Platforms</H2
|
|||
|
><P
|
|||
|
> The original document was for all major <SPAN
|
|||
|
CLASS="ACRONYM"
|
|||
|
>Unix</SPAN
|
|||
|
> platforms. Now the HOWTOs are
|
|||
|
separated for each platform. You will find the same document adapted for:
|
|||
|
</P
|
|||
|
><P
|
|||
|
></P
|
|||
|
><UL
|
|||
|
><LI
|
|||
|
><P
|
|||
|
>Linux (This Document)</P
|
|||
|
></LI
|
|||
|
><LI
|
|||
|
><P
|
|||
|
>IBM <SPAN
|
|||
|
CLASS="ACRONYM"
|
|||
|
>AIX</SPAN
|
|||
|
> 4.3 and 5.1L</P
|
|||
|
></LI
|
|||
|
><LI
|
|||
|
><P
|
|||
|
>Sun Solaris 6/7/8</P
|
|||
|
></LI
|
|||
|
><LI
|
|||
|
><P
|
|||
|
>Hewlett-Packard <SPAN
|
|||
|
CLASS="ACRONYM"
|
|||
|
>HP-UX</SPAN
|
|||
|
> 11</P
|
|||
|
></LI
|
|||
|
><LI
|
|||
|
><P
|
|||
|
>{Free|Net|Open}-<SPAN
|
|||
|
CLASS="ACRONYM"
|
|||
|
>BSD</SPAN
|
|||
|
></P
|
|||
|
></LI
|
|||
|
></UL
|
|||
|
><P
|
|||
|
> Important Notice for users running Linux on IBM S/390 (zSeries): <SPAN
|
|||
|
CLASS="APPLICATION"
|
|||
|
>PostgreSQL</SPAN
|
|||
|
>
|
|||
|
and <SPAN
|
|||
|
CLASS="APPLICATION"
|
|||
|
>Jserv</SPAN
|
|||
|
> wont compile on that system.
|
|||
|
All other programs and modules mentioned in the HOWTO are working perfectly
|
|||
|
</P
|
|||
|
><P
|
|||
|
> Other <SPAN
|
|||
|
CLASS="ACRONYM"
|
|||
|
>Unix</SPAN
|
|||
|
> platforms: Feel free to create a guest-account for me on
|
|||
|
your <SPAN
|
|||
|
CLASS="ACRONYM"
|
|||
|
>Unix</SPAN
|
|||
|
> platform, so I can have a look at the differences.
|
|||
|
</P
|
|||
|
><P
|
|||
|
> Windows-Users: I'm sorry, I'm too young for a heart-attack, You will need to upgrade your machine
|
|||
|
to a <20>real<61> operating system ;-)
|
|||
|
</P
|
|||
|
></DIV
|
|||
|
><DIV
|
|||
|
CLASS="SECT2"
|
|||
|
><H2
|
|||
|
CLASS="SECT2"
|
|||
|
><A
|
|||
|
NAME="COPYRIGHT"
|
|||
|
></A
|
|||
|
>1.6. Copyright Information</H2
|
|||
|
><P
|
|||
|
> This document is copyrighted (c) 2000, 2001, 2002, 2003 Luc de Louw and is
|
|||
|
distributed under the terms of the Linux Documentation Project
|
|||
|
(LDP) license, stated below.
|
|||
|
</P
|
|||
|
><P
|
|||
|
> Unless otherwise stated, Linux HOWTO documents are
|
|||
|
copyrighted by their respective authors. Linux HOWTO documents may
|
|||
|
be reproduced and distributed in whole or in part, in any medium
|
|||
|
physical or electronic, as long as this copyright notice is
|
|||
|
retained on all copies. Commercial redistribution is allowed and
|
|||
|
encouraged; however, the author would like to be notified of any
|
|||
|
such distributions.
|
|||
|
</P
|
|||
|
><P
|
|||
|
> All translations, derivative works, or aggregate works
|
|||
|
incorporating any Linux HOWTO documents must be covered under this
|
|||
|
copyright notice. That is, you may not produce a derivative work
|
|||
|
from a HOWTO and impose additional restrictions on its
|
|||
|
distribution. Exceptions to these rules may be granted under
|
|||
|
certain conditions; please contact the Linux HOWTO coordinator at
|
|||
|
the address given below.
|
|||
|
</P
|
|||
|
><P
|
|||
|
> In short, we wish to promote dissemination of this
|
|||
|
information through as many channels as possible. However, we do
|
|||
|
wish to retain copyright on the HOWTO documents, and would like to
|
|||
|
be notified of any plans to redistribute the HOWTOs.
|
|||
|
</P
|
|||
|
><P
|
|||
|
> If you have any questions, please contact
|
|||
|
<TT
|
|||
|
CLASS="EMAIL"
|
|||
|
><<A
|
|||
|
HREF="mailto:linux-howto at metalab.unc.edu"
|
|||
|
>linux-howto at metalab.unc.edu</A
|
|||
|
>></TT
|
|||
|
>
|
|||
|
</P
|
|||
|
></DIV
|
|||
|
><DIV
|
|||
|
CLASS="SECT2"
|
|||
|
><H2
|
|||
|
CLASS="SECT2"
|
|||
|
><A
|
|||
|
NAME="DISCLAIMER"
|
|||
|
></A
|
|||
|
>1.7. Disclaimer</H2
|
|||
|
><P
|
|||
|
> No liability for the contents of this documents can be accepted.
|
|||
|
Use the concepts, examples and other content at your own risk.
|
|||
|
As this is a new edition of this document, there may be errors
|
|||
|
and inaccuracies, that may of course be damaging to your system.
|
|||
|
Proceed with caution, and although this is highly unlikely,
|
|||
|
the author(s) do not take any responsibility for that.
|
|||
|
</P
|
|||
|
><P
|
|||
|
> All copyrights are held by their by their respective owners, unless
|
|||
|
specifically noted otherwise. Use of a term in this document
|
|||
|
should not be regarded as affecting the validity of any trademark
|
|||
|
or service mark.
|
|||
|
</P
|
|||
|
><P
|
|||
|
> Naming of particular products or brands should not be seen
|
|||
|
as endorsements.
|
|||
|
</P
|
|||
|
><P
|
|||
|
> You are strongly recommended to take a backup of your system
|
|||
|
before major installation and backups at regular intervals.
|
|||
|
</P
|
|||
|
></DIV
|
|||
|
><DIV
|
|||
|
CLASS="SECT2"
|
|||
|
><H2
|
|||
|
CLASS="SECT2"
|
|||
|
><A
|
|||
|
NAME="NEWVERSIONS"
|
|||
|
></A
|
|||
|
>1.8. New Versions</H2
|
|||
|
><P
|
|||
|
> This is the 15th Revision
|
|||
|
</P
|
|||
|
><P
|
|||
|
> New revisions of this document will be announced at
|
|||
|
<A
|
|||
|
HREF="http://freshmeat.net/projects/apache-compile-howto/?topic_id=905"
|
|||
|
TARGET="_top"
|
|||
|
> http://freshmeat.net/projects/apache-compile-howto/?topic_id=905</A
|
|||
|
>
|
|||
|
</P
|
|||
|
><P
|
|||
|
> The latest version of this document is to be found at
|
|||
|
<A
|
|||
|
HREF="http://www.delouw.ch/linux"
|
|||
|
TARGET="_top"
|
|||
|
>http://www.delouw.ch/linux</A
|
|||
|
>
|
|||
|
</P
|
|||
|
><P
|
|||
|
> </P
|
|||
|
><P
|
|||
|
> <P
|
|||
|
></P
|
|||
|
><UL
|
|||
|
><LI
|
|||
|
><P
|
|||
|
> <A
|
|||
|
HREF="http://www.delouw.ch/linux/Apache-Compile-HOWTO/html/index.html"
|
|||
|
TARGET="_top"
|
|||
|
>HTML</A
|
|||
|
>.
|
|||
|
</P
|
|||
|
></LI
|
|||
|
><LI
|
|||
|
><P
|
|||
|
> <A
|
|||
|
HREF="http://www.delouw.ch/linux/Apache-Compile-HOWTO/Apache-Compile-HOWTO.ps"
|
|||
|
TARGET="_top"
|
|||
|
>Postscript (ISO A4 format)</A
|
|||
|
>.
|
|||
|
</P
|
|||
|
></LI
|
|||
|
><LI
|
|||
|
><P
|
|||
|
> <A
|
|||
|
HREF="http://www.delouw.ch/linux/Apache-Compile-HOWTO/Apache-Compile-HOWTO.pdf"
|
|||
|
TARGET="_top"
|
|||
|
>Acrobat PDF</A
|
|||
|
>.
|
|||
|
</P
|
|||
|
></LI
|
|||
|
><LI
|
|||
|
><P
|
|||
|
> <A
|
|||
|
HREF="http://www.delouw.ch/linux/Apache-Compile-HOWTO/Apache-Compile-HOWTO.sgml"
|
|||
|
TARGET="_top"
|
|||
|
>SGML Source</A
|
|||
|
>.
|
|||
|
</P
|
|||
|
></LI
|
|||
|
><LI
|
|||
|
><P
|
|||
|
> <A
|
|||
|
HREF="http://www.delouw.ch/linux/Apache-Compile-HOWTO/Apache-Compile-HOWTO.html.tar.gz"
|
|||
|
TARGET="_top"
|
|||
|
>HTML gzipped tarball</A
|
|||
|
>.
|
|||
|
</P
|
|||
|
></LI
|
|||
|
></UL
|
|||
|
>
|
|||
|
</P
|
|||
|
></DIV
|
|||
|
><DIV
|
|||
|
CLASS="SECT2"
|
|||
|
><H2
|
|||
|
CLASS="SECT2"
|
|||
|
><A
|
|||
|
NAME="CREDITS"
|
|||
|
></A
|
|||
|
>1.9. Credits</H2
|
|||
|
><P
|
|||
|
> I would thank all the nice people at <TT
|
|||
|
CLASS="EMAIL"
|
|||
|
><<A
|
|||
|
HREF="mailto: discuss at linuxdoc.org"
|
|||
|
> discuss at linuxdoc.org</A
|
|||
|
>></TT
|
|||
|
> for
|
|||
|
supporting me in writing HOWTOs
|
|||
|
</P
|
|||
|
></DIV
|
|||
|
><DIV
|
|||
|
CLASS="SECT2"
|
|||
|
><H2
|
|||
|
CLASS="SECT2"
|
|||
|
><A
|
|||
|
NAME="FEEDBACK"
|
|||
|
></A
|
|||
|
>1.10. Feedback</H2
|
|||
|
><P
|
|||
|
> Feedback is most certainly welcome for this document. Without
|
|||
|
your submissions and input, this document wouldn't exist. Please
|
|||
|
send your additions, comments and critics to the following
|
|||
|
email address : <TT
|
|||
|
CLASS="EMAIL"
|
|||
|
><<A
|
|||
|
HREF="mailto:luc at delouw.ch"
|
|||
|
>luc at delouw.ch</A
|
|||
|
>></TT
|
|||
|
>.
|
|||
|
</P
|
|||
|
></DIV
|
|||
|
><DIV
|
|||
|
CLASS="SECT2"
|
|||
|
><H2
|
|||
|
CLASS="SECT2"
|
|||
|
><A
|
|||
|
NAME="TRANSLATIONS"
|
|||
|
></A
|
|||
|
>1.11. Translations</H2
|
|||
|
><P
|
|||
|
> At the moment there are translations available for:
|
|||
|
<P
|
|||
|
></P
|
|||
|
><UL
|
|||
|
><LI
|
|||
|
><P
|
|||
|
> <A
|
|||
|
HREF="http://www.delouw.ch/linux/DE-Apache-Compile-HOWTO/html/index.html"
|
|||
|
TARGET="_top"
|
|||
|
>German</A
|
|||
|
>
|
|||
|
</P
|
|||
|
></LI
|
|||
|
><LI
|
|||
|
><P
|
|||
|
> <A
|
|||
|
HREF="http://www.delouw.ch/linux/FR-Apache-Compile-HOWTO/html/index.html"
|
|||
|
TARGET="_top"
|
|||
|
>French</A
|
|||
|
>
|
|||
|
</P
|
|||
|
></LI
|
|||
|
></UL
|
|||
|
>
|
|||
|
</P
|
|||
|
><P
|
|||
|
> Translations to other languages are always welcome. If you translated this document, please let
|
|||
|
me know, so I can set a link here.
|
|||
|
</P
|
|||
|
></DIV
|
|||
|
><DIV
|
|||
|
CLASS="SECT2"
|
|||
|
><H2
|
|||
|
CLASS="SECT2"
|
|||
|
><A
|
|||
|
NAME="AEN201"
|
|||
|
></A
|
|||
|
>1.12. About the author</H2
|
|||
|
><P
|
|||
|
>Luc (in english Luke) is 29 years old, playing around with computers since 20years.
|
|||
|
Currently he is working as Unix System Engineer for an IT-corporation located in Kloten (Zurich), Switzerland.
|
|||
|
Main-focus is developing all flavors of innovative Systems running on Linux (and other Un*xes) .
|
|||
|
Further, for all major Un*x platforms all the “impossible” tasks will end up on his
|
|||
|
desk (yes, its funny and he loves it!)</P
|
|||
|
></DIV
|
|||
|
></DIV
|
|||
|
><DIV
|
|||
|
CLASS="NAVFOOTER"
|
|||
|
><HR
|
|||
|
ALIGN="LEFT"
|
|||
|
WIDTH="100%"><TABLE
|
|||
|
SUMMARY="Footer navigation table"
|
|||
|
WIDTH="100%"
|
|||
|
BORDER="0"
|
|||
|
CELLPADDING="0"
|
|||
|
CELLSPACING="0"
|
|||
|
><TR
|
|||
|
><TD
|
|||
|
WIDTH="33%"
|
|||
|
ALIGN="left"
|
|||
|
VALIGN="top"
|
|||
|
><A
|
|||
|
HREF="index.html"
|
|||
|
ACCESSKEY="P"
|
|||
|
>Prev</A
|
|||
|
></TD
|
|||
|
><TD
|
|||
|
WIDTH="34%"
|
|||
|
ALIGN="center"
|
|||
|
VALIGN="top"
|
|||
|
><A
|
|||
|
HREF="index.html"
|
|||
|
ACCESSKEY="H"
|
|||
|
>Home</A
|
|||
|
></TD
|
|||
|
><TD
|
|||
|
WIDTH="33%"
|
|||
|
ALIGN="right"
|
|||
|
VALIGN="top"
|
|||
|
><A
|
|||
|
HREF="prereqs.html"
|
|||
|
ACCESSKEY="N"
|
|||
|
>Next</A
|
|||
|
></TD
|
|||
|
></TR
|
|||
|
><TR
|
|||
|
><TD
|
|||
|
WIDTH="33%"
|
|||
|
ALIGN="left"
|
|||
|
VALIGN="top"
|
|||
|
>Apache Compile HOWTO</TD
|
|||
|
><TD
|
|||
|
WIDTH="34%"
|
|||
|
ALIGN="center"
|
|||
|
VALIGN="top"
|
|||
|
> </TD
|
|||
|
><TD
|
|||
|
WIDTH="33%"
|
|||
|
ALIGN="right"
|
|||
|
VALIGN="top"
|
|||
|
>Prerequisites</TD
|
|||
|
></TR
|
|||
|
></TABLE
|
|||
|
></DIV
|
|||
|
></BODY
|
|||
|
></HTML
|
|||
|
>
|