aboutsummaryrefslogtreecommitdiffstats
path: root/config/apache_mod_security
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-06-23 19:48:28 -0400
committerScott Ullrich <sullrich@pfsense.org>2009-06-23 19:48:28 -0400
commit21ee6331391237c27e5d9f53596f6d39750c4990 (patch)
tree56834f6c6a5b44db4ba4df38722a50db4cda8f51 /config/apache_mod_security
parent077e3bc34b94a8f0cb0c09d7034ab9c09a22dfbe (diff)
downloadpfsense-packages-21ee6331391237c27e5d9f53596f6d39750c4990.tar.gz
pfsense-packages-21ee6331391237c27e5d9f53596f6d39750c4990.tar.bz2
pfsense-packages-21ee6331391237c27e5d9f53596f6d39750c4990.zip
Add custom mod_security rules box which will be appended to the mod_security configuration.
Diffstat (limited to 'config/apache_mod_security')
-rw-r--r--config/apache_mod_security/apache_mod_security_settings.xml24
1 files changed, 14 insertions, 10 deletions
diff --git a/config/apache_mod_security/apache_mod_security_settings.xml b/config/apache_mod_security/apache_mod_security_settings.xml
index 0ff2aa2d..7b7c6d8e 100644
--- a/config/apache_mod_security/apache_mod_security_settings.xml
+++ b/config/apache_mod_security/apache_mod_security_settings.xml
@@ -55,13 +55,6 @@
</tabs>
<fields>
<field>
- <fielddescr>Enable mod_security protection</fielddescr>
- <fieldname>enablemodsecurity</fieldname>
- <description>Enables mod_security protection for all sites being proxied</description>
- <type>checkbox</type>
- </field>
-
- <field>
<fielddescr>Global site E-mail administrator</fielddescr>
<fieldname>globalsiteadminemail</fieldname>
<description>Enter the site administrators e-mail address</description>
@@ -103,7 +96,6 @@
</description>
<type>input</type>
</field>
-
<field>
<fielddescr>Use mod_mem_cache</fielddescr>
<fieldname>mod_mem_cache</fieldname>
@@ -145,8 +137,20 @@
</description>
<type>input</type>
</field>
-
-
+ <field>
+ <fielddescr>Enable mod_security protection</fielddescr>
+ <fieldname>enablemodsecurity</fieldname>
+ <description>Enables mod_security protection for all sites being proxied</description>
+ <type>checkbox</type>
+ </field>
+ <field>
+ <fielddescr>Custom mod_security rules</fielddescr>
+ <fieldname>Paste any custom mod_security rules that you would like to use</fieldname>
+ <description></description>
+ <type>textarea</type>
+ <rows>10</rows>
+ <cols>75</cols>
+ </field>
</fields>
<custom_php_validation_command>
</custom_php_validation_command>