Accepting request 911090 from Apache

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/911090
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apache2?expand=0&rev=184
This commit is contained in:
Richard Brown 2021-08-12 07:01:11 +00:00 committed by Git OBS Bridge
commit 2877b62871
5 changed files with 24 additions and 1 deletions

View File

@ -1,6 +1,7 @@
ServerSignature off
UseCanonicalName off
ServerTokens ProductOnly
TraceEnable off
LogLevel warn
CustomLog /var/log/apache2/access_log combined

View File

@ -141,6 +141,10 @@ fi
if [ -n "$APACHE_SERVERTOKENS" ]; then
echo "ServerTokens $APACHE_SERVERTOKENS" >> ${sysconfd_dir}/global.conf
fi
# APACHE_TACEENABLE -> global.conf
if [ -n "$APACHE_TRACEENABLE" ]; then
echo "TraceEnable $APACHE_TRACEENABLE" >> ${sysconfd_dir}/global.conf
fi
# APACHE_EXTENDED_STATUS -> global.conf
if [ -n "$APACHE_EXTENDED_STATUS" ]; then
if [ "$APACHE_EXTENDED_STATUS" == "lua" ]; then

View File

@ -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

View File

@ -1,5 +1,5 @@
#
# spec file for package apache2%{psuffix}
# spec file
#
# Copyright (c) 2021 SUSE LLC
#

View File

@ -241,6 +241,14 @@ APACHE_USE_CANONICAL_NAME="off"
#
APACHE_SERVERTOKENS="ProductOnly"
## Type: list(on,off)
## Default: "off"
## ServiceReload: apache2
#
# Enable or disable TRACE method.
#
APACHE_TRACEENABLE="off"
## Type: list(on,off,lua)
## Default: "off"
## ServiceReload: apache2