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