Alias /<%= @web_path %> "/vagrant/public" Options SymLinksIfOwnerMatch AllowOverride None # Apache 2.4 Require all granted # Apache 2.2 Order allow,deny Allow from all SetEnv ICINGAWEB_CONFIGDIR <%= @config %> SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1 EnableSendfile Off DirectoryIndex index.php 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] SetHandler "proxy:fcgi://127.0.0.1:9000" ErrorDocument 503 /icingaweb2/error_unavailable.html DirectoryIndex error_norewrite.html ErrorDocument 404 /error_norewrite.html ProxyTimeout 3600