glfs/content/web/apache/apache-config.xml

32 lines
1.0 KiB
XML
Raw Normal View History

<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>