From cecac005bf353765b5da010fab74ddbdd6518ff9 Mon Sep 17 00:00:00 2001 From: mhoellein Date: Fri, 10 Jul 2020 01:44:22 +0200 Subject: [PATCH] committing changes in /etc after apt run Package changes: +icingaweb2 2.8.1-1.bionic all +icingaweb2-common 2.8.1-1.bionic all --- .etckeeper | 7 +++++++ apache2/conf-available/icingaweb2.conf | 25 +++++++++++++++++++++++ apache2/conf-enabled/icingaweb2.conf | 1 + icingaweb2/modules/translation/config.ini | 4 ++++ 4 files changed, 37 insertions(+) create mode 100644 apache2/conf-available/icingaweb2.conf create mode 120000 apache2/conf-enabled/icingaweb2.conf create mode 100644 icingaweb2/modules/translation/config.ini diff --git a/.etckeeper b/.etckeeper index 52acfb1b..2874c938 100755 --- a/.etckeeper +++ b/.etckeeper @@ -258,6 +258,7 @@ maybe chmod 0755 'apache2/conf-available' maybe chmod 0644 'apache2/conf-available/charset.conf' maybe chmod 0644 'apache2/conf-available/gitweb.conf' maybe chmod 0644 'apache2/conf-available/httpd.conf' +maybe chmod 0644 'apache2/conf-available/icingaweb2.conf' maybe chmod 0644 'apache2/conf-available/javascript-common.conf' maybe chmod 0644 'apache2/conf-available/localized-error-pages.conf' maybe chmod 0644 'apache2/conf-available/loolwsd.conf' @@ -2777,6 +2778,12 @@ maybe chmod 0755 'icinga2/scripts/mail-service-notification.sh' maybe chmod 0644 'icinga2/zones.conf' maybe chmod 0755 'icinga2/zones.d' maybe chmod 0644 'icinga2/zones.d/README' +maybe chgrp 'icingaweb2' 'icingaweb2' +maybe chmod 2770 'icingaweb2' +maybe chgrp 'icingaweb2' 'icingaweb2/modules' +maybe chmod 2770 'icingaweb2/modules' +maybe chmod 0755 'icingaweb2/modules/translation' +maybe chmod 0644 'icingaweb2/modules/translation/config.ini' maybe chmod 0644 'idmapd.conf' maybe chmod 0755 'ifplugd' maybe chmod 0755 'ifplugd/action.d' diff --git a/apache2/conf-available/icingaweb2.conf b/apache2/conf-available/icingaweb2.conf new file mode 100644 index 00000000..31881804 --- /dev/null +++ b/apache2/conf-available/icingaweb2.conf @@ -0,0 +1,25 @@ +Alias /icingaweb2 "/usr/share/icingaweb2/public" + + + Options SymLinksIfOwnerMatch + AllowOverride None + + SetEnv ICINGAWEB_CONFIGDIR "/etc/icingaweb2" + + EnableSendfile Off + + + RewriteEngine on + RewriteBase /icingaweb2/ + RewriteCond %{REQUEST_FILENAME} -s [OR] + RewriteCond %{REQUEST_FILENAME} -l [OR] + RewriteCond %{REQUEST_FILENAME} -d + RewriteRule ^.*$ - [NC,L] + RewriteRule ^.*$ index.php [NC,L] + + + + DirectoryIndex error_norewrite.html + ErrorDocument 404 /error_norewrite.html + + diff --git a/apache2/conf-enabled/icingaweb2.conf b/apache2/conf-enabled/icingaweb2.conf new file mode 120000 index 00000000..a25f2382 --- /dev/null +++ b/apache2/conf-enabled/icingaweb2.conf @@ -0,0 +1 @@ +../conf-available/icingaweb2.conf \ No newline at end of file diff --git a/icingaweb2/modules/translation/config.ini b/icingaweb2/modules/translation/config.ini new file mode 100644 index 00000000..5bdf37b0 --- /dev/null +++ b/icingaweb2/modules/translation/config.ini @@ -0,0 +1,4 @@ +[translation] +msgmerge = /usr/bin/msgmerge +xgettext = /usr/bin/xgettext +msgfmt = /usr/bin/msgfmt -- 2.43.0