diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 12:39:40 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 12:39:40 +0000 |
commit | 92b71369d9c622791ec7758cb3ecfc256031e24d (patch) | |
tree | 45fb3f91bbfec5ecb364ceea5a2f4afe31ab57c1 /debian/icingaweb2.conf | |
parent | Adding upstream version 2.11.4. (diff) | |
download | icingaweb2-92b71369d9c622791ec7758cb3ecfc256031e24d.tar.xz icingaweb2-92b71369d9c622791ec7758cb3ecfc256031e24d.zip |
Adding debian version 2.11.4-2+deb12u1.debian/2.11.4-2+deb12u1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/icingaweb2.conf')
-rw-r--r-- | debian/icingaweb2.conf | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/debian/icingaweb2.conf b/debian/icingaweb2.conf new file mode 100644 index 0000000..3188180 --- /dev/null +++ b/debian/icingaweb2.conf @@ -0,0 +1,25 @@ +Alias /icingaweb2 "/usr/share/icingaweb2/public" + +<Directory "/usr/share/icingaweb2/public"> + Options SymLinksIfOwnerMatch + AllowOverride None + + SetEnv ICINGAWEB_CONFIGDIR "/etc/icingaweb2" + + EnableSendfile Off + + <IfModule mod_rewrite.c> + 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] + </IfModule> + + <IfModule !mod_rewrite.c> + DirectoryIndex error_norewrite.html + ErrorDocument 404 /error_norewrite.html + </IfModule> +</Directory> |