diff options
author | Marcello Coutinho <marcellocoutinho@gmail.com> | 2013-11-13 16:40:20 -0200 |
---|---|---|
committer | Marcello Coutinho <marcellocoutinho@gmail.com> | 2013-11-13 16:40:20 -0200 |
commit | 01034294e24ddcffa840665f74b1becba7f7307e (patch) | |
tree | 8b612142733eb9c41504d3be512acb81139fe2fc /config/apache_mod_security-dev | |
parent | 1faf9c87569b2637c22be18051f8690c4198a660 (diff) | |
download | pfsense-packages-01034294e24ddcffa840665f74b1becba7f7307e.tar.gz pfsense-packages-01034294e24ddcffa840665f74b1becba7f7307e.tar.bz2 pfsense-packages-01034294e24ddcffa840665f74b1becba7f7307e.zip |
apache-modsecurity-dev - add extented status page options to apache settings
Diffstat (limited to 'config/apache_mod_security-dev')
-rw-r--r-- | config/apache_mod_security-dev/apache_mod_security.inc | 5 | ||||
-rw-r--r-- | config/apache_mod_security-dev/apache_settings.xml | 12 |
2 files changed, 15 insertions, 2 deletions
diff --git a/config/apache_mod_security-dev/apache_mod_security.inc b/config/apache_mod_security-dev/apache_mod_security.inc index 1cb6afd4..1129af6d 100644 --- a/config/apache_mod_security-dev/apache_mod_security.inc +++ b/config/apache_mod_security-dev/apache_mod_security.inc @@ -709,7 +709,12 @@ EOF; // Process Status Page $mod_status = ""; if ($settings['statuspage'] == "on") { + if($settings['extendedstatuspage']== "on"){ + $extendedstatus="ExtendedStatus On"; + } + $mod_status .= <<<EOF $mod_status .= <<<EOF +{$extendedstatus} <Location /server-status> SetHandler server-status Order Deny,Allow diff --git a/config/apache_mod_security-dev/apache_settings.xml b/config/apache_mod_security-dev/apache_settings.xml index 07130aed..14415362 100644 --- a/config/apache_mod_security-dev/apache_settings.xml +++ b/config/apache_mod_security-dev/apache_settings.xml @@ -10,7 +10,7 @@ apache_mod_security_settings.xml part of apache_mod_security package (http://www.pfSense.com) Copyright (C) 2008, 2009, 2010 Scott Ullrich - Copyright (C) 2012 Marcello Coutinho + Copyright (C) 2012-2013 Marcello Coutinho All rights reserved. */ /* ========================================================================== */ @@ -292,7 +292,15 @@ </options> </field> <field> - <fielddescr>Network Access Status Page</fielddescr> + <fielddescr>Extended Status</fielddescr> + <fieldname>extendedstatuspage</fieldname> + <description> + <![CDATA[Keep track of extended status information for each request]]> + </description> + <type>checkbox</type> + </field> + <field> + <fielddescr>Status Page ACL</fielddescr> <fieldname>netaccessstatus</fieldname> <description> <![CDATA[Networks that can access apache status page. Ex: 172.16.1.0/24<br> |