45 wiersze
1,3 KiB
Text
45 wiersze
1,3 KiB
Text
###################################################################
|
|
# #
|
|
# WARNING: This config file is automatically generated by Puppet. #
|
|
# ANY MANUAL CHANGES TO IT WILL GET OVERWRITTEN! #
|
|
# #
|
|
###################################################################
|
|
|
|
Alias /icingaweb2 "<%= @web_root %>/public"
|
|
|
|
<Directory "<%= @web_root %>/public">
|
|
Options SymLinksIfOwnerMatch
|
|
AllowOverride None
|
|
|
|
<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>
|
|
|
|
SetEnv ICINGAWEB_CONFIGDIR "<%= @config_dir %>"
|
|
|
|
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>
|