1 https://docs.typo3.org/typo3cms/InsideTypo3Reference/CoreArchitecture/Configuration/LocalConfiguration/Index.html
\r
3 Taken from the install tool:
\r
5 [FE][pageUnavailable_handling]
\r
6 ==============================
\r
7 How TYPO3 should handle requests when pages are unavailable due to system problems.
\r
10 An error message is shown.
\r
12 HTML file or URL to show (reads content and outputs with correct headers), e.g. 'unavailable.html' or 'http://www.example.org/errors/unavailable.html'.
\r
14 If prefixed "REDIRECT:" it will redirect to the URL/script after the prefix.
\r
16 If prefixed with "READFILE:" then it will expect the remaining string to be a HTML file which will be read and outputted directly after having the marker "###CURRENT_URL###" substituted with REQUEST_URI and ###REASON### with reason text, for example: "READFILE:fileadmin/unavailable.html".
\r
17 Prefix "USER_FUNCTION:"
\r
18 If prefixed "USER_FUNCTION:" then it will call a user function, eg. "USER_FUNCTION:fileadmin/class.user_unavailable.php:user_unavailable->pageUnavailable" where the file must contain a class "user_unavailable" with a method "pageUnavailable" inside with two parameters $param and $ref. If the client matches [SYS][devIPmask], this setting is ignored and the page is shown as normal.