123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- ###################################################################
- # #
- # 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>
|