Custom error page support OLS

This commit is contained in:
istiak101 2021-08-06 18:14:24 +06:00 committed by GitHub
parent 7a200efb4c
commit f1a722a739
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 25 additions and 0 deletions

View File

@ -36,6 +36,18 @@ accesslog $VH_ROOT/logs/$VH_NAME.access_log {
compressArchive 1
}
errorpage 403 {
url 403.html
}
errorpage 404 {
url 404.html
}
errorpage 500 {
url 500.html
}
scripthandler {
add lsapi:{virtualHostUser} php
}
@ -109,6 +121,19 @@ accesslog $VH_ROOT/logs/{masterDomain}.access_log {
phpIniOverride {
{open_basedir}
}
errorpage 403 {
url 403.html
}
errorpage 404 {
url 404.html
}
errorpage 500 {
url 500.html
}
scripthandler {
add lsapi:{externalApp} php
}