From 46a81392b656bc771ab59bf3c5177a58b2ad578a Mon Sep 17 00:00:00 2001
From: Lucien Gentis 
Date: Wed, 11 Feb 2009 17:11:26 +0000
Subject: [PATCH] MMapStatic directive doesn't exist.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@743406 13f79535-47bb-0310-9956-ffa450edef68
---
 docs/manual/caching.xml            | 15 +++++++--------
 docs/manual/caching.xml.fr         | 15 +++++++--------
 docs/manual/mod/mod_file_cache.xml |  7 ++-----
 3 files changed, 16 insertions(+), 21 deletions(-)
diff --git a/docs/manual/caching.xml b/docs/manual/caching.xml
index 4c4116d1283..d4e417ffb2f 100644
--- a/docs/manual/caching.xml
+++ b/docs/manual/caching.xml
@@ -65,7 +65,7 @@
     As mod_file_cache presents a relatively simple
     caching implementation, apart from the specific sections on CacheFile and MMapStatic, the explanations
+    module="mod_file_cache">MMapFile, the explanations
     in this guide cover the mod_cache caching 
     architecture.
 
@@ -90,9 +90,8 @@
       
         CacheEnable
         CacheDisable
-        MMapStatic
-        CacheFile
         CacheFile
+        MMapFile
         UseCanonicalName
         CacheNegotiatedDocs
       
@@ -475,7 +474,7 @@ Vary: negotiate,accept-language,accept-charset
       
         CacheEnable
         CacheDisable
-        MMapStatic
+        MMapFile
       
     
        
@@ -541,16 +540,16 @@ sys     0m0.000s
     speed of in-memory caching, Apache's own memory caching is needed.
 
     
-      MMapStatic Caching
+      MMapFile Caching
 
       mod_file_cache provides the 
-      MMapStatic directive, which
+      MMapFile 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.
 
       
-      MMapStatic /usr/local/apache2/htdocs/index.html
+      MMapFile /usr/local/apache2/htdocs/index.html
       
 
       As with the
@@ -558,7 +557,7 @@ sys     0m0.000s
       changes in these files will not be picked up by Apache after it has
       started.
 
-       The MMapStatic 
+      
 The MMapFile 
       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
diff --git a/docs/manual/caching.xml.fr b/docs/manual/caching.xml.fr
index 78498f78733..f32c9f702a3 100644
--- a/docs/manual/caching.xml.fr
+++ b/docs/manual/caching.xml.fr
@@ -77,7 +77,7 @@
     implémentation de mise en cache relativement simple, mises à part les
     sections spécifiques sur les directives CacheFile et MMapStatic, les explications fournies
+    module="mod_file_cache">MMapFile, les explications fournies
     dans ce guide concernent l'architecture de mise en cache du
     module mod_cache.
 
@@ -104,9 +104,8 @@
       
         CacheEnable
         CacheDisable
-        MMapStatic
-        CacheFile
         CacheFile
+        MMapFile
         UseCanonicalName
         CacheNegotiatedDocs
       
@@ -536,7 +535,7 @@ Vary: negotiate,accept-language,accept-charset
       
         CacheEnable
         CacheDisable
-        MMapStatic
+        MMapFile
       
     
 
@@ -612,9 +611,9 @@ sys     0m0.000s
     mémoire, la mise en cache propre à Apache sera nécessaire.
 
     
-      Mise en cache à l'aide de la directive MMapStatic
+      Mise en cache à l'aide de la directive MMapFile
 
-      La directive MMapStatic
+      
La directive MMapFile
       fournie par le module mod_file_cache vous permet de
       demander à Apache de charger un contenu de fichier statique en mémoire
       lors de son démarrage (à l'aide de l'appel système mmap). Apache
@@ -622,7 +621,7 @@ sys     0m0.000s
       toutes les demandes d'accès à ce fichier.
 
       
-      MMapStatic /usr/local/apache2/htdocs/index.html
+      MMapFile /usr/local/apache2/htdocs/index.html
       
 
       Comme dans le cas de la directive
@@ -631,7 +630,7 @@ sys     0m0.000s
       ce dernier démarré.
 
        La directive
-      MMapStatic ne gardant
+      MMapFile ne gardant
       pas la trace de la quantité de mémoire qu'elle alloue, vous devez prendre
       garde de ne pas en abuser. Chaque processus enfant d'Apache utilisant
       sa propre réplique de la mémoire allouée, il est donc d'une importance
diff --git a/docs/manual/mod/mod_file_cache.xml b/docs/manual/mod/mod_file_cache.xml
index 9f777b6cdee..78609e65c52 100644
--- a/docs/manual/mod/mod_file_cache.xml
+++ b/docs/manual/mod/mod_file_cache.xml
@@ -63,10 +63,7 @@
     >MMapFile or CacheFile directives in the main server configuration.
 
-    Not all platforms support both directives. For example, Apache
-    on Windows does not currently support the MMapStatic directive, while
-    other platforms, like AIX, support both. You will receive an error
+    
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
@@ -179,7 +176,7 @@
     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.
+    server should be restarted to re-cache them.
 
     Be careful with the file-path arguments: They have
     to literally match the filesystem path Apache's URL-to-filename
-- 
2.47.3