glfs/content/web/apache/apache-config.xml
Tushar Teredesai fe88f5841a Completed lfs-bootscripts changes
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1942 af4574ff-66df-0310-9fd7-8a98e5e911e0
2004-03-28 07:14:54 +00:00

32 lines
1.0 KiB
XML

<sect2>
<title>Configuring <application>Apache</application></title>
<sect3>
<title>Config files</title>
<para><filename>/etc/apache/*</filename></para>
</sect3>
<sect3><title>Configuration Information</title>
<para>The main configuration file is called
<filename>httpd.conf</filename>. Modify it to run the server as a
dedicated user:</para>
<screen><userinput><command>sed -i -e "s%User nobody%User apache%" -e "s%^Group #-1%Group apache%" /etc/apache/httpd.conf</command></userinput></screen>
<para>See
<ulink url="http://httpd.apache.org/docs-2.0/configuring.html"/> for
detailed instructions on customizing your Apache <acronym>HTTP</acronym>
server.</para>
<para>Install <filename>/etc/rc.d/init.d/apache</filename>
init script included in the <xref linkend="intro-important-bootscripts"/> package.</para>
<screen><userinput><command>make install-apache</command></userinput></screen>
</sect3>
</sect2>