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
|
2013-08-23 11:33:54 +02:00
|
|
|
Order allow,deny
|
|
|
|
Allow from all
|
2014-07-21 13:38:19 +02:00
|
|
|
# new directive needed in Apache 2.4.3+
|
|
|
|
#Require all granted
|
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>
|
|
|
|
|