From 76779f685233402f58a8dbb1c050d508d580c2bf Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Tue, 23 Jun 2009 00:05:41 -0400 Subject: Add enable memory cache and disk cache. Add initial plumbing and add XXX --- config/apache_mod_security/apache_mod_security.inc | 11 ++++++ .../apache_mod_security_settings.xml | 44 ++++++++++++++++++++++ 2 files changed, 55 insertions(+) (limited to 'config') diff --git a/config/apache_mod_security/apache_mod_security.inc b/config/apache_mod_security/apache_mod_security.inc index 0c8ff9a3..5a9ab852 100644 --- a/config/apache_mod_security/apache_mod_security.inc +++ b/config/apache_mod_security/apache_mod_security.inc @@ -52,7 +52,18 @@ function generate_apache_configuration() { else $global_listen .= ":80"; } + + + + // XXX The maximum amount of memory used by the cache in KBytes + //MCacheSize 700000 + // CacheRoot Directive + // CacheRoot /var/apache_mod_security_cache + // htcacheclean can be used to maintain the cache size at a maximum level. + // XXX + + // Syntax:ProxyPreserveHost On|Off ? $mod_proxy = "ProxyRequests on\n"; diff --git a/config/apache_mod_security/apache_mod_security_settings.xml b/config/apache_mod_security/apache_mod_security_settings.xml index 6a91309a..0ff2aa2d 100644 --- a/config/apache_mod_security/apache_mod_security_settings.xml +++ b/config/apache_mod_security/apache_mod_security_settings.xml @@ -103,6 +103,50 @@ input + + + Use mod_mem_cache + mod_mem_cache + + + + checkbox + + + mod_mem_cache memory usage + mod_mem_cache_size + + + + input + + + + Use mod_disk_cache + mod_disk_cache + + + + checkbox + + + mod_disk_cache memory usage + mod_disk_cache_size + + + + input + + + -- cgit v1.2.3