old-www/HOWTO/Apache-Compile-HOWTO/index.html

802 lines
11 KiB
HTML

<HTML
><HEAD
><TITLE
>Apache Compile HOWTO</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
REL="NEXT"
TITLE="Introduction"
HREF="intro.html"></HEAD
><BODY
CLASS="ARTICLE"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="ARTICLE"
><DIV
CLASS="TITLEPAGE"
><H1
CLASS="TITLE"
><A
NAME="AEN2"
></A
>Apache Compile HOWTO</H1
><H3
CLASS="AUTHOR"
><A
NAME="AEN4"
>Luc de Louw</A
></H3
><DIV
CLASS="AFFILIATION"
><DIV
CLASS="ADDRESS"
><P
CLASS="ADDRESS"
>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<TT
CLASS="EMAIL"
>&#60;<A
HREF="mailto:luc at delouw.ch"
>luc at delouw.ch</A
>&#62;</TT
><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</P
></DIV
></DIV
><DIV
CLASS="REVHISTORY"
><TABLE
WIDTH="100%"
BORDER="0"
><TR
><TH
ALIGN="LEFT"
VALIGN="TOP"
COLSPAN="3"
><B
>Revision History</B
></TH
></TR
><TR
><TD
ALIGN="LEFT"
>Revision 1.9.18</TD
><TD
ALIGN="LEFT"
>2003-02-09</TD
><TD
ALIGN="LEFT"
></TD
></TR
><TR
><TD
ALIGN="LEFT"
COLSPAN="3"
>Added XML and Sablotron support to PHP, dropped support for mod_jserv, added mod_jk support, enhanced support for Tomcat,
updated software mentioned in the HOWTO, minor SGML enhancements</TD
></TR
><TR
><TD
ALIGN="LEFT"
>Revision 1.9.17</TD
><TD
ALIGN="LEFT"
>2002-10-16</TD
><TD
ALIGN="LEFT"
></TD
></TR
><TR
><TD
ALIGN="LEFT"
COLSPAN="3"
>Updated software mentioned in the HOWTO, Further SGML enhancements and cleanups like more metadata, callouts and others.</TD
></TR
><TR
><TD
ALIGN="LEFT"
>Revision 1.9.16</TD
><TD
ALIGN="LEFT"
>2002-07-04</TD
><TD
ALIGN="LEFT"
></TD
></TR
><TR
><TD
ALIGN="LEFT"
COLSPAN="3"
>Updated the software mentioned in the HOWTO, added LogFormat config for mod_gzip. Added gdbm to prerequisites.
Lot of SGML enhancements like more metadata, and a revised FAQ section.</TD
></TR
><TR
><TD
ALIGN="LEFT"
>Revision 1.9.15</TD
><TD
ALIGN="LEFT"
>2002-06-19</TD
><TD
ALIGN="LEFT"
></TD
></TR
><TR
><TD
ALIGN="LEFT"
COLSPAN="3"
>Updated to mod_ssl-2.8.9-1.3.26 and removed the temporary patch.</TD
></TR
><TR
><TD
ALIGN="LEFT"
>Revision 1.9.14</TD
><TD
ALIGN="LEFT"
>2002-06-19</TD
><TD
ALIGN="LEFT"
></TD
></TR
><TR
><TD
ALIGN="LEFT"
COLSPAN="3"
>Updated to Apache 1.3.26 to fix security-hole CERT CA-2002-17 it is strongly recommended that users should update
immediately, Added (temporary) patch to get mod_ssl 2.8.8 working with 1.3.26, Added --without-debug to MySQL configure</TD
></TR
><TR
><TD
ALIGN="LEFT"
>Revision 1.9.13</TD
><TD
ALIGN="LEFT"
>2002-06-15</TD
><TD
ALIGN="LEFT"
></TD
></TR
><TR
><TD
ALIGN="LEFT"
COLSPAN="3"
>updates of software mentioned in the HOWTO, added how to bind MySQL to a specific IP, some minor changes and corrections</TD
></TR
><TR
><TD
ALIGN="LEFT"
>Revision 1.9.12</TD
><TD
ALIGN="LEFT"
>2002-04-22</TD
><TD
ALIGN="LEFT"
></TD
></TR
><TR
><TD
ALIGN="LEFT"
COLSPAN="3"
>Added mod_gzip and mod_gunzip, Corrected some typos, updates of software mentioned in the HOWTO, separated the
additional modules into an own section.</TD
></TR
><TR
><TD
ALIGN="LEFT"
>Revision 1.9.11</TD
><TD
ALIGN="LEFT"
>2002-04-07</TD
><TD
ALIGN="LEFT"
></TD
></TR
><TR
><TD
ALIGN="LEFT"
COLSPAN="3"
>Corrected lots of typos (non-technical), updates of software mentioned in the HOWTO</TD
></TR
><TR
><TD
ALIGN="LEFT"
>Revision 1.9.11-pre1</TD
><TD
ALIGN="LEFT"
>2002-03-15</TD
><TD
ALIGN="LEFT"
></TD
></TR
><TR
><TD
ALIGN="LEFT"
COLSPAN="3"
>Corrected some grammar, updates of software mentioned in the HOWTO</TD
></TR
><TR
><TD
ALIGN="LEFT"
>Revision 1.9.10</TD
><TD
ALIGN="LEFT"
>2002-03-09</TD
><TD
ALIGN="LEFT"
></TD
></TR
><TR
><TD
ALIGN="LEFT"
COLSPAN="3"
>Corrected some grammar, updates of software mentioned in the HOWTO</TD
></TR
><TR
><TD
ALIGN="LEFT"
>Revision 1.9.9</TD
><TD
ALIGN="LEFT"
>2002-02-11</TD
><TD
ALIGN="LEFT"
></TD
></TR
><TR
><TD
ALIGN="LEFT"
COLSPAN="3"
>Fixed a major bug in openssl config, restructured the document, added sources for further informations</TD
></TR
><TR
><TD
ALIGN="LEFT"
>Revision 1.9.8</TD
><TD
ALIGN="LEFT"
>2002-02-08</TD
><TD
ALIGN="LEFT"
></TD
></TR
><TR
><TD
ALIGN="LEFT"
COLSPAN="3"
>Updates of software mentioned in the HOWTO, and fixed some bugs</TD
></TR
><TR
><TD
ALIGN="LEFT"
>Revision 1.9.7</TD
><TD
ALIGN="LEFT"
>2001-12-26</TD
><TD
ALIGN="LEFT"
></TD
></TR
><TR
><TD
ALIGN="LEFT"
COLSPAN="3"
>Updates of software mentioned in the HOWTO, tested the HOWTO
procedures on Linux running on IBM S/390 (zSeries)
Machines (See "platforms" for more info),
Added some basic support for Tomcat (Binaries only)</TD
></TR
><TR
><TD
ALIGN="LEFT"
>Revision 1.9.6</TD
><TD
ALIGN="LEFT"
>2001-10-27</TD
><TD
ALIGN="LEFT"
></TD
></TR
><TR
><TD
ALIGN="LEFT"
COLSPAN="3"
>Updates of software mentioned in the HOWTO, and fixed some bugs</TD
></TR
><TR
><TD
ALIGN="LEFT"
>Revision 1.9.5</TD
><TD
ALIGN="LEFT"
>2001-08-27</TD
><TD
ALIGN="LEFT"
></TD
></TR
><TR
><TD
ALIGN="LEFT"
COLSPAN="3"
>Yet another rewrite in DocBook 3.1</TD
></TR
><TR
><TD
ALIGN="LEFT"
>Revision 1.9.4</TD
><TD
ALIGN="LEFT"
>2001-08-26</TD
><TD
ALIGN="LEFT"
></TD
></TR
><TR
><TD
ALIGN="LEFT"
COLSPAN="3"
>Updated the Software-Versions mentioned in the document, corrected some typos</TD
></TR
><TR
><TD
ALIGN="LEFT"
>Revision 1.9.3</TD
><TD
ALIGN="LEFT"
>2001-06-23</TD
><TD
ALIGN="LEFT"
></TD
></TR
><TR
><TD
ALIGN="LEFT"
COLSPAN="3"
>Current Version 2.0.0-pre3 in Linux DocBook format</TD
></TR
><TR
><TD
ALIGN="LEFT"
>Revision 1.0.0</TD
><TD
ALIGN="LEFT"
>2000-08-05</TD
><TD
ALIGN="LEFT"
></TD
></TR
><TR
><TD
ALIGN="LEFT"
COLSPAN="3"
>First publication of the html-based document</TD
></TR
></TABLE
></DIV
><DIV
><DIV
CLASS="ABSTRACT"
><A
NAME="AEN83"
></A
><P
></P
><P
> This document describes howto compile the Apache Webserver with the most important
modules like mod_perl, mod_dav, mod_auth_ldap, mod_dynvhost, mod_roaming, mod_jserv, and mod_php
</P
><P
></P
></DIV
></DIV
><HR></DIV
><DIV
CLASS="TOC"
><DL
><DT
><B
>Table of Contents</B
></DT
><DT
>1. <A
HREF="intro.html"
>Introduction</A
></DT
><DD
><DL
><DT
>1.1. <A
HREF="intro.html#AEN95"
>Contributors and Contacts</A
></DT
><DT
>1.2. <A
HREF="intro.html#AEN99"
>Why I wrote this document</A
></DT
><DT
>1.3. <A
HREF="intro.html#AEN107"
>What this document is supposed to be</A
></DT
><DT
>1.4. <A
HREF="intro.html#AEN113"
>What this document doesn't do for you</A
></DT
><DT
>1.5. <A
HREF="intro.html#AEN116"
>Platforms</A
></DT
><DT
>1.6. <A
HREF="intro.html#COPYRIGHT"
>Copyright Information</A
></DT
><DT
>1.7. <A
HREF="intro.html#DISCLAIMER"
>Disclaimer</A
></DT
><DT
>1.8. <A
HREF="intro.html#NEWVERSIONS"
>New Versions</A
></DT
><DT
>1.9. <A
HREF="intro.html#CREDITS"
>Credits</A
></DT
><DT
>1.10. <A
HREF="intro.html#FEEDBACK"
>Feedback</A
></DT
><DT
>1.11. <A
HREF="intro.html#TRANSLATIONS"
>Translations</A
></DT
><DT
>1.12. <A
HREF="intro.html#AEN201"
>About the author</A
></DT
></DL
></DD
><DT
>2. <A
HREF="prereqs.html"
>Prerequisites</A
></DT
><DD
><DL
><DT
>2.1. <A
HREF="prereqs.html#AEN206"
>General</A
></DT
><DT
>2.2. <A
HREF="prereqs.html#AEN241"
>OpenSSL</A
></DT
><DT
>2.3. <A
HREF="prereqs.html#AEN267"
>GNU Database System</A
></DT
><DT
>2.4. <A
HREF="prereqs.html#AEN289"
>MySQL</A
></DT
><DT
>2.5. <A
HREF="prereqs.html#AEN335"
>Building mm</A
></DT
></DL
></DD
><DT
>3. <A
HREF="apache.html"
>Getting, build and install Apache with its basic modules</A
></DT
><DD
><DL
><DT
>3.1. <A
HREF="apache.html#AEN357"
>Get and untar the Apache Source</A
></DT
><DT
>3.2. <A
HREF="apache.html#AEN384"
>mod_ssl</A
></DT
><DT
>3.3. <A
HREF="apache.html#AEN410"
>mod_perl</A
></DT
><DT
>3.4. <A
HREF="apache.html#AEN430"
>Configure and build Apache</A
></DT
></DL
></DD
><DT
>4. <A
HREF="modules.html"
>Additional modules</A
></DT
><DD
><DL
><DT
>4.1. <A
HREF="modules.html#AEN446"
>mod_dav</A
></DT
><DT
>4.2. <A
HREF="modules.html#AEN471"
>auth_ldap</A
></DT
><DT
>4.3. <A
HREF="modules.html#AUTHMYSQL"
>mod_auth_mysql</A
></DT
><DT
>4.4. <A
HREF="modules.html#AEN533"
>mod_dynvhost</A
></DT
><DT
>4.5. <A
HREF="modules.html#AEN562"
>mod_roaming</A
></DT
></DL
></DD
><DT
>5. <A
HREF="compress.html"
>Compressed delivery</A
></DT
><DD
><DL
><DT
>5.1. <A
HREF="compress.html#AEN601"
>mod_gzip</A
></DT
><DT
>5.2. <A
HREF="compress.html#AEN623"
>mod_gunzip</A
></DT
></DL
></DD
><DT
>6. <A
HREF="php.html"
>mod_php and its prerequisites</A
></DT
><DD
><DL
><DT
>6.1. <A
HREF="php.html#AEN644"
>What is mod_php</A
></DT
><DT
>6.2. <A
HREF="php.html#AEN657"
>Prerequisites</A
></DT
><DT
>6.3. <A
HREF="php.html#BUILD-PHP"
>Building and installing PHP4</A
></DT
></DL
></DD
><DT
>7. <A
HREF="phpext.html"
>PHP extensions</A
></DT
><DD
><DL
><DT
>7.1. <A
HREF="phpext.html#AEN790"
>APC (Alternative PHP-cache)</A
></DT
><DT
>7.2. <A
HREF="phpext.html#AEN810"
>Zend-Optimizer (Do _NOT_ combine with APC-Cache!)</A
></DT
></DL
></DD
><DT
>8. <A
HREF="tomcat.html"
>Jakarta Tomcat</A
></DT
><DD
><DL
><DT
>8.1. <A
HREF="tomcat.html#AEN836"
>What is Tomcat</A
></DT
><DT
>8.2. <A
HREF="tomcat.html#AEN846"
>Prerequisites</A
></DT
><DT
>8.3. <A
HREF="tomcat.html#AEN867"
>Download the binaries</A
></DT
><DT
>8.4. <A
HREF="tomcat.html#MODJK"
>mod_jk</A
></DT
></DL
></DD
><DT
>9. <A
HREF="moreinfo.html"
>Further Information</A
></DT
><DD
><DL
><DT
>9.1. <A
HREF="moreinfo.html#NEWSGROUPS"
>News groups</A
></DT
><DT
>9.2. <A
HREF="moreinfo.html#MAILLISTS"
>Mailing Lists</A
></DT
><DT
>9.3. <A
HREF="moreinfo.html#HOWTO"
>HOWTO</A
></DT
><DT
>9.4. <A
HREF="moreinfo.html#LOCAL-RES"
>Local Resources</A
></DT
><DT
>9.5. <A
HREF="moreinfo.html#WEB"
>Web Sites</A
></DT
></DL
></DD
><DT
>10. <A
HREF="faq.html"
>Questions and Answers</A
></DT
></DL
></DIV
><DIV
CLASS="WARNING"
><P
></P
><TABLE
CLASS="WARNING"
WIDTH="100%"
BORDER="0"
><TR
><TD
WIDTH="25"
ALIGN="CENTER"
VALIGN="TOP"
><IMG
SRC="../images/warning.gif"
HSPACE="5"
ALT="Warning"></TD
><TH
ALIGN="LEFT"
VALIGN="CENTER"
><B
>Security hole in <SPAN
CLASS="APPLICATION"
>Apache</SPAN
> older than 1.3.26</B
></TH
></TR
><TR
><TD
>&nbsp;</TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
><P
>Do NOT use any <SPAN
CLASS="APPLICATION"
>Apache</SPAN
> version older than 1.3.26. See
<A
HREF="http://www.cert.org/advisories/CA-2002-17.html"
TARGET="_top"
>http://www.cert.org/advisories/CA-2002-17.html</A
>
for more information</P
></TD
></TR
></TABLE
></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"
>&nbsp;</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
>&nbsp;</TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="intro.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>&nbsp;</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
>&nbsp;</TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Introduction</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>