--- packages/files/apache/icingaweb2.conf +++ packages/files/apache/icingaweb2.conf @@ -1,4 +1,4 @@ -Alias /icingaweb2 "/usr/share/icingaweb2/public" +Alias / "/usr/share/icingaweb2/public/" # Remove comments if you want to use PHP FPM and your Apache version is older than 2.4 # @@ -34,7 +34,7 @@ Alias /icingaweb2 "/usr/share/icingaweb2/public" RewriteEngine on - RewriteBase /icingaweb2/ + RewriteBase / RewriteCond %{REQUEST_FILENAME} -s [OR] RewriteCond %{REQUEST_FILENAME} -l [OR] RewriteCond %{REQUEST_FILENAME} -d @@ -44,7 +44,7 @@ Alias /icingaweb2 "/usr/share/icingaweb2/public" DirectoryIndex error_norewrite.html - ErrorDocument 404 /icingaweb2/error_norewrite.html + ErrorDocument 404 /error_norewrite.html # Remove comments if you want to use PHP FPM and your Apache version