home *** CD-ROM | disk | FTP | other *** search
/ PC World 2003 November / PCWorld_2003-11_cd.bin / Komunik / apache / apache_2.0.47-win32-x86-no_ssl.msi / Data.Cab / F250679_serverwide.xml < prev    next >
Extensible Markup Language  |  2003-04-15  |  4KB  |  100 lines

  1. <?xml version='1.0' encoding='UTF-8' ?>
  2. <!DOCTYPE manualpage SYSTEM "./style/manualpage.dtd">
  3. <?xml-stylesheet type="text/xsl" href="./style/manual.en.xsl"?>
  4. <manualpage metafile="server-wide.xml.meta">
  5.  
  6.   <title>Server-Wide Configuration</title>
  7.  
  8. <summary>
  9. <p>This document explains some of the directives provided by
  10. the <module>core</module> server which are used to configure
  11. the basic operations of the server.</p>
  12. </summary>
  13.  
  14.   <section id="identification">
  15.     <title>Server Identification</title>
  16.  
  17.     <related>
  18.       <directivelist>
  19.         <directive module="core">ServerName</directive>
  20.         <directive module="core">ServerAdmin</directive>
  21.         <directive module="core">ServerSignature</directive>
  22.         <directive module="core">ServerTokens</directive>
  23.         <directive module="core">UseCanonicalName</directive>
  24.       </directivelist>
  25.     </related>
  26.  
  27.     <p>The <directive module="core">ServerAdmin</directive> and
  28.     <directive module="core">ServerTokens</directive> directives
  29.     control what information about the server will be presented
  30.     in server-generated documents such as error messages. The
  31.     <directive module="core">ServerTokens</directive> directive
  32.     sets the value of the Server HTTP response header field.</p>
  33.  
  34.     <p>The <directive module="core">ServerName</directive> and
  35.     <directive module="core">UseCanonicalName</directive>
  36.     directives are used by the server to determine how to construct
  37.     self-referential URLs. For example, when a client requests a
  38.     directory, but does not include the trailing slash in the
  39.     directory name, Apache must redirect the client to the full
  40.     name including the trailing slash so that the client will
  41.     correctly resolve relative references in the document.</p>
  42.   </section>
  43.  
  44.   <section id="locations">
  45.     <title>File Locations</title>
  46.  
  47.     <related>
  48.       <directivelist>
  49.         <directive module="mpm_common">CoreDumpDirectory</directive>
  50.         <directive module="core">DocumentRoot</directive>
  51.         <directive module="core">ErrorLog</directive>
  52.         <directive module="mpm_common">LockFile</directive>
  53.         <directive module="mpm_common">PidFile</directive>
  54.         <directive module="mpm_common">ScoreBoardFile</directive>
  55.         <directive module="core">ServerRoot</directive>
  56.       </directivelist>
  57.     </related>
  58.  
  59.     <p>These directives control the locations of the various files
  60.     that Apache needs for proper operation. When the pathname used
  61.     does not begin with a slash (/), the files are located relative
  62.     to the <directive module="core">ServerRoot</directive>. Be careful
  63.     about locating files in paths which are writable by non-root users.
  64.     See the <a href="misc/security_tips.html#serverroot">security tips</a>
  65.     documentation for more details.</p>
  66.   </section>
  67.  
  68.   <section id="resource">
  69.     <title>Limiting Resource Usage</title>
  70.  
  71.     <related>
  72.       <directivelist>
  73.         <directive module="core">LimitRequestBody</directive>
  74.         <directive module="core">LimitRequestFields</directive>
  75.         <directive module="core">LimitRequestFieldsize</directive>
  76.         <directive module="core">LimitRequestLine</directive>
  77.         <directive module="core">RLimitCPU</directive>
  78.         <directive module="core">RLimitMEM</directive>
  79.         <directive module="core">RLimitNPROC</directive>
  80.         <directive module="mpm_netware">ThreadStackSize</directive>
  81.       </directivelist>
  82.     </related>
  83.  
  84.     <p>The <directive>LimitRequest</directive>*
  85.     directives are used to place limits on the amount of resources
  86.     Apache will use in reading requests from clients. By limiting
  87.     these values, some kinds of denial of service attacks can be
  88.     mitigated.</p>
  89.  
  90.     <p>The <directive>RLimit</directive>* directives
  91.     are used to limit the amount of resources which can be used by
  92.     processes forked off from the Apache children. In particular,
  93.     this will control resources used by CGI scripts and SSI exec
  94.     commands.</p>
  95.  
  96.     <p>The <directive module="mpm_netware">ThreadStackSize</directive> directive
  97.     is used only on Netware to control the stack size.</p>
  98.   </section>
  99. </manualpage>
  100.