Page not found handling for TYPO3 - redirects to a different page depending on the type of error (FE login required or 404). Originally developed by the ADFC, this is a heavily changed version of this (non-published) extension.