- Timestamp:
- 12/15/2005 03:05:36 AM (18 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
server/major/apache.xml
r39b02ba r1259e0e 7 7 <!ENTITY apache-download-http "http://www.apache.org/dist/httpd/httpd-&apache-version;.tar.bz2"> 8 8 <!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. 6MB">11 <!ENTITY apache-buildsize "91. 6MB">12 <!ENTITY apache-time " 1.7SBU">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"> 13 13 ]> 14 14 … … 71 71 72 72 <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"/>, 74 75 <xref linkend="openssl"/>, 75 76 <xref linkend="openldap"/>, 77 <xref linkend="postgresql"/>, 78 <ulink url="http://sqlite.org/">SQLite</ulink>, 79 <xref linkend="pcre"/>, 80 <xref linkend="pkgconfig"/>, 76 81 <xref linkend="expat"/> and 77 < xref linkend="doxygen"/></para>82 <ulink url="http://www.distcache.org/">distcache</ulink></para> 78 83 79 84 </sect2> … … 84 89 <para>For security reasons, running the server as an unprivileged user and 85 90 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> 87 93 88 94 <screen role="root"><userinput>groupadd -g 25 apache && … … 90 96 -s /bin/false -u 25 apache</userinput></screen> 91 97 92 <para>The following patch will definethe layout of destination93 directories and ,among them, the build directory at98 <para>The following patch modifies the layout of destination 99 directories and among them, the build directory at 94 100 <filename class="directory">/usr/lib/apache/build</filename>. This 95 101 will allow the modules added to <application>Apache</application> … … 102 108 <command>./configure --help</command> and include whatever parameters 103 109 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> 105 116 </note> 106 117 … … 116 127 117 128 <screen role="root"><userinput>make install && 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 \ 129 chown -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 \ 123 133 /usr/share/man/man8/{logresolve,rotatelogs,suexec}.8 && 124 134 chown -v -R apache:apache /srv/www</userinput></screen> … … 129 139 <title>Command Explanations</title> 130 140 131 <para><option>--with-expat=/usr</option>: Uses system installed141 <para><option>--with-expat=/usr</option>: Uses the system installed 132 142 <application>expat</application>. <emphasis>If you have installed 133 143 <application>expat</application> and do not use this switch, the … … 140 150 server using the run-time configuration directives.</para> 141 151 142 <para><option>--enable-ssl</option>: Use this switch152 <para><option>--enable-ssl</option>: Use this parameter 143 153 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> 145 168 146 169 <para><command>chown root:root ...</command>: This command changes the … … 180 203 <title>Configuration Information</title> 181 204 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> 210 sed -i -e "s/User daemon/User apache/" \ 211 -e "s/Group daemon/Group apache/" \ 187 212 /etc/apache/httpd.conf</userinput></screen> 188 213 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"/> 190 215 for detailed instructions on customizing your 191 <application>Apache</application> HTTP server .</para>216 <application>Apache</application> HTTP server configuration file.</para> 192 217 193 218 <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/# &/" \ 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/# &/" \ 198 224 /etc/apache/httpd.conf</userinput></screen> 199 225 … … 230 256 htdbm, htdigest, htpasswd, httpd, instdso.sh, logresolve, and 231 257 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> 233 259 <seg>/etc/apache, /srv/www, /usr/include/apache, /usr/lib/apache, and 234 260 /var/log/apache</seg>
Note:
See TracChangeset
for help on using the changeset viewer.