forked from pool/apache2
- introduce APACHE_TACEENABLE sysconfig variable, which translates
to /etc/apache2/sysconfig.d/global.conf:TraceEnable on/off - modified sources % apache2-global.conf % apache2-start_apache2 % sysconfig.apache2 OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=654
This commit is contained in:
parent
4df4f035ea
commit
e9b1a4ca5d
@ -1,6 +1,7 @@
|
|||||||
ServerSignature off
|
ServerSignature off
|
||||||
UseCanonicalName off
|
UseCanonicalName off
|
||||||
ServerTokens ProductOnly
|
ServerTokens ProductOnly
|
||||||
|
TraceEnable off
|
||||||
LogLevel warn
|
LogLevel warn
|
||||||
CustomLog /var/log/apache2/access_log combined
|
CustomLog /var/log/apache2/access_log combined
|
||||||
|
|
||||||
|
@ -141,6 +141,10 @@ fi
|
|||||||
if [ -n "$APACHE_SERVERTOKENS" ]; then
|
if [ -n "$APACHE_SERVERTOKENS" ]; then
|
||||||
echo "ServerTokens $APACHE_SERVERTOKENS" >> ${sysconfd_dir}/global.conf
|
echo "ServerTokens $APACHE_SERVERTOKENS" >> ${sysconfd_dir}/global.conf
|
||||||
fi
|
fi
|
||||||
|
# APACHE_TACEENABLE -> global.conf
|
||||||
|
if [ -n "$APACHE_TRACEENABLE" ]; then
|
||||||
|
echo "TraceEnable $APACHE_TRACEENABLE" >> ${sysconfd_dir}/global.conf
|
||||||
|
fi
|
||||||
# APACHE_EXTENDED_STATUS -> global.conf
|
# APACHE_EXTENDED_STATUS -> global.conf
|
||||||
if [ -n "$APACHE_EXTENDED_STATUS" ]; then
|
if [ -n "$APACHE_EXTENDED_STATUS" ]; then
|
||||||
if [ "$APACHE_EXTENDED_STATUS" == "lua" ]; then
|
if [ "$APACHE_EXTENDED_STATUS" == "lua" ]; then
|
||||||
|
@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 2 17:32:18 UTC 2021 - pgajdos@suse.com
|
||||||
|
|
||||||
|
- introduce APACHE_TACEENABLE sysconfig variable, which translates
|
||||||
|
to /etc/apache2/sysconfig.d/global.conf:TraceEnable on/off
|
||||||
|
- modified sources
|
||||||
|
% apache2-global.conf
|
||||||
|
% apache2-start_apache2
|
||||||
|
% sysconfig.apache2
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jun 2 07:31:14 UTC 2021 - pgajdos@suse.com
|
Wed Jun 2 07:31:14 UTC 2021 - pgajdos@suse.com
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package apache2%{psuffix}
|
# spec file
|
||||||
#
|
#
|
||||||
# Copyright (c) 2021 SUSE LLC
|
# Copyright (c) 2021 SUSE LLC
|
||||||
#
|
#
|
||||||
|
@ -241,6 +241,14 @@ APACHE_USE_CANONICAL_NAME="off"
|
|||||||
#
|
#
|
||||||
APACHE_SERVERTOKENS="ProductOnly"
|
APACHE_SERVERTOKENS="ProductOnly"
|
||||||
|
|
||||||
|
## Type: list(on,off)
|
||||||
|
## Default: "off"
|
||||||
|
## ServiceReload: apache2
|
||||||
|
#
|
||||||
|
# Enable or disable TRACE method.
|
||||||
|
#
|
||||||
|
APACHE_TRACEENABLE="off"
|
||||||
|
|
||||||
## Type: list(on,off,lua)
|
## Type: list(on,off,lua)
|
||||||
## Default: "off"
|
## Default: "off"
|
||||||
## ServiceReload: apache2
|
## ServiceReload: apache2
|
||||||
|
Loading…
x
Reference in New Issue
Block a user