home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 November / CMCD1104.ISO / Software / Complet / Apache / apache_2.0.52-win32-x86-no_ssl.msi / Data.Cab / F277994_mod_auth_digest.html.en < prev    next >
Extensible Markup Language  |  2004-09-22  |  23KB  |  355 lines

  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><!--
  4.         XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  5.               This file is generated from xml source: DO NOT EDIT
  6.         XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  7.       -->
  8. <title>mod_auth_digest - Apache HTTP Server</title>
  9. <link href="../style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" />
  10. <link href="../style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" />
  11. <link href="../style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" />
  12. <link href="../images/favicon.ico" rel="shortcut icon" /></head>
  13. <body>
  14. <div id="page-header">
  15. <p class="menu"><a href="../mod/">Modules</a> | <a href="../mod/directives.html">Directives</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">Glossary</a> | <a href="../sitemap.html">Sitemap</a></p>
  16. <p class="apache">Apache HTTP Server Version 2.0</p>
  17. <img alt="" src="../images/feather.gif" /></div>
  18. <div class="up"><a href="./"><img title="<-" alt="<-" src="../images/left.gif" /></a></div>
  19. <div id="path">
  20. <a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Server</a> > <a href="http://httpd.apache.org/docs-project/">Documentation</a> > <a href="../">Version 2.0</a> > <a href="./">Modules</a></div>
  21. <div id="page-content">
  22. <div id="preamble"><h1>Apache Module mod_auth_digest</h1>
  23. <div class="toplang">
  24. <p><span>Available Languages: </span><a href="../en/mod/mod_auth_digest.html" title="English"> en </a> |
  25. <a href="../ko/mod/mod_auth_digest.html" hreflang="ko" rel="alternate" title="Korean"> ko </a></p>
  26. </div>
  27. <table class="module"><tr><th><a href="module-dict.html#Description">Description:</a></th><td>User authentication using MD5
  28.     Digest Authentication.</td></tr>
  29. <tr><th><a href="module-dict.html#Status">Status:</a></th><td>Experimental</td></tr>
  30. <tr><th><a href="module-dict.html#ModuleIdentifier">ModuleáIdentifier:</a></th><td>auth_digest_module</td></tr>
  31. <tr><th><a href="module-dict.html#SourceFile">SourceáFile:</a></th><td>mod_auth_digest.c</td></tr></table>
  32. <h3>Summary</h3>
  33.  
  34.     <p>This module implements HTTP Digest Authentication. However, it
  35.     has not been extensively tested and is therefore marked
  36.     experimental.</p>
  37. </div>
  38. <div id="quickview"><h3 class="directives">Directives</h3>
  39. <ul id="toc">
  40. <li><img alt="" src="../images/down.gif" /> <a href="#authdigestalgorithm">AuthDigestAlgorithm</a></li>
  41. <li><img alt="" src="../images/down.gif" /> <a href="#authdigestdomain">AuthDigestDomain</a></li>
  42. <li><img alt="" src="../images/down.gif" /> <a href="#authdigestfile">AuthDigestFile</a></li>
  43. <li><img alt="" src="../images/down.gif" /> <a href="#authdigestgroupfile">AuthDigestGroupFile</a></li>
  44. <li><img alt="" src="../images/down.gif" /> <a href="#authdigestnccheck">AuthDigestNcCheck</a></li>
  45. <li><img alt="" src="../images/down.gif" /> <a href="#authdigestnonceformat">AuthDigestNonceFormat</a></li>
  46. <li><img alt="" src="../images/down.gif" /> <a href="#authdigestnoncelifetime">AuthDigestNonceLifetime</a></li>
  47. <li><img alt="" src="../images/down.gif" /> <a href="#authdigestqop">AuthDigestQop</a></li>
  48. <li><img alt="" src="../images/down.gif" /> <a href="#authdigestshmemsize">AuthDigestShmemSize</a></li>
  49. </ul>
  50. <h3>Topics</h3>
  51. <ul id="topics">
  52. <li><img alt="" src="../images/down.gif" /> <a href="#using">Using Digest Authentication</a></li>
  53. <li><img alt="" src="../images/down.gif" /> <a href="#msie">Working with MS Internet Explorer</a></li>
  54. </ul><h3>See also</h3>
  55. <ul class="seealso">
  56. <li><code class="directive"><a href="../mod/core.html#authname">AuthName</a></code></li>
  57. <li><code class="directive"><a href="../mod/core.html#authtype">AuthType</a></code></li>
  58. <li><code class="directive"><a href="../mod/core.html#require">Require</a></code></li>
  59. <li><code class="directive"><a href="../mod/core.html#satisfy">Satisfy</a></code></li>
  60. </ul></div>
  61. <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
  62. <div class="section">
  63. <h2><a name="using" id="using">Using Digest Authentication</a></h2>
  64.  
  65.     <p>Using MD5 Digest authentication is very simple. Simply set
  66.     up authentication normally, using <code>AuthType Digest</code> and
  67.     <code class="directive"><a href="#authdigestfile">AuthDigestFile</a></code> instead
  68.     of the normal <code>AuthType Basic</code> and <code class="directive"><a href="../mod/mod_auth.html#authuserfile">AuthUserFile</a></code>; also, replace any <code class="directive"><a href="../mod/mod_auth.html#authgroupfile">AuthGroupFile</a></code> with <code class="directive"><a href="#authdigestgroupfile">AuthDigestGroupFile</a></code>. Then add a
  69.     <code class="directive"><a href="#authdigestdomain">AuthDigestDomain</a></code> directive
  70.     containing at least the root URI(s) for this protection space.</p>
  71.  
  72.     <p>Appropriate user (text) files can be created using the
  73.     <a href="../programs/htdigest.html">htdigest</a> tool.</p>
  74.  
  75.     <div class="example"><h3>Example:</h3><p><code>
  76.       <Location /private/><br />
  77.       <span class="indent">
  78.         AuthType Digest<br />
  79.         AuthName "private area"<br />
  80.         AuthDigestDomain /private/ http://mirror.my.dom/private2/<br />
  81.         AuthDigestFile /web/auth/.digest_pw<br />
  82.         Require valid-user<br />
  83.       </span>
  84.       </Location>
  85.     </code></p></div>
  86.  
  87.     <div class="note"><h3>Note</h3> 
  88.     <p>Digest authentication provides a more secure password system
  89.     than Basic authentication, but only works with supporting
  90.     browsers. As of November 2002, the major browsers that support digest
  91.     authentication are <a href="http://www.opera.com/">Opera</a>, <a href="http://www.microsoft.com/windows/ie/">MS Internet
  92.     Explorer</a> (fails when used with a query string - see "<a href="#msie">Working with MS Internet Explorer</a>" below for a workaround), <a href="http://www.w3.org/Amaya/">Amaya</a>, <a href="http://www.mozilla.org">Mozilla</a> and <a href="http://channels.netscape.com/ns/browsers/download.jsp">Netscape</a> since version 7. Since digest authentication is not
  93.     as widely implemented as basic authentication, you should use it only
  94.     in controlled environments.</p>
  95.     </div>
  96. </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
  97. <div class="section">
  98. <h2><a name="msie" id="msie">Working with MS Internet Explorer</a></h2>
  99.     <p>The Digest authentication implementation in current Internet
  100.     Explorer implementations has known issues, namely that <code>GET</code>
  101.     requests with a query string are not RFC compliant.  There are a
  102.     few ways to work around this issue.</p>
  103.  
  104.     <p>
  105.     The first way is to use <code>POST</code> requests instead of
  106.     <code>GET</code> requests to pass data to your program.  This method
  107.     is the simplest approach if your application can work with this
  108.     limitation.
  109.     </p>
  110.  
  111.     <p>Since version 2.0.51 Apache also provides a workaround in the
  112.     <code>AuthDigestEnableQueryStringHack</code> environment variable.
  113.     If <code>AuthDigestEnableQueryStringHack</code> is set for the
  114.     request, Apache will take steps to work around the MSIE bug and
  115.     remove the request URI from the digest comparison.  Using this
  116.     method would look similar to the following.</p>
  117.  
  118.     <div class="example"><h3>Using Digest Authentication with MSIE:</h3><p><code>
  119.     BrowserMatch "MSIE" AuthDigestEnableQueryStringHack=On
  120.     </code></p></div>
  121.  
  122.     <p>See the <code class="directive"><a href="../mod/mod_setenvif.html#browsermatch">BrowserMatch</a></code>
  123.     directive for more details on conditionally setting environment
  124.     variables</p>
  125. </div>
  126. <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
  127. <div class="directive-section"><h2><a name="AuthDigestAlgorithm" id="AuthDigestAlgorithm">AuthDigestAlgorithm</a> <a name="authdigestalgorithm" id="authdigestalgorithm">Directive</a></h2>
  128. <table class="directive">
  129. <tr><th><a href="directive-dict.html#Description">Description:</a></th><td>Selects the algorithm used to calculate the challenge and
  130. response hases in digest authentication</td></tr>
  131. <tr><th><a href="directive-dict.html#Syntax">Syntax:</a></th><td><code>AuthDigestAlgorithm MD5|MD5-sess</code></td></tr>
  132. <tr><th><a href="directive-dict.html#Default">Default:</a></th><td><code>AuthDigestAlgorithm MD5</code></td></tr>
  133. <tr><th><a href="directive-dict.html#Context">Context:</a></th><td>directory, .htaccess</td></tr>
  134. <tr><th><a href="directive-dict.html#Override">Override:</a></th><td>AuthConfig</td></tr>
  135. <tr><th><a href="directive-dict.html#Status">Status:</a></th><td>Experimental</td></tr>
  136. <tr><th><a href="directive-dict.html#Module">Module:</a></th><td>mod_auth_digest</td></tr>
  137. </table>
  138.     <p>The <code class="directive">AuthDigestAlgorithm</code> directive
  139.     selects the algorithm used to calculate the challenge and response
  140.     hashes.</p>
  141.  
  142.     <div class="note">
  143.       <code>MD5-sess</code> is not correctly implemented yet.
  144.     </div>
  145.     
  146.  
  147. </div>
  148. <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
  149. <div class="directive-section"><h2><a name="AuthDigestDomain" id="AuthDigestDomain">AuthDigestDomain</a> <a name="authdigestdomain" id="authdigestdomain">Directive</a></h2>
  150. <table class="directive">
  151. <tr><th><a href="directive-dict.html#Description">Description:</a></th><td>URIs that are in the same protection space for digest
  152. authentication</td></tr>
  153. <tr><th><a href="directive-dict.html#Syntax">Syntax:</a></th><td><code>AuthDigestDomain <var>URI</var> [<var>URI</var>] ...</code></td></tr>
  154. <tr><th><a href="directive-dict.html#Context">Context:</a></th><td>directory, .htaccess</td></tr>
  155. <tr><th><a href="directive-dict.html#Override">Override:</a></th><td>AuthConfig</td></tr>
  156. <tr><th><a href="directive-dict.html#Status">Status:</a></th><td>Experimental</td></tr>
  157. <tr><th><a href="directive-dict.html#Module">Module:</a></th><td>mod_auth_digest</td></tr>
  158. </table>
  159.     <p>The <code class="directive">AuthDigestDomain</code> directive allows
  160.     you to specify one or more URIs which are in the same protection
  161.     space (<em>i.e.</em> use the same realm and username/password info).
  162.     The specified URIs are prefixes, <em>i.e.</em> the client will assume
  163.     that all URIs "below" these are also protected by the same
  164.     username/password. The URIs may be either absolute URIs (<em>i.e.</em>
  165.     inluding a scheme, host, port, etc) or relative URIs.</p>
  166.  
  167.     <p>This directive <em>should</em> always be specified and
  168.     contain at least the (set of) root URI(s) for this space.
  169.     Omitting to do so will cause the client to send the
  170.     Authorization header for <em>every request</em> sent to this
  171.     server. Apart from increasing the size of the request, it may
  172.     also have a detrimental effect on performance if <code class="directive"><a href="#authdigestnccheck">AuthDigestNcCheck</a></code> is on.</p>
  173.  
  174.     <p>The URIs specified can also point to different servers, in
  175.     which case clients (which understand this) will then share
  176.     username/password info across multiple servers without
  177.     prompting the user each time.</p>
  178.  
  179. </div>
  180. <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
  181. <div class="directive-section"><h2><a name="AuthDigestFile" id="AuthDigestFile">AuthDigestFile</a> <a name="authdigestfile" id="authdigestfile">Directive</a></h2>
  182. <table class="directive">
  183. <tr><th><a href="directive-dict.html#Description">Description:</a></th><td>Location of the text file containing the list
  184. of users and encoded passwords for digest authentication</td></tr>
  185. <tr><th><a href="directive-dict.html#Syntax">Syntax:</a></th><td><code>AuthDigestFile <var>file-path</var></code></td></tr>
  186. <tr><th><a href="directive-dict.html#Context">Context:</a></th><td>directory, .htaccess</td></tr>
  187. <tr><th><a href="directive-dict.html#Override">Override:</a></th><td>AuthConfig</td></tr>
  188. <tr><th><a href="directive-dict.html#Status">Status:</a></th><td>Experimental</td></tr>
  189. <tr><th><a href="directive-dict.html#Module">Module:</a></th><td>mod_auth_digest</td></tr>
  190. </table>
  191.     <p>The <code class="directive">AuthDigestFile</code> directive sets the
  192.     name of a textual file containing the list of users and encoded
  193.     passwords for digest authentication. <var>File-path</var> is the
  194.     absolute path to the user file.</p>
  195.  
  196.     <p>The digest file uses a special format. Files in this format
  197.     can be created using the <a href="../programs/htdigest.html">htdigest</a> utility found in
  198.     the <code>support/</code> subdirectory of the Apache distribution.</p>
  199.  
  200. </div>
  201. <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
  202. <div class="directive-section"><h2><a name="AuthDigestGroupFile" id="AuthDigestGroupFile">AuthDigestGroupFile</a> <a name="authdigestgroupfile" id="authdigestgroupfile">Directive</a></h2>
  203. <table class="directive">
  204. <tr><th><a href="directive-dict.html#Description">Description:</a></th><td>Name of the text file containing the list of groups
  205. for digest authentication</td></tr>
  206. <tr><th><a href="directive-dict.html#Syntax">Syntax:</a></th><td><code>AuthDigestGroupFile <var>file-path</var></code></td></tr>
  207. <tr><th><a href="directive-dict.html#Context">Context:</a></th><td>directory, .htaccess</td></tr>
  208. <tr><th><a href="directive-dict.html#Override">Override:</a></th><td>AuthConfig</td></tr>
  209. <tr><th><a href="directive-dict.html#Status">Status:</a></th><td>Experimental</td></tr>
  210. <tr><th><a href="directive-dict.html#Module">Module:</a></th><td>mod_auth_digest</td></tr>
  211. </table>
  212.     <p>The <code class="directive">AuthDigestGroupFile</code> directive sets
  213.     the name of a textual file containing the list of groups and their
  214.     members (user names). <var>File-path</var> is the absolute path to
  215.     the group file.</p>
  216.  
  217.     <p>Each line of the group file contains a groupname followed by
  218.     a colon, followed by the member usernames separated by spaces.
  219.     Example:</p>
  220.  
  221.     <div class="example"><p><code>mygroup: bob joe anne</code></p></div>
  222.  
  223.     <p>Note that searching large text files is <em>very</em>
  224.     inefficient.</p>
  225.  
  226.     <div class="warning"><h3>Security:</h3>
  227.     <p>Make sure that the <code class="directive">AuthGroupFile</code> is stored
  228.     outside the document tree of the web-server; do <em>not</em> put it in
  229.     the directory that it protects. Otherwise, clients may be able
  230.     to download the <code class="directive">AuthGroupFile</code>.</p>
  231.     </div>
  232.  
  233. </div>
  234. <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
  235. <div class="directive-section"><h2><a name="AuthDigestNcCheck" id="AuthDigestNcCheck">AuthDigestNcCheck</a> <a name="authdigestnccheck" id="authdigestnccheck">Directive</a></h2>
  236. <table class="directive">
  237. <tr><th><a href="directive-dict.html#Description">Description:</a></th><td>Enables or disables checking of the nonce-count sent by the
  238. server</td></tr>
  239. <tr><th><a href="directive-dict.html#Syntax">Syntax:</a></th><td><code>AuthDigestNcCheck On|Off</code></td></tr>
  240. <tr><th><a href="directive-dict.html#Default">Default:</a></th><td><code>AuthDigestNcCheck Off</code></td></tr>
  241. <tr><th><a href="directive-dict.html#Context">Context:</a></th><td>server config</td></tr>
  242. <tr><th><a href="directive-dict.html#Status">Status:</a></th><td>Experimental</td></tr>
  243. <tr><th><a href="directive-dict.html#Module">Module:</a></th><td>mod_auth_digest</td></tr>
  244. </table>
  245.     <div class="note">
  246.       Not implemented yet.
  247.     </div>
  248.     
  249.  
  250. </div>
  251. <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
  252. <div class="directive-section"><h2><a name="AuthDigestNonceFormat" id="AuthDigestNonceFormat">AuthDigestNonceFormat</a> <a name="authdigestnonceformat" id="authdigestnonceformat">Directive</a></h2>
  253. <table class="directive">
  254. <tr><th><a href="directive-dict.html#Description">Description:</a></th><td>Determines how the nonce is generated</td></tr>
  255. <tr><th><a href="directive-dict.html#Syntax">Syntax:</a></th><td><code>AuthDigestNonceFormat <var>format</var></code></td></tr>
  256. <tr><th><a href="directive-dict.html#Context">Context:</a></th><td>directory, .htaccess</td></tr>
  257. <tr><th><a href="directive-dict.html#Override">Override:</a></th><td>AuthConfig</td></tr>
  258. <tr><th><a href="directive-dict.html#Status">Status:</a></th><td>Experimental</td></tr>
  259. <tr><th><a href="directive-dict.html#Module">Module:</a></th><td>mod_auth_digest</td></tr>
  260. </table>
  261.     <div class="note">Not implemented yet.</div>
  262.     
  263.  
  264. </div>
  265. <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
  266. <div class="directive-section"><h2><a name="AuthDigestNonceLifetime" id="AuthDigestNonceLifetime">AuthDigestNonceLifetime</a> <a name="authdigestnoncelifetime" id="authdigestnoncelifetime">Directive</a></h2>
  267. <table class="directive">
  268. <tr><th><a href="directive-dict.html#Description">Description:</a></th><td>How long the server nonce is valid</td></tr>
  269. <tr><th><a href="directive-dict.html#Syntax">Syntax:</a></th><td><code>AuthDigestNonceLifetime <var>seconds</var></code></td></tr>
  270. <tr><th><a href="directive-dict.html#Default">Default:</a></th><td><code>AuthDigestNonceLifetime 300</code></td></tr>
  271. <tr><th><a href="directive-dict.html#Context">Context:</a></th><td>directory, .htaccess</td></tr>
  272. <tr><th><a href="directive-dict.html#Override">Override:</a></th><td>AuthConfig</td></tr>
  273. <tr><th><a href="directive-dict.html#Status">Status:</a></th><td>Experimental</td></tr>
  274. <tr><th><a href="directive-dict.html#Module">Module:</a></th><td>mod_auth_digest</td></tr>
  275. </table>
  276.     <p>The <code class="directive">AuthDigestNonceLifetime</code> directive
  277.     controls how long the server nonce is valid. When the client
  278.     contacts the server using an expired nonce the server will send
  279.     back a 401 with <code>stale=true</code>. If <var>seconds</var> is
  280.     greater than 0 then it specifies the amount of time for which the
  281.     nonce is valid; this should probably never be set to less than 10
  282.     seconds. If <var>seconds</var> is less than 0 then the nonce never
  283.     expires. 
  284.     </p>
  285.  
  286. </div>
  287. <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
  288. <div class="directive-section"><h2><a name="AuthDigestQop" id="AuthDigestQop">AuthDigestQop</a> <a name="authdigestqop" id="authdigestqop">Directive</a></h2>
  289. <table class="directive">
  290. <tr><th><a href="directive-dict.html#Description">Description:</a></th><td>Determines the quality-of-protection to use in digest
  291. authentication</td></tr>
  292. <tr><th><a href="directive-dict.html#Syntax">Syntax:</a></th><td><code>AuthDigestQop none|auth|auth-int [auth|auth-int]</code></td></tr>
  293. <tr><th><a href="directive-dict.html#Default">Default:</a></th><td><code>AuthDigestQop auth</code></td></tr>
  294. <tr><th><a href="directive-dict.html#Context">Context:</a></th><td>directory, .htaccess</td></tr>
  295. <tr><th><a href="directive-dict.html#Override">Override:</a></th><td>AuthConfig</td></tr>
  296. <tr><th><a href="directive-dict.html#Status">Status:</a></th><td>Experimental</td></tr>
  297. <tr><th><a href="directive-dict.html#Module">Module:</a></th><td>mod_auth_digest</td></tr>
  298. </table>
  299.     <p>The <code class="directive">AuthDigestQop</code> directive determines
  300.     the <dfn>quality-of-protection</dfn> to use. <code>auth</code> will only do
  301.     authentication (username/password); <code>auth-int</code> is
  302.     authentication plus integrity checking (an MD5 hash of the entity
  303.     is also computed and checked); <code>none</code> will cause the module
  304.     to use the old RFC-2069 digest algorithm (which does not include
  305.     integrity checking). Both <code>auth</code> and <code>auth-int</code> may
  306.     be specified, in which the case the browser will choose which of
  307.     these to use. <code>none</code> should only be used if the browser for
  308.     some reason does not like the challenge it receives otherwise.</p>
  309.  
  310.     <div class="note">
  311.       <code>auth-int</code> is not implemented yet.
  312.     </div>
  313.  
  314. </div>
  315. <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
  316. <div class="directive-section"><h2><a name="AuthDigestShmemSize" id="AuthDigestShmemSize">AuthDigestShmemSize</a> <a name="authdigestshmemsize" id="authdigestshmemsize">Directive</a></h2>
  317. <table class="directive">
  318. <tr><th><a href="directive-dict.html#Description">Description:</a></th><td>The amount of shared memory to allocate for keeping track
  319. of clients</td></tr>
  320. <tr><th><a href="directive-dict.html#Syntax">Syntax:</a></th><td><code>AuthDigestShmemSize <var>size</var></code></td></tr>
  321. <tr><th><a href="directive-dict.html#Default">Default:</a></th><td><code>AuthDigestShmemSize 1000</code></td></tr>
  322. <tr><th><a href="directive-dict.html#Context">Context:</a></th><td>server config</td></tr>
  323. <tr><th><a href="directive-dict.html#Status">Status:</a></th><td>Experimental</td></tr>
  324. <tr><th><a href="directive-dict.html#Module">Module:</a></th><td>mod_auth_digest</td></tr>
  325. </table>
  326.     <p>The <code class="directive">AuthDigestShmemSize</code> directive defines
  327.     the amount of shared memory, that will be allocated at the server
  328.     startup for keeping track of clients. Note that the shared memory
  329.     segment cannot be set less than the space that is neccessary for
  330.     tracking at least <em>one</em> client. This value is dependant on your
  331.     system. If you want to find out the exact value, you may simply
  332.     set <code class="directive">AuthDigestShmemSize</code> to the value of
  333.     <code>0</code> and read the error message after trying to start the
  334.     server.</p>
  335.  
  336.     <p>The <var>size</var> is normally expressed in Bytes, but you
  337.     may let the number follow a <code>K</code> or an <code>M</code> to
  338.     express your value as KBytes or MBytes. For example, the following
  339.     directives are all equivalent:</p>
  340.  
  341.     <div class="example"><p><code>
  342.       AuthDigestShmemSize 1048576<br />
  343.       AuthDigestShmemSize 1024K<br />
  344.       AuthDigestShmemSize 1M
  345.     </code></p></div>
  346.  
  347. </div>
  348. </div>
  349. <div class="bottomlang">
  350. <p><span>Available Languages: </span><a href="../en/mod/mod_auth_digest.html" title="English"> en </a> |
  351. <a href="../ko/mod/mod_auth_digest.html" hreflang="ko" rel="alternate" title="Korean"> ko </a></p>
  352. </div><div id="footer">
  353. <p class="apache">Copyright 1999-2004 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p>
  354. <p class="menu"><a href="../mod/">Modules</a> | <a href="../mod/directives.html">Directives</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">Glossary</a> | <a href="../sitemap.html">Sitemap</a></p></div>
  355. </body></html>