diff options
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> |