From d178011347c9f9cfc8e74a5712de5f84523e187e Mon Sep 17 00:00:00 2001 From: mhoellein Date: Fri, 10 Jul 2020 13:08:29 +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 600661c9..4a31a998 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' @@ -2853,6 +2854,12 @@ maybe chown 'nagios' 'icinga2/zones.d' maybe chgrp 'nagios' 'icinga2/zones.d' maybe chmod 0750 '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