Skip to content

Instantly share code, notes, and snippets.

@BlackhawkG7
BlackhawkG7 / extbase_error404
Created September 17, 2024 08:31
Extbase Error 404
use TYPO3\CMS\Frontend\Controller\ErrorController;
use TYPO3\CMS\Core\Http\ImmediateResponseException;
use TYPO3\CMS\Frontend\Page\PageAccessFailureReasons;
use TYPO3\CMS\Extbase\Mvc\RequestInterface;
/**
* processRequest
*
* @param \TYPO3\CMS\Extbase\Mvc\RequestInterface $request
* @throws \Exception|\TYPO3\CMS\Extbase\Property\Exception
# With certain web servers with Apache / nginx it can happen that the HTTP Authorisation header is not passed through to PHP.
# This can be activated with the following entry in the .htaccess.
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]