2014-06-05 16:54:00 +02:00
|
|
|
Alias @web_path@ "@prefix@/public"
|
2013-08-23 11:33:54 +02:00
|
|
|
|
2014-06-05 16:54:00 +02:00
|
|
|
<Directory "@prefix@/public">
|
|
|
|
Options SymLinksIfOwnerMatch
|
|
|
|
AllowOverride None
|
2014-08-12 09:56:43 +02:00
|
|
|
|
|
|
|
<IfModule mod_authz_core.c>
|
|
|
|
# Apache 2.4
|
|
|
|
<RequireAll>
|
|
|
|
Require all granted
|
|
|
|
</RequireAll>
|
|
|
|
</IfModule>
|
|
|
|
|
|
|
|
<IfModule !mod_authz_core.c>
|
|
|
|
# Apache 2.2
|
|
|
|
Order allow,deny
|
|
|
|
Allow from all
|
|
|
|
</IfModule>
|
2013-08-23 11:33:54 +02:00
|
|
|
|
2014-06-05 16:54:00 +02:00
|
|
|
SetEnv ICINGAWEB_CONFIGDIR @icingaweb_config_path@
|
|
|
|
|
2013-08-23 11:33:54 +02:00
|
|
|
EnableSendfile Off
|
2014-06-05 16:54:00 +02:00
|
|
|
|
|
|
|
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]
|
2013-08-23 11:33:54 +02:00
|
|
|
</Directory>
|
|
|
|
|