Changeset 1259e0e8 for server/major


Ignore:
Timestamp:
12/15/2005 03:05:36 AM (18 years ago)
Author:
Randy McMurchy <randy@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
4d3d94a2
Parents:
39b02ba
Message:

Updated to Apache HTTP Server-2.2.0

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@5427 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • server/major/apache.xml

    r39b02ba r1259e0e8  
    77  <!ENTITY apache-download-http "http://www.apache.org/dist/httpd/httpd-&apache-version;.tar.bz2">
    88  <!ENTITY apache-download-ftp  "ftp://ftp.tux.org/pub/net/apache/dist/httpd/httpd-&apache-version;.tar.bz2">
    9   <!ENTITY apache-md5sum        "f1b5b65c8661db9ffe38b5a4a865a0e2">
    10   <!ENTITY apache-size          "4.6 MB">
    11   <!ENTITY apache-buildsize     "91.6 MB">
    12   <!ENTITY apache-time          "1.7 SBU">
     9  <!ENTITY apache-md5sum        "402b90a2e47205f94b3b1d91e1a8c459">
     10  <!ENTITY apache-size          "4.8 MB">
     11  <!ENTITY apache-buildsize     "91.5 MB">
     12  <!ENTITY apache-time          "2.1 SBU">
    1313]>
    1414
     
    7171
    7272    <bridgehead renderas="sect4">Optional</bridgehead>
    73     <para role="optional"><xref linkend="db"/> or <xref linkend="gdbm"/>,
     73    <para role="optional"><xref linkend="db"/>,
     74    <xref linkend="gdbm"/>,
    7475    <xref linkend="openssl"/>,
    7576    <xref linkend="openldap"/>,
     77    <xref linkend="postgresql"/>,
     78    <ulink url="http://sqlite.org/">SQLite</ulink>,
     79    <xref linkend="pcre"/>,
     80    <xref linkend="pkgconfig"/>,
    7681    <xref linkend="expat"/> and
    77     <xref linkend="doxygen"/></para>
     82    <ulink url="http://www.distcache.org/">distcache</ulink></para>
    7883
    7984  </sect2>
     
    8489    <para>For security reasons, running the server as an unprivileged user and
    8590    group is strongly encouraged. Create the following group and user using the
    86     following commands (as <systemitem class="username">root</systemitem>):</para>
     91    following commands
     92    (as <systemitem class="username">root</systemitem>):</para>
    8793
    8894<screen role="root"><userinput>groupadd -g 25 apache &amp;&amp;
     
    9096        -s /bin/false -u 25 apache</userinput></screen>
    9197
    92     <para>The following patch will define the layout of destination
    93     directories and, among them, the build directory at
     98    <para>The following patch modifies the layout of destination
     99    directories and among them, the build directory at
    94100    <filename class="directory">/usr/lib/apache/build</filename>. This
    95101    will allow the modules added to <application>Apache</application>
     
    102108      <command>./configure --help</command> and include whatever parameters
    103109      are necessary to the <command>configure</command> command below to build
    104       the modules required for your installation.</para>
     110      the modules required for your installation. There are as many as 62
     111      additional parameters you can add to the <command>configure</command>
     112      command to build additional modules. Some of the extra parameters which
     113      aren't described or mentioned in the <parameter>--help</parameter>
     114      information are listed in the <quote>Command Explanations</quote> section
     115      below.</para>
    105116    </note>
    106117
     
    116127
    117128<screen role="root"><userinput>make install &amp;&amp;
    118 chown -v root:root \
    119     /usr/sbin/{apxs,apachectl,dbmmanage,envvars-std,envvars} \
    120     /usr/include/apache/* /usr/lib/apache/httpd.exp \
    121     /usr/share/man/man1/{dbmmanage,htdigest,htpasswd}.1 \
    122     /usr/share/man/man8/{ab,apachectl,apxs,httpd}.8 \
     129chown -v root:root /usr/lib/apache/httpd.exp \
     130    /usr/sbin/{apxs,apachectl,dbmmanage,envvars{,-std}} \
     131    /usr/share/man/man1/{dbmmanage,ht{dbm,digest,passwd}}.1 \
     132    /usr/share/man/man8/{ab,apachectl,apxs,htcacheclean,httpd}.8 \
    123133    /usr/share/man/man8/{logresolve,rotatelogs,suexec}.8 &amp;&amp;
    124134chown -v -R apache:apache /srv/www</userinput></screen>
     
    129139    <title>Command Explanations</title>
    130140
    131     <para><option>--with-expat=/usr</option>: Uses system installed
     141    <para><option>--with-expat=/usr</option>: Uses the system installed
    132142    <application>expat</application>. <emphasis>If you have installed
    133143    <application>expat</application> and do not use this switch, the
     
    140150    server using the run-time configuration directives.</para>
    141151
    142     <para><option>--enable-ssl</option>: Use this switch
     152    <para><option>--enable-ssl</option>: Use this parameter
    143153    to create the <filename class="libraryfile">mod_ssl</filename>
    144     module and enable SSL support.</para>
     154    module and enable SSL support. This parameter is mentioned as one of many
     155    parameters which can be passed to the <command>configure</command> command
     156    to create additional DSO modules.</para>
     157
     158    <para><option>--with-pcre</option>: Add this parameter to use the system
     159    installed version of the <application>PCRE</application> library.</para>
     160
     161    <para><option>--with-z</option>: Add this parameter to use the system
     162    installed version of the <application>Zlib</application> library.</para>
     163
     164    <para><option>--with-ldap</option>: This parameter is required if you
     165    passed the <option>--enable-authnz-ldap</option> or
     166    <option>--enable-ldap</option> options to <command>configure</command>
     167    and enabled the <application>OpenLDAP</application> modules.</para>
    145168
    146169    <para><command>chown root:root ...</command>: This command changes the
     
    180203      <title>Configuration Information</title>
    181204
    182       <para>The main configuration file is named <filename>httpd.conf</filename>.
    183       Modify it to run the server as a dedicated user:</para>
    184 
    185 <screen role="root"><userinput>sed -i -e "s%User nobody%User apache%" \
    186        -e "s%^Group #-1%Group apache%" \
     205      <para>The main configuration file is named
     206      <filename>/etc/apache/httpd.conf</filename>. Modify it so that the HTTP
     207      server runs as the dedicated user and group:</para>
     208
     209<screen role="root"><userinput>
     210sed -i -e "s/User daemon/User apache/" \
     211       -e "s/Group daemon/Group apache/" \
    187212    /etc/apache/httpd.conf</userinput></screen>
    188213
    189       <para>See <ulink url="http://httpd.apache.org/docs-2.0/configuring.html"/>
     214      <para>See <ulink url="http://httpd.apache.org/docs-2.2/configuring.html"/>
    190215      for detailed instructions on customizing your
    191       <application>Apache</application> HTTP server.</para>
     216      <application>Apache</application> HTTP server configuration file.</para>
    192217
    193218      <para>There's a problem with the ISAPI DSO module caused from compiling
    194       with <application>GCC</application>-&gcc-version;. Comment out the module
    195       from the configuration file with the following command:</para>
    196 
    197 <screen role="root"><userinput>sed -i -e "s/^LoadModule isapi_module/# &amp;/" \
     219      with <application>GCC</application>-&gcc-version;. If you included the
     220      parameter to build the module, comment out the module's load command
     221      in the configuration file with the following command:</para>
     222
     223<screen role="root"><userinput>sed -i "s/^LoadModule isapi_module/# &amp;/" \
    198224    /etc/apache/httpd.conf</userinput></screen>
    199225
     
    230256        htdbm, htdigest, htpasswd, httpd, instdso.sh, logresolve, and
    231257        rotatelogs</seg>
    232         <seg>libapr-0.[so,a], libaprutil-0.[so,a], and /usr/lib/apache/*.so</seg>
     258        <seg>libapr-1.[so,a], libaprutil-1.[so,a], and /usr/lib/apache/*.so</seg>
    233259        <seg>/etc/apache, /srv/www, /usr/include/apache, /usr/lib/apache, and
    234260        /var/log/apache</seg>
Note: See TracChangeset for help on using the changeset viewer.