]> granicus.if.org Git - apache/blob - docs/manual/server-wide.html
Update the "bind" docs, remove the stuff from "server-wide.html" that
[apache] / docs / manual / server-wide.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
2 <HTML>
3 <HEAD>
4 <TITLE>Server-Wide Configuration</TITLE>
5 </HEAD>
6
7 <!-- Background white, links blue (unvisited), navy (visited), red (active) -->
8 <BODY
9  BGCOLOR="#FFFFFF"
10  TEXT="#000000"
11  LINK="#0000FF"
12  VLINK="#000080"
13  ALINK="#FF0000"
14 >
15 <!--#include virtual="header.html" -->
16 <h1 align="center">Server-Wide Configuration</h1>
17
18 <p>This document explains some of the directives provided by the
19 <a href="mod/core.html">core</A> server which are used to configure
20 the basic operations of the server.</p>
21
22 <ul>
23 <li><a href="#identification">Server Identification</a></li>
24 <li><a href="#locations">File Locations</a></li>
25 <li><a href="#resource">Limiting Resource Usage</a></li>
26 </ul>
27
28 <hr>
29
30 <h2><a name="identification">Server Identification</a></h2>
31
32 <table border="1">
33 <tr><td valign="top">
34 <strong>Related Directives</strong><br><br>
35
36 <A HREF="mod/core.html#servername">ServerName</A><br>
37 <A HREF="mod/core.html#serveradmin">ServerAdmin</A><br>
38 <A HREF="mod/core.html#serversignature">ServerSignature</A><br>
39 <A HREF="mod/core.html#servertokens">ServerTokens</A><br>
40 <A HREF="mod/core.html#usecanonicalname">UseCanonicalName</A><br>
41 </td></tr></table>
42
43 <p>The <code>ServerAdmin</code> and <code>ServerTokens</code>
44 directives control what information about the server will be presented
45 in server-generated documents such as error messages.
46 The <code>ServerTokens</code> directive sets the value of the 
47 Server HTTP response header field.</p>
48
49 <p>The <code>ServerName</code> and <code>UseCanonicalName</code>
50 directives are used by the server to determine how to construct
51 self-referential URLs.  For example, when a client requests a
52 directory, but does not include the trailing slash in the directory
53 name, Apache must redirect the client to the full name including the
54 trailing slash so that the client will correctly resolve relative
55 references in the document.</p>
56
57 <hr>
58
59 <h2><a name="locations">File Locations</a></h2>
60
61 <table border="1">
62 <tr><td valign="top">
63 <strong>Related Directives</strong><br><br>
64
65 <a href="mod/core.html#coredumpdirectory">CoreDumpDirectory</a><br>
66 <a href="mod/core.html#documentroot">DocumentRoot</a><br>
67 <a href="mod/core.html#errorlog">ErrorLog</a><br>
68 <a href="mod/core.html#lockfile">Lockfile</a><br>
69 <a href="mod/core.html#pidfile">PidFile</a><br>
70 <a href="mod/core.html#scoreboardfile">ScoreBoardFile</a><br>
71 <a href="mod/core.html#serverroot">ServerRoot</a><br>
72 </td></tr></table>
73
74 <p>These directives control the locations of the various files that
75 Apache needs for proper operation.  When the pathname used does not
76 begin with a slash "/", the files are located relative to the
77 <code>ServerRoot</code>.  Be careful about locating files in paths
78 which are writable by non-root users.  See the <a
79 href="misc/security_tips.html">security tips</a> documentation for
80 more details.</p>
81
82 <hr>
83 <h2><a name="resource">Limiting Resource Usage</a></h2>
84 <table border="1">
85 <tr><td valign="top">
86 <strong>Related Directives</strong><br><br>
87
88 <a href="mod/core.html#limitrequestbody">LimitRequestBody</a><br>
89 <a href="mod/core.html#limitrequestfields">LimitRequestFields</a><br>
90 <a href="mod/core.html#limitrequestfieldsize">LimitRequestFieldsize</a><br>
91 <a href="mod/core.html#limitrequestline">LimitRequestLine</a><br>
92 <a href="mod/core.html#rlimitcpu">RLimitCPU</a><br>
93 <a href="mod/core.html#rlimitmem">RLimitMEM</a><br>
94 <a href="mod/core.html#rlimitnproc">RLimitNPROC</a><br>
95 <a href="mod/core.html#threadstacksize">ThreadStackSize</a><br>
96 </td></tr></table>
97
98 <p>The <code>LimitRequest</code>* directives are used to place limits
99 on the amount of resources Apache will use in reading requests
100 from clients.  By limiting these values, some kinds of denial
101 of service attacks can be mitigated.</p>
102
103 <p>The <code>RLimit</code>* directives are used to limit the amount
104 of resources which can be used by processes forked off from
105 the Apache children.  In particular, this will control
106 resources used by CGI scripts and SSI exec commands.</p>
107
108 <p>The <code>ThreadStackSize</code> directive is used only
109 on Netware to control the stack size.</p>
110
111 <!--#include virtual="footer.html" -->
112 </BODY>
113 </HTML>