(no commit message)
[paste/418.git] / README.rst
1 https://docs.typo3.org/typo3cms/InsideTypo3Reference/CoreArchitecture/Configuration/LocalConfiguration/Index.html\r
2 \r
3 Taken from the install tool:\r
4 \r
5 [FE][pageUnavailable_handling]\r
6 ==============================\r
7 How TYPO3 should handle requests when pages are unavailable due to system problems.\r
8 \r
9 empty (default)\r
10  An error message is shown.\r
11 String\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
13 Prefix "REDIRECT:"\r
14  If prefixed "REDIRECT:" it will redirect to the URL/script after the prefix.\r
15 Prefix "READFILE:"\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.