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/apache_mod_security.inc | |
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/apache_mod_security.inc')
-rw-r--r-- | config/apache_mod_security-dev/apache_mod_security.inc | 5 |
1 files changed, 5 insertions, 0 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 |