server-wide.html.en revision 57d0156f7bbd9ea3a72342cf9912aba61d118702
57d0156f7bbd9ea3a72342cf9912aba61d118702rbowen<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
57d0156f7bbd9ea3a72342cf9912aba61d118702rbowen "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
57d0156f7bbd9ea3a72342cf9912aba61d118702rbowen <meta name="generator" content="HTML Tidy, see www.w3.org" />
57d0156f7bbd9ea3a72342cf9912aba61d118702rbowen <!-- Background white, links blue (unvisited), navy (visited), red (active) -->
57d0156f7bbd9ea3a72342cf9912aba61d118702rbowen <body bgcolor="#FFFFFF" text="#000000" link="#0000FF"
57d0156f7bbd9ea3a72342cf9912aba61d118702rbowen <!--#include virtual="header.html" -->
57d0156f7bbd9ea3a72342cf9912aba61d118702rbowen <p>This document explains some of the directives provided by
57d0156f7bbd9ea3a72342cf9912aba61d118702rbowen the <a href="mod/core.html">core</a> server which are used to
57d0156f7bbd9ea3a72342cf9912aba61d118702rbowen configure the basic operations of the server.</p>
57d0156f7bbd9ea3a72342cf9912aba61d118702rbowen <li><a href="#identification">Server Identification</a></li>
57d0156f7bbd9ea3a72342cf9912aba61d118702rbowen <li><a href="#resource">Limiting Resource Usage</a></li>
57d0156f7bbd9ea3a72342cf9912aba61d118702rbowen <h2><a id="identification" name="identification">Server
57d0156f7bbd9ea3a72342cf9912aba61d118702rbowen <td valign="top"><strong>Related Directives</strong><br />
57d0156f7bbd9ea3a72342cf9912aba61d118702rbowen <a href="mod/core.html#servername">ServerName</a><br />
57d0156f7bbd9ea3a72342cf9912aba61d118702rbowen <a href="mod/core.html#serveradmin">ServerAdmin</a><br />
57d0156f7bbd9ea3a72342cf9912aba61d118702rbowen href="mod/core.html#serversignature">ServerSignature</a><br />
57d0156f7bbd9ea3a72342cf9912aba61d118702rbowen href="mod/core.html#servertokens">ServerTokens</a><br />
57d0156f7bbd9ea3a72342cf9912aba61d118702rbowen href="mod/core.html#usecanonicalname">UseCanonicalName</a><br />
57d0156f7bbd9ea3a72342cf9912aba61d118702rbowen <p>The <code>ServerAdmin</code> and <code>ServerTokens</code>
57d0156f7bbd9ea3a72342cf9912aba61d118702rbowen directives control what information about the server will be
57d0156f7bbd9ea3a72342cf9912aba61d118702rbowen presented in server-generated documents such as error messages.
57d0156f7bbd9ea3a72342cf9912aba61d118702rbowen The <code>ServerTokens</code> directive sets the value of the
57d0156f7bbd9ea3a72342cf9912aba61d118702rbowen Server HTTP response header field.</p>
57d0156f7bbd9ea3a72342cf9912aba61d118702rbowen <code>UseCanonicalName</code> directives are used by the server
57d0156f7bbd9ea3a72342cf9912aba61d118702rbowen to determine how to construct self-referential URLs. For
57d0156f7bbd9ea3a72342cf9912aba61d118702rbowen example, when a client requests a directory, but does not
57d0156f7bbd9ea3a72342cf9912aba61d118702rbowen include the trailing slash in the directory name, Apache must
57d0156f7bbd9ea3a72342cf9912aba61d118702rbowen redirect the client to the full name including the trailing
57d0156f7bbd9ea3a72342cf9912aba61d118702rbowen slash so that the client will correctly resolve relative
57d0156f7bbd9ea3a72342cf9912aba61d118702rbowen references in the document.</p>
57d0156f7bbd9ea3a72342cf9912aba61d118702rbowen <h2><a id="locations" name="locations">File Locations</a></h2>
57d0156f7bbd9ea3a72342cf9912aba61d118702rbowen <td valign="top"><strong>Related Directives</strong><br />
57d0156f7bbd9ea3a72342cf9912aba61d118702rbowen href="mod/core.html#coredumpdirectory">CoreDumpDirectory</a><br />
57d0156f7bbd9ea3a72342cf9912aba61d118702rbowen href="mod/core.html#documentroot">DocumentRoot</a><br />
57d0156f7bbd9ea3a72342cf9912aba61d118702rbowen href="mod/core.html#scoreboardfile">ScoreBoardFile</a><br />
57d0156f7bbd9ea3a72342cf9912aba61d118702rbowen <a href="mod/core.html#serverroot">ServerRoot</a><br />
57d0156f7bbd9ea3a72342cf9912aba61d118702rbowen <p>These directives control the locations of the various files
57d0156f7bbd9ea3a72342cf9912aba61d118702rbowen that Apache needs for proper operation. When the pathname used
57d0156f7bbd9ea3a72342cf9912aba61d118702rbowen does not begin with a slash "/", the files are located relative
57d0156f7bbd9ea3a72342cf9912aba61d118702rbowen to the <code>ServerRoot</code>. Be careful about locating files
57d0156f7bbd9ea3a72342cf9912aba61d118702rbowen in paths which are writable by non-root users. See the <a
57d0156f7bbd9ea3a72342cf9912aba61d118702rbowen href="misc/security_tips.html">security tips</a> documentation
57d0156f7bbd9ea3a72342cf9912aba61d118702rbowen for more details.</p>
57d0156f7bbd9ea3a72342cf9912aba61d118702rbowen <h2><a id="resource" name="resource">Limiting Resource
57d0156f7bbd9ea3a72342cf9912aba61d118702rbowen <td valign="top"><strong>Related Directives</strong><br />
57d0156f7bbd9ea3a72342cf9912aba61d118702rbowen href="mod/core.html#limitrequestbody">LimitRequestBody</a><br />
57d0156f7bbd9ea3a72342cf9912aba61d118702rbowen href="mod/core.html#limitrequestfields">LimitRequestFields</a><br />
57d0156f7bbd9ea3a72342cf9912aba61d118702rbowen href="mod/core.html#limitrequestfieldsize">LimitRequestFieldsize</a><br />
57d0156f7bbd9ea3a72342cf9912aba61d118702rbowen href="mod/core.html#limitrequestline">LimitRequestLine</a><br />
57d0156f7bbd9ea3a72342cf9912aba61d118702rbowen <a href="mod/core.html#rlimitcpu">RLimitCPU</a><br />
57d0156f7bbd9ea3a72342cf9912aba61d118702rbowen <a href="mod/core.html#rlimitmem">RLimitMEM</a><br />
57d0156f7bbd9ea3a72342cf9912aba61d118702rbowen <a href="mod/core.html#rlimitnproc">RLimitNPROC</a><br />
57d0156f7bbd9ea3a72342cf9912aba61d118702rbowen href="mod/core.html#threadstacksize">ThreadStackSize</a><br />
57d0156f7bbd9ea3a72342cf9912aba61d118702rbowen <p>The <code>LimitRequest</code>* directives are used to place
57d0156f7bbd9ea3a72342cf9912aba61d118702rbowen limits on the amount of resources Apache will use in reading
57d0156f7bbd9ea3a72342cf9912aba61d118702rbowen requests from clients. By limiting these values, some kinds of
57d0156f7bbd9ea3a72342cf9912aba61d118702rbowen denial of service attacks can be mitigated.</p>
57d0156f7bbd9ea3a72342cf9912aba61d118702rbowen <p>The <code>RLimit</code>* directives are used to limit the
57d0156f7bbd9ea3a72342cf9912aba61d118702rbowen amount of resources which can be used by processes forked off
57d0156f7bbd9ea3a72342cf9912aba61d118702rbowen from the Apache children. In particular, this will control
57d0156f7bbd9ea3a72342cf9912aba61d118702rbowen resources used by CGI scripts and SSI exec commands.</p>
57d0156f7bbd9ea3a72342cf9912aba61d118702rbowen <p>The <code>ThreadStackSize</code> directive is used only on
57d0156f7bbd9ea3a72342cf9912aba61d118702rbowen Netware to control the stack size.</p>
57d0156f7bbd9ea3a72342cf9912aba61d118702rbowen <!--#include virtual="footer.html" -->