SOURCES: apache-mod_cache.conf - make it easier to switch comments

glen glen at pld-linux.org
Fri Dec 15 09:16:53 CET 2006


Author: glen                         Date: Fri Dec 15 08:16:53 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- make it easier to switch comments

---- Files affected:
SOURCES:
   apache-mod_cache.conf (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: SOURCES/apache-mod_cache.conf
diff -u SOURCES/apache-mod_cache.conf:1.4 SOURCES/apache-mod_cache.conf:1.5
--- SOURCES/apache-mod_cache.conf:1.4	Thu Nov 23 17:26:01 2006
+++ SOURCES/apache-mod_cache.conf	Fri Dec 15 09:16:48 2006
@@ -5,23 +5,23 @@
 #
 
 <IfModule mod_cache.c>
-	#LoadModule disk_cache_module modules/mod_disk_cache.so
 	# If you want to use mod_disk_cache instead of mod_mem_cache,
-	# uncomment the line above and comment out the LoadModule line below.
+	# just swap the two loadmodule comments.
+#	LoadModule disk_cache_module modules/mod_disk_cache.so
+	LoadModule mem_cache_module modules/mod_mem_cache.so
+
 	<IfModule mod_disk_cache.c>
 		CacheRoot "/var/cache/httpd"
 		CacheEnable disk /
 		CacheDirLevels 5
 		CacheDirLength 3
-		
-		#CacheDefaultExpire 3600
-		#CacheMinExpire 3600
-		#CacheMinFileSize 64
-		#CacheMaxFileSize 64000
 
-	</IfModule> 
+#		CacheDefaultExpire 3600
+#		CacheMinExpire 3600
+#		CacheMinFileSize 64
+#		CacheMaxFileSize 64000
+	</IfModule>
 
-	LoadModule mem_cache_module modules/mod_mem_cache.so
 	<IfModule mod_mem_cache.c>
 		CacheEnable mem /
 		MCacheSize 4096
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/apache-mod_cache.conf?r1=1.4&r2=1.5&f=u



More information about the pld-cvs-commit mailing list