{"type":"rich","version":"1.0","provider_name":"phorkie","provider_url":"https:\/\/p.cweiske.de\/","title":"TYPO3 404 handling","author_name":"Christian Weiske","cache_age":86400,"width":900,"height":900,"html":"<!-- embedding all files of https:\/\/p.cweiske.de\/418 -->\n<link rel=\"stylesheet\" href=\"https:\/\/p.cweiske.de\/css\/embed.css\"\/>\n<div class=\"phork\" id=\"418\">\n    <div class=\"phork-file\">\n <div class=\"phork-content\">\n  \n<div class=\"document\">\n\n\n<p><a class=\"reference external\" href=\"https:\/\/docs.typo3.org\/typo3cms\/InsideTypo3Reference\/CoreArchitecture\/Configuration\/LocalConfiguration\/Index.html\">https:\/\/docs.typo3.org\/typo3cms\/InsideTypo3Reference\/CoreArchitecture\/Configuration\/LocalConfiguration\/Index.html<\/a><\/p>\n<p>Taken from the install tool:<\/p>\n<div class=\"section\" id=\"fe-pageunavailable-handling\">\n<h1>[FE][pageUnavailable_handling]<\/h1>\n<p>How TYPO3 should handle requests when pages are unavailable due to system problems.<\/p>\n<dl class=\"docutils\">\n<dt>empty (default)<\/dt>\n<dd>An error message is shown.<\/dd>\n<dt>String<\/dt>\n<dd>HTML file or URL to show (reads content and outputs with correct headers), e.g. 'unavailable.html' or '<a class=\"reference external\" href=\"http:\/\/www.example.org\/errors\/unavailable.html\">http:\/\/www.example.org\/errors\/unavailable.html<\/a>'.<\/dd>\n<dt>Prefix &quot;REDIRECT:&quot;<\/dt>\n<dd>If prefixed &quot;REDIRECT:&quot; it will redirect to the URL\/script after the prefix.<\/dd>\n<dt>Prefix &quot;READFILE:&quot;<\/dt>\n<dd>If prefixed with &quot;READFILE:&quot; then it will expect the remaining string to be a HTML file which will be read and outputted directly after having the marker &quot;###CURRENT_URL###&quot; substituted with REQUEST_URI and ###REASON### with reason text, for example: &quot;READFILE:fileadmin\/unavailable.html&quot;.<\/dd>\n<dt>Prefix &quot;USER_FUNCTION:&quot;<\/dt>\n<dd>If prefixed &quot;USER_FUNCTION:&quot; then it will call a user function, eg. &quot;USER_FUNCTION:fileadmin\/class.user_unavailable.php:user_unavailable-&gt;pageUnavailable&quot; where the file must contain a class &quot;user_unavailable&quot; with a method &quot;pageUnavailable&quot; inside with two parameters $param and $ref. If the client matches [SYS][devIPmask], this setting is ignored and the page is shown as normal.<\/dd>\n<\/dl>\n<\/div>\n<\/div>\n\n <\/div>\n <div class=\"phork-meta\">\n  <a href=\"https:\/\/p.cweiske.de\/418\/rev-raw\/84c4cb5545580454f7d2772250e92f88db0a21a9\/README.rst\" style=\"float: right\">view raw source<\/a>\n  <a href=\"https:\/\/p.cweiske.de\/418#README.rst\">README.rst<\/a>\n <\/div>\n<\/div>\n<\/div>\n"}
