File adjust-default-config.patch of Package httpd24
From: Michal Kubecek <mkubecek@suse.cz>
Date: Tue, 27 Apr 2021 17:05:12 +0200
Subject: adjust default config
Adjust some values in default config files.
---
docs/conf/extra/httpd-info.conf.in | 4 +---
docs/conf/httpd.conf.in | 6 +++---
2 files changed, 4 insertions(+), 6 deletions(-)
--- a/docs/conf/extra/httpd-info.conf.in
+++ b/docs/conf/extra/httpd-info.conf.in
@@ -13,7 +13,6 @@
<Location /server-status>
SetHandler server-status
- Require host .example.com
Require ip 127
</Location>
@@ -22,7 +21,7 @@
# information (ExtendedStatus On) or just basic information (ExtendedStatus
# Off) when the "server-status" handler is called. The default is Off.
#
-#ExtendedStatus On
+ExtendedStatus On
#
# Allow remote server configuration reports, with the URL of
@@ -31,6 +30,5 @@
#
<Location /server-info>
SetHandler server-info
- Require host .example.com
Require ip 127
</Location>
--- a/docs/conf/httpd.conf.in
+++ b/docs/conf/httpd.conf.in
@@ -74,8 +74,8 @@ Listen @@Port@@
# It is usually good practice to create a dedicated user and group for
# running httpd, as with most system services.
#
-User daemon
-Group daemon
+User wwwrun
+Group www
</IfModule>
@@ -397,7 +397,7 @@ LogLevel warn
#Include @rel_sysconfdir@/extra/httpd-dav.conf
# Various default settings
-#Include @rel_sysconfdir@/extra/httpd-default.conf
+Include @rel_sysconfdir@/extra/httpd-default.conf
# Configure mod_proxy_html to understand HTML4/XHTML1
<IfModule proxy_html_module>