Fix ErrorDocument prefix for the Apache webserver
This commit is contained in:
parent
dd8aaec7cf
commit
0a3ab14ca4
|
@ -53,14 +53,14 @@ Alias {urlPath} "{documentRoot}"
|
||||||
|
|
||||||
<IfModule !mod_rewrite.c>
|
<IfModule !mod_rewrite.c>
|
||||||
DirectoryIndex error_norewrite.html
|
DirectoryIndex error_norewrite.html
|
||||||
ErrorDocument 404 /error_norewrite.html
|
ErrorDocument 404 {urlPath}/error_norewrite.html
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
|
||||||
# forwarding PHP requests to FPM
|
# forwarding PHP requests to FPM
|
||||||
# remove comments if you want to use FPM
|
# remove comments if you want to use FPM
|
||||||
#<FilesMatch "\.php$">
|
#<FilesMatch "\.php$">
|
||||||
# SetHandler "proxy:fcgi://127.0.0.1:9000"
|
# SetHandler "proxy:fcgi://127.0.0.1:9000"
|
||||||
# ErrorDocument 503 /icingaweb2/error_unavailable.html
|
# ErrorDocument 503 {urlPath}/error_unavailable.html
|
||||||
#</FilesMatch>
|
#</FilesMatch>
|
||||||
</Directory>
|
</Directory>
|
||||||
EOD;
|
EOD;
|
||||||
|
|
|
@ -35,7 +35,7 @@ Alias /icingaweb2 "/usr/share/icingaweb2/public"
|
||||||
|
|
||||||
<IfModule !mod_rewrite.c>
|
<IfModule !mod_rewrite.c>
|
||||||
DirectoryIndex error_norewrite.html
|
DirectoryIndex error_norewrite.html
|
||||||
ErrorDocument 404 /error_norewrite.html
|
ErrorDocument 404 /icingaweb2/error_norewrite.html
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
|
||||||
# forwarding PHP requests to FPM
|
# forwarding PHP requests to FPM
|
||||||
|
|
|
@ -45,7 +45,7 @@ Alias /icingaweb2 "/usr/share/icingaweb2/public"
|
||||||
|
|
||||||
<IfModule !mod_rewrite.c>
|
<IfModule !mod_rewrite.c>
|
||||||
DirectoryIndex error_norewrite.html
|
DirectoryIndex error_norewrite.html
|
||||||
ErrorDocument 404 /error_norewrite.html
|
ErrorDocument 404 /icingaweb2/error_norewrite.html
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
|
||||||
# forwarding PHP requests to FPM
|
# forwarding PHP requests to FPM
|
||||||
|
|
Loading…
Reference in New Issue