aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/apache_mod_security/apache_mod_security.inc11
-rw-r--r--config/apache_mod_security/apache_mod_security_settings.xml44
2 files changed, 55 insertions, 0 deletions
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 @@
</description>
<type>input</type>
</field>
+
+ <field>
+ <fielddescr>Use mod_mem_cache</fielddescr>
+ <fieldname>mod_mem_cache</fieldname>
+ <description>
+ <![CDATA[
+ Enables mod_mem_cache which stores cached documents in memory.
+ ]]>
+ </description>
+ <type>checkbox</type>
+ </field>
+ <field>
+ <fielddescr>mod_mem_cache memory usage</fielddescr>
+ <fieldname>mod_mem_cache_size</fieldname>
+ <description>
+ <![CDATA[
+ Sets the memory usage in megabytes.
+ ]]>
+ </description>
+ <type>input</type>
+ </field>
+
+ <field>
+ <fielddescr>Use mod_disk_cache</fielddescr>
+ <fieldname>mod_disk_cache</fieldname>
+ <description>
+ <![CDATA[
+ mod_disk_cache implements a disk based storage manager. It is primarily of use in conjunction with mod_cache.
+ ]]>
+ </description>
+ <type>checkbox</type>
+ </field>
+ <field>
+ <fielddescr>mod_disk_cache memory usage</fielddescr>
+ <fieldname>mod_disk_cache_size</fieldname>
+ <description>
+ <![CDATA[
+ Sets the memory usage in Kbytes.
+ ]]>
+ </description>
+ <type>input</type>
+ </field>
+
+
</fields>
<custom_php_validation_command>
</custom_php_validation_command>