icingaweb2/etc/apache/icingaweb.conf.in

24 lines
570 B
Plaintext

Alias @web_path@ "@prefix@/public"
<Directory "@prefix@/public">
Options SymLinksIfOwnerMatch
AllowOverride None
Order allow,deny
Allow from all
# new directive needed in Apache 2.4.3+
#Require all granted
SetEnv ICINGAWEB_CONFIGDIR @icingaweb_config_path@
EnableSendfile Off
RewriteEngine on
RewriteBase @web_path@/
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ index.php [NC,L]
</Directory>