]> granicus.if.org Git - apache/commitdiff
MMapStatic directive doesn't exist.
authorLucien Gentis <lgentis@apache.org>
Wed, 11 Feb 2009 17:12:18 +0000 (17:12 +0000)
committerLucien Gentis <lgentis@apache.org>
Wed, 11 Feb 2009 17:12:18 +0000 (17:12 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@743408 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/caching.xml
docs/manual/caching.xml.fr
docs/manual/mod/mod_file_cache.xml

index 7fa561022161e00c99e68e7212fbc53e23509c9b..1feebc0b27ccf0e85b499917baff4f2f03505d93 100644 (file)
@@ -64,7 +64,7 @@
     <p>As <module>mod_file_cache</module> presents a relatively simple
     caching implementation, apart from the specific sections on <directive 
     module="mod_file_cache">CacheFile</directive> and <directive 
-    module="mod_file_cache">MMapStatic</directive>, the explanations
+    module="mod_file_cache">MMapFile</directive>, the explanations
     in this guide cover the <module>mod_cache</module> caching 
     architecture.</p>
 
@@ -88,9 +88,8 @@
       <directivelist>
         <directive module="mod_cache">CacheEnable</directive>
         <directive module="mod_cache">CacheDisable</directive>
-        <directive module="mod_file_cache">MMapStatic</directive>
-        <directive module="mod_file_cache">CacheFile</directive>
         <directive module="mod_file_cache">CacheFile</directive>
+        <directive module="mod_file_cache">MMapFile</directive>
         <directive module="core">UseCanonicalName</directive>
         <directive module="mod_negotiation">CacheNegotiatedDocs</directive>
       </directivelist>
@@ -455,7 +454,7 @@ Vary: negotiate,accept-language,accept-charset
       <directivelist>
         <directive module="mod_cache">CacheEnable</directive>
         <directive module="mod_cache">CacheDisable</directive>
-        <directive module="mod_file_cache">MMapStatic</directive>
+        <directive module="mod_file_cache">MMapFile</directive>
       </directivelist>
     </related>
        
@@ -516,16 +515,16 @@ sys     0m0.000s</pre>
     better performed by Apache.</p>
 
     <section>
-      <title>MMapStatic Caching</title>
+      <title>MMapFile Caching</title>
 
       <p><module>mod_file_cache</module> provides the 
-      <directive module="mod_file_cache">MMapStatic</directive> directive, which
+      <directive module="mod_file_cache">MMapFile</directive> directive, which
       allows you to have Apache map a static file's contents into memory at
       start time (using the mmap system call). Apache will use the in-memory 
       contents for all subsequent accesses to this file.</p>
 
       <example>
-      <pre>MMapStatic /usr/local/apache2/htdocs/index.html</pre>
+      <pre>MMapFile /usr/local/apache2/htdocs/index.html</pre>
       </example>
 
       <p>As with the
@@ -533,7 +532,7 @@ sys     0m0.000s</pre>
       changes in these files will not be picked up by Apache after it has
       started.</p>
 
-      <p> The <directive module="mod_file_cache">MMapStatic</directive> 
+      <p> The <directive module="mod_file_cache">MMapFile</directive> 
       directive does not keep track of how much memory it allocates, so
       you must ensure not to over-use the directive. Each Apache child
       process will replicate this memory, so it is critically important
index 85d421d4664a68395b570935fdad608a687d05fb..4decfd13aa18907c20cca5452692a2e97fb0caf1 100644 (file)
@@ -75,7 +75,7 @@
     impl&eacute;mentation de mise en cache relativement simple, mises &agrave; part les
     sections sp&eacute;cifiques sur les directives <directive
     module="mod_file_cache">CacheFile</directive> et <directive
-    module="mod_file_cache">MMapStatic</directive>, les explications fournies
+    module="mod_file_cache">MMapFile</directive>, les explications fournies
     dans ce guide concernent l'architecture de mise en cache du
     module <module>mod_cache</module>.</p>
 
       <directivelist>
         <directive module="mod_cache">CacheEnable</directive>
         <directive module="mod_cache">CacheDisable</directive>
-        <directive module="mod_file_cache">MMapStatic</directive>
-        <directive module="mod_file_cache">CacheFile</directive>
         <directive module="mod_file_cache">CacheFile</directive>
+        <directive module="mod_file_cache">MMapFile</directive>
         <directive module="core">UseCanonicalName</directive>
         <directive module="mod_negotiation">CacheNegotiatedDocs</directive>
       </directivelist>
@@ -513,7 +512,7 @@ Vary: negotiate,accept-language,accept-charset
       <directivelist>
         <directive module="mod_cache">CacheEnable</directive>
         <directive module="mod_cache">CacheDisable</directive>
-        <directive module="mod_file_cache">MMapStatic</directive>
+        <directive module="mod_file_cache">MMapFile</directive>
       </directivelist>
     </related>
 
@@ -582,9 +581,9 @@ sys     0m0.000s</pre>
     circonstances.</p>
 
     <section>
-      <title>Mise en cache &agrave; l'aide de la directive MMapStatic</title>
+      <title>Mise en cache &agrave; l'aide de la directive MMapFile</title>
 
-      <p>La directive <directive module="mod_file_cache">MMapStatic</directive>
+      <p>La directive <directive module="mod_file_cache">MMapFile</directive>
       fournie par le module <module>mod_file_cache</module> vous permet de
       demander &agrave; Apache de charger un contenu de fichier statique en m&eacute;moire
       lors de son d&eacute;marrage (&agrave; l'aide de l'appel syst&egrave;me mmap). Apache
@@ -592,7 +591,7 @@ sys     0m0.000s</pre>
       toutes les demandes d'acc&egrave;s &agrave; ce fichier.</p>
 
       <example>
-      <pre>MMapStatic /usr/local/apache2/htdocs/index.html</pre>
+      <pre>MMapFile /usr/local/apache2/htdocs/index.html</pre>
       </example>
 
       <p>Comme dans le cas de la directive
@@ -601,7 +600,7 @@ sys     0m0.000s</pre>
       ce dernier d&eacute;marr&eacute;.</p>
 
       <p> La directive
-      <directive module="mod_file_cache">MMapStatic</directive> ne gardant
+      <directive module="mod_file_cache">MMapFile</directive> ne gardant
       pas la trace de la quantit&eacute; de m&eacute;moire qu'elle alloue, vous devez prendre
       garde de ne pas en abuser. Chaque processus enfant d'Apache utilisant
       sa propre r&eacute;plique de la m&eacute;moire allou&eacute;e, il est donc d'une importance
index 9f777b6cdeed72b5e89508e3d7abeb69dbcb6653..78609e65c528033425fe21ecd3526ad155fda0f7 100644 (file)
     >MMapFile</directive> or <directive module="mod_file_cache"
     >CacheFile</directive> directives in the main server configuration.</p>
 
-    <p>Not all platforms support both directives. For example, Apache
-    on Windows does not currently support the <directive
-    module="mod_file_cache">MMapStatic</directive> directive, while
-    other platforms, like AIX, support both. You will receive an error
+    <p>Not all platforms support both directives. You will receive an error
     message in the server error log if you attempt to use an
     unsupported directive. If given an unsupported directive, the
     server will start but the file will not be cached. On platforms
     places these handles into the cache at server startup
     time. Handles to cached files are automatically closed on a server
     shutdown.  When the files have changed on the filesystem, the
-    server should be restarted to to re-cache them.</p>
+    server should be restarted to re-cache them.</p>
 
     <p>Be careful with the <var>file-path</var> arguments: They have
     to literally match the filesystem path Apache's URL-to-filename