} |
|
/* @var callable $callable */ |
|
$callable = [$this, $request->getParam('action')]; |
|
|
|
return $callable(...array_values($request->getParam('pass'))); |
|
} |
|
|
|
/** |
|
* Merge components, helpers vars from |
'nl-nl' 'colofon'
if ($result instanceof Response) { |
|
return $result; |
|
} |
|
|
|
$response = $controller->invokeAction(); |
|
if ($response !== null && !($response instanceof Response)) { |
|
throw new LogicException('Controller actions can only return Cake\Http\Response or null.'); |
|
} |
|
|
No arguments
} else { |
|
$controller = $this->factory->create($request, $response); |
|
} |
|
|
|
$response = $this->_invoke($controller); |
|
if (isset($request->params['return'])) { |
|
return $response; |
|
} |
|
|
object(FlexiFlatFileCms\Controller\PagesController) { name => 'Pages' helpers => [] request => object(Cake\Http\ServerRequest) { params => [ [maximum depth reached] ] data => [[maximum depth reached]] query => [[maximum depth reached]] cookies => [[maximum depth reached]] url => 'nl-nl/colofon' base => '' webroot => '/' here => '/nl-nl/colofon' trustProxy => false [protected] _environment => [ [maximum depth reached] ] [protected] _input => null [protected] _detectors => [ [maximum depth reached] ] [protected] _detectorCache => [ [maximum depth reached] ] [protected] stream => object(Zend\Diactoros\PhpInputStream) {} [protected] uri => object(Zend\Diactoros\Uri) {} [protected] session => object(Cake\Network\Session) {} [protected] attributes => [[maximum depth reached]] [protected] emulatedAttributes => [ [maximum depth reached] ] [protected] uploadedFiles => [[maximum depth reached]] [protected] protocol => null [protected] requestTarget => null } response => object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ [maximum depth reached] ], 'file' => null, 'fileRange' => [[maximum depth reached]], 'cookies' => object(Cake\Http\Cookie\CookieCollection) {}, 'cacheDirectives' => [[maximum depth reached]], 'body' => '' } paginate => [] autoRender => false components => [] View => object(App\View\AppView) { Blocks => object(Cake\View\ViewBlock) {} plugin => 'FlexiFlatFileCms' name => 'Pages' passedArgs => [ [maximum depth reached] ] helpers => [[maximum depth reached]] templatePath => 'Pages' template => '/Pages/nl-nl/colofon' layout => 'default' layoutPath => null autoLayout => true subDir => null theme => null hasRendered => false uuids => [[maximum depth reached]] request => object(Cake\Http\ServerRequest) {} response => object(Cake\Http\Response) {} elementCache => 'default' viewClass => null viewVars => [ [maximum depth reached] ] Html => object(BootstrapUI\View\Helper\HtmlHelper) {} Form => object(BootstrapUI\View\Helper\FormHelper) {} Flash => object(BootstrapUI\View\Helper\FlashHelper) {} Paginator => object(BootstrapUI\View\Helper\PaginatorHelper) {} Breadcrumbs => object(BootstrapUI\View\Helper\BreadcrumbsHelper) {} Url => object(App\View\Helper\StaticAssetUrlHelper) {} [protected] _helpers => object(Cake\View\HelperRegistry) {} [protected] _ext => '.ctp' [protected] _passedVars => [ [maximum depth reached] ] [protected] _paths => [[maximum depth reached]] [protected] _pathsForPlugin => [ [maximum depth reached] ] [protected] _parents => [[maximum depth reached]] [protected] _current => null [protected] _currentType => '' [protected] _stack => [[maximum depth reached]] [protected] _viewBlockClass => 'Cake\View\ViewBlock' [protected] _eventManager => object(Cake\Event\EventManager) {} [protected] _eventClass => 'Cake\Event\Event' [protected] _viewBuilder => null } plugin => 'FlexiFlatFileCms' passedArgs => [ (int) 0 => 'nl-nl', (int) 1 => 'colofon' ] modelClass => 'FlexiFlatFileCms.Pages' viewClass => null viewVars => [ 'segments' => [ (int) 0 => 'nl-nl', (int) 1 => 'colofon' ], 'baseDomain' => 'zorgeloospakket.nl', 'portalKey' => 'bshCampaign', 'localeForLayout' => 'nl-NL' ] RequestHandler => object(Cake\Controller\Component\RequestHandlerComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [ [maximum depth reached] ], '_config' => [ [maximum depth reached] ] } Flash => object(Cake\Controller\Component\FlashComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [[maximum depth reached]], '_config' => [ [maximum depth reached] ] } [protected] _responseClass => 'Cake\Http\Response' [protected] _components => object(Cake\Controller\ComponentRegistry) { '_Controller' => object(FlexiFlatFileCms\Controller\PagesController) {}, '_loaded' => [ [maximum depth reached] ], '_eventManager' => object(Cake\Event\EventManager) {}, '_eventClass' => 'Cake\Event\Event' } [protected] _validViewOptions => [ (int) 0 => 'passedArgs' ] [protected] _eventManager => object(Cake\Event\EventManager) { '_listeners' => [ [maximum depth reached] ], '_isGlobal' => false, '_trackEvents' => false, '_generalManager' => '(object) EventManager', '_dispatchedEvents' => null } [protected] _eventClass => 'Cake\Event\Event' [protected] _tableLocator => object(Cake\ORM\Locator\TableLocator) { [protected] _config => [[maximum depth reached]] [protected] _instances => [ [maximum depth reached] ] [protected] _fallbacked => [[maximum depth reached]] [protected] _options => [ [maximum depth reached] ] } [protected] _modelFactories => [ 'Table' => [ (int) 0 => object(Cake\ORM\Locator\TableLocator) {}, (int) 1 => 'get' ] ] [protected] _modelType => 'Table' [protected] _viewBuilder => object(Cake\View\ViewBuilder) { [protected] _templatePath => 'Pages' [protected] _template => '/Pages/nl-nl/colofon' [protected] _plugin => 'FlexiFlatFileCms' [protected] _theme => null [protected] _layout => null [protected] _autoLayout => null [protected] _layoutPath => null [protected] _name => 'Pages' [protected] _className => null [protected] _options => [ [maximum depth reached] ] [protected] _helpers => [[maximum depth reached]] } }
* @return \Psr\Http\Message\ResponseInterface |
|
*/ |
|
public function __invoke(ServerRequestInterface $request, ResponseInterface $response, $next) |
|
{ |
|
return $this->getDispatcher()->dispatch($request, $response); |
|
} |
|
|
|
/** |
|
* Get the ActionDispatcher. |
object(Cake\Http\ServerRequest) { params => [ 'pass' => [ (int) 0 => 'nl-nl', (int) 1 => 'colofon' ], 'plugin' => 'FlexiFlatFileCms', 'controller' => 'Pages', 'action' => 'display', '_matchedRoute' => '/*', '_ext' => null, '_csrfToken' => '43f75c87b85e0cbd065a84cf3e9f3775bcb7a65b05285bd2fb635c3455a8661feffd19fb1356b2e5c383b695e7ebd3ffbf47c311f8e7a306ca5b04a245408d6e', 'isAjax' => false ] data => [] query => [] cookies => [] url => 'nl-nl/colofon' base => '' webroot => '/' here => '/nl-nl/colofon' trustProxy => false [protected] _environment => [ 'MODE' => 'prod', 'USER' => 'vc24', 'HOME' => '/home/vc24', 'ORIG_SCRIPT_NAME' => '/php7-fcgi', 'ORIG_PATH_TRANSLATED' => '/home/vc24/www/prod/zorgeloospakket/webroot/index.php', 'ORIG_PATH_INFO' => '/index.php', 'ORIG_SCRIPT_FILENAME' => '/usr/lib/cgi-bin/php7-fcgi-zorgeloospakket-prod-80', 'SCRIPT_NAME' => '/index.php', 'REQUEST_URI' => '/nl-nl/colofon', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/index.php', 'REMOTE_PORT' => '60500', 'SCRIPT_FILENAME' => '/home/vc24/www/prod/zorgeloospakket/webroot/index.php', 'SERVER_ADMIN' => '[no address given]', 'CONTEXT_DOCUMENT_ROOT' => '/usr/lib/cgi-bin/php7-fcgi-zorgeloospakket-prod-80', 'CONTEXT_PREFIX' => '/php7-fcgi', 'REQUEST_SCHEME' => 'http', 'DOCUMENT_ROOT' => '/home/vc24/www/prod/zorgeloospakket/webroot', 'REMOTE_ADDR' => '10.2.2.1', 'SERVER_PORT' => '80', 'SERVER_ADDR' => '10.2.2.51', 'SERVER_NAME' => 'actie.zorgeloospakket.nl', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'HTTP_X_FORWARDED_FOR' => '54.84.65.73', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_HOST' => 'actie.zorgeloospakket.nl', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTPS' => 'on', 'REDIRECT_STATUS' => '200', 'REDIRECT_HANDLER' => 'application/x-httpd-fastphp7', 'REDIRECT_HTTP_CONTENT_TYPE' => '', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => (float) 1710825487.6968, 'REQUEST_TIME' => (int) 1710825487, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_INOAS_BASE_DOMAIN_KEY' => 'zorgeloospakket.nl', 'HTTP_X_INOAS_PORTAL_KEY' => 'bshCampaign', 'HTTP_ACCEPT_LANGUAGE' => 'en-US;q=0.01', 'HTTP_X_ACCEPT_LANGUAGE_ARRAY' => [ '0.01' => [ [maximum depth reached] ] ], 'HTTP_X_ACCEPT_LANGUAGE_WILDCARDS_ARRAY' => [ '0.01' => [ [maximum depth reached] ] ], 'HTTP_X_REQUESTED_WITH' => null, 'HTTP_IF_NONE_MATCH' => null, 'HTTP_IF_MODIFIED_SINCE' => null ] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'ajax' => false, 'get' => true, 'head' => false, 'options' => false ] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'actie.zorgeloospakket.nl' [private] port => null [private] path => '/nl-nl/colofon' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Network\Session) { [protected] _engine => object(Cake\Network\Session\DatabaseSession) {} [protected] _started => false [protected] _lifetime => '7776000' [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [ [maximum depth reached] ] }, 'cacheDirectives' => [], 'body' => '' }
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Cake\Http\ServerRequest) { params => [ 'pass' => [ (int) 0 => 'nl-nl', (int) 1 => 'colofon' ], 'plugin' => 'FlexiFlatFileCms', 'controller' => 'Pages', 'action' => 'display', '_matchedRoute' => '/*', '_ext' => null, '_csrfToken' => '43f75c87b85e0cbd065a84cf3e9f3775bcb7a65b05285bd2fb635c3455a8661feffd19fb1356b2e5c383b695e7ebd3ffbf47c311f8e7a306ca5b04a245408d6e', 'isAjax' => false ] data => [] query => [] cookies => [] url => 'nl-nl/colofon' base => '' webroot => '/' here => '/nl-nl/colofon' trustProxy => false [protected] _environment => [ 'MODE' => 'prod', 'USER' => 'vc24', 'HOME' => '/home/vc24', 'ORIG_SCRIPT_NAME' => '/php7-fcgi', 'ORIG_PATH_TRANSLATED' => '/home/vc24/www/prod/zorgeloospakket/webroot/index.php', 'ORIG_PATH_INFO' => '/index.php', 'ORIG_SCRIPT_FILENAME' => '/usr/lib/cgi-bin/php7-fcgi-zorgeloospakket-prod-80', 'SCRIPT_NAME' => '/index.php', 'REQUEST_URI' => '/nl-nl/colofon', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/index.php', 'REMOTE_PORT' => '60500', 'SCRIPT_FILENAME' => '/home/vc24/www/prod/zorgeloospakket/webroot/index.php', 'SERVER_ADMIN' => '[no address given]', 'CONTEXT_DOCUMENT_ROOT' => '/usr/lib/cgi-bin/php7-fcgi-zorgeloospakket-prod-80', 'CONTEXT_PREFIX' => '/php7-fcgi', 'REQUEST_SCHEME' => 'http', 'DOCUMENT_ROOT' => '/home/vc24/www/prod/zorgeloospakket/webroot', 'REMOTE_ADDR' => '10.2.2.1', 'SERVER_PORT' => '80', 'SERVER_ADDR' => '10.2.2.51', 'SERVER_NAME' => 'actie.zorgeloospakket.nl', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'HTTP_X_FORWARDED_FOR' => '54.84.65.73', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_HOST' => 'actie.zorgeloospakket.nl', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTPS' => 'on', 'REDIRECT_STATUS' => '200', 'REDIRECT_HANDLER' => 'application/x-httpd-fastphp7', 'REDIRECT_HTTP_CONTENT_TYPE' => '', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => (float) 1710825487.6968, 'REQUEST_TIME' => (int) 1710825487, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_INOAS_BASE_DOMAIN_KEY' => 'zorgeloospakket.nl', 'HTTP_X_INOAS_PORTAL_KEY' => 'bshCampaign', 'HTTP_ACCEPT_LANGUAGE' => 'en-US;q=0.01', 'HTTP_X_ACCEPT_LANGUAGE_ARRAY' => [ '0.01' => [ [maximum depth reached] ] ], 'HTTP_X_ACCEPT_LANGUAGE_WILDCARDS_ARRAY' => [ '0.01' => [ [maximum depth reached] ] ], 'HTTP_X_REQUESTED_WITH' => null, 'HTTP_IF_NONE_MATCH' => null, 'HTTP_IF_MODIFIED_SINCE' => null ] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'ajax' => false, 'get' => true, 'head' => false, 'options' => false ] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'actie.zorgeloospakket.nl' [private] port => null [private] path => '/nl-nl/colofon' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Network\Session) { [protected] _engine => object(Cake\Network\Session\DatabaseSession) {} [protected] _started => false [protected] _lifetime => '7776000' [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [ [maximum depth reached] ] }, 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 10 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
*/ |
|
public function __invoke($request, $response, $next) : ResponseInterface |
|
{ |
|
// Calling $next() delegates control to the *next* middleware in your application's queue. |
|
$response = $next($request, $response); |
|
|
|
$response = $response |
|
->withHeader('X-UA-Compatible', 'IE=edge,chrome=1') |
|
->withHeader('Generator', 'inoas <mail@inoas.com>'); |
object(Cake\Http\ServerRequest) { params => [ 'pass' => [ (int) 0 => 'nl-nl', (int) 1 => 'colofon' ], 'plugin' => 'FlexiFlatFileCms', 'controller' => 'Pages', 'action' => 'display', '_matchedRoute' => '/*', '_ext' => null, '_csrfToken' => '43f75c87b85e0cbd065a84cf3e9f3775bcb7a65b05285bd2fb635c3455a8661feffd19fb1356b2e5c383b695e7ebd3ffbf47c311f8e7a306ca5b04a245408d6e', 'isAjax' => false ] data => [] query => [] cookies => [] url => 'nl-nl/colofon' base => '' webroot => '/' here => '/nl-nl/colofon' trustProxy => false [protected] _environment => [ 'MODE' => 'prod', 'USER' => 'vc24', 'HOME' => '/home/vc24', 'ORIG_SCRIPT_NAME' => '/php7-fcgi', 'ORIG_PATH_TRANSLATED' => '/home/vc24/www/prod/zorgeloospakket/webroot/index.php', 'ORIG_PATH_INFO' => '/index.php', 'ORIG_SCRIPT_FILENAME' => '/usr/lib/cgi-bin/php7-fcgi-zorgeloospakket-prod-80', 'SCRIPT_NAME' => '/index.php', 'REQUEST_URI' => '/nl-nl/colofon', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/index.php', 'REMOTE_PORT' => '60500', 'SCRIPT_FILENAME' => '/home/vc24/www/prod/zorgeloospakket/webroot/index.php', 'SERVER_ADMIN' => '[no address given]', 'CONTEXT_DOCUMENT_ROOT' => '/usr/lib/cgi-bin/php7-fcgi-zorgeloospakket-prod-80', 'CONTEXT_PREFIX' => '/php7-fcgi', 'REQUEST_SCHEME' => 'http', 'DOCUMENT_ROOT' => '/home/vc24/www/prod/zorgeloospakket/webroot', 'REMOTE_ADDR' => '10.2.2.1', 'SERVER_PORT' => '80', 'SERVER_ADDR' => '10.2.2.51', 'SERVER_NAME' => 'actie.zorgeloospakket.nl', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'HTTP_X_FORWARDED_FOR' => '54.84.65.73', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_HOST' => 'actie.zorgeloospakket.nl', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTPS' => 'on', 'REDIRECT_STATUS' => '200', 'REDIRECT_HANDLER' => 'application/x-httpd-fastphp7', 'REDIRECT_HTTP_CONTENT_TYPE' => '', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => (float) 1710825487.6968, 'REQUEST_TIME' => (int) 1710825487, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_INOAS_BASE_DOMAIN_KEY' => 'zorgeloospakket.nl', 'HTTP_X_INOAS_PORTAL_KEY' => 'bshCampaign', 'HTTP_ACCEPT_LANGUAGE' => 'en-US;q=0.01', 'HTTP_X_ACCEPT_LANGUAGE_ARRAY' => [ '0.01' => [ [maximum depth reached] ] ], 'HTTP_X_ACCEPT_LANGUAGE_WILDCARDS_ARRAY' => [ '0.01' => [ [maximum depth reached] ] ], 'HTTP_X_REQUESTED_WITH' => null, 'HTTP_IF_NONE_MATCH' => null, 'HTTP_IF_MODIFIED_SINCE' => null ] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'ajax' => false, 'get' => true, 'head' => false, 'options' => false ] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'actie.zorgeloospakket.nl' [private] port => null [private] path => '/nl-nl/colofon' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Network\Session) { [protected] _engine => object(Cake\Network\Session\DatabaseSession) {} [protected] _started => false [protected] _lifetime => '7776000' [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [ [maximum depth reached] ] }, 'cacheDirectives' => [], 'body' => '' }
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Cake\Http\ServerRequest) { params => [ 'pass' => [ (int) 0 => 'nl-nl', (int) 1 => 'colofon' ], 'plugin' => 'FlexiFlatFileCms', 'controller' => 'Pages', 'action' => 'display', '_matchedRoute' => '/*', '_ext' => null, '_csrfToken' => '43f75c87b85e0cbd065a84cf3e9f3775bcb7a65b05285bd2fb635c3455a8661feffd19fb1356b2e5c383b695e7ebd3ffbf47c311f8e7a306ca5b04a245408d6e', 'isAjax' => false ] data => [] query => [] cookies => [] url => 'nl-nl/colofon' base => '' webroot => '/' here => '/nl-nl/colofon' trustProxy => false [protected] _environment => [ 'MODE' => 'prod', 'USER' => 'vc24', 'HOME' => '/home/vc24', 'ORIG_SCRIPT_NAME' => '/php7-fcgi', 'ORIG_PATH_TRANSLATED' => '/home/vc24/www/prod/zorgeloospakket/webroot/index.php', 'ORIG_PATH_INFO' => '/index.php', 'ORIG_SCRIPT_FILENAME' => '/usr/lib/cgi-bin/php7-fcgi-zorgeloospakket-prod-80', 'SCRIPT_NAME' => '/index.php', 'REQUEST_URI' => '/nl-nl/colofon', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/index.php', 'REMOTE_PORT' => '60500', 'SCRIPT_FILENAME' => '/home/vc24/www/prod/zorgeloospakket/webroot/index.php', 'SERVER_ADMIN' => '[no address given]', 'CONTEXT_DOCUMENT_ROOT' => '/usr/lib/cgi-bin/php7-fcgi-zorgeloospakket-prod-80', 'CONTEXT_PREFIX' => '/php7-fcgi', 'REQUEST_SCHEME' => 'http', 'DOCUMENT_ROOT' => '/home/vc24/www/prod/zorgeloospakket/webroot', 'REMOTE_ADDR' => '10.2.2.1', 'SERVER_PORT' => '80', 'SERVER_ADDR' => '10.2.2.51', 'SERVER_NAME' => 'actie.zorgeloospakket.nl', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'HTTP_X_FORWARDED_FOR' => '54.84.65.73', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_HOST' => 'actie.zorgeloospakket.nl', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTPS' => 'on', 'REDIRECT_STATUS' => '200', 'REDIRECT_HANDLER' => 'application/x-httpd-fastphp7', 'REDIRECT_HTTP_CONTENT_TYPE' => '', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => (float) 1710825487.6968, 'REQUEST_TIME' => (int) 1710825487, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_INOAS_BASE_DOMAIN_KEY' => 'zorgeloospakket.nl', 'HTTP_X_INOAS_PORTAL_KEY' => 'bshCampaign', 'HTTP_ACCEPT_LANGUAGE' => 'en-US;q=0.01', 'HTTP_X_ACCEPT_LANGUAGE_ARRAY' => [ '0.01' => [ [maximum depth reached] ] ], 'HTTP_X_ACCEPT_LANGUAGE_WILDCARDS_ARRAY' => [ '0.01' => [ [maximum depth reached] ] ], 'HTTP_X_REQUESTED_WITH' => null, 'HTTP_IF_NONE_MATCH' => null, 'HTTP_IF_MODIFIED_SINCE' => null ] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'ajax' => false, 'get' => true, 'head' => false, 'options' => false ] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'actie.zorgeloospakket.nl' [private] port => null [private] path => '/nl-nl/colofon' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Network\Session) { [protected] _engine => object(Cake\Network\Session\DatabaseSession) {} [protected] _started => false [protected] _lifetime => '7776000' [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [ [maximum depth reached] ] }, 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 10 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
$token = $this->_createToken(); |
|
$request = $this->_addTokenToRequest($token, $request); |
|
$response = $this->_addTokenCookie($token, $request, $response); |
|
|
|
return $next($request, $response); |
|
} |
|
$request = $this->_validateAndUnsetTokenField($request); |
|
|
|
return $next($request, $response); |
object(Cake\Http\ServerRequest) { params => [ 'pass' => [ (int) 0 => 'nl-nl', (int) 1 => 'colofon' ], 'plugin' => 'FlexiFlatFileCms', 'controller' => 'Pages', 'action' => 'display', '_matchedRoute' => '/*', '_ext' => null, '_csrfToken' => '43f75c87b85e0cbd065a84cf3e9f3775bcb7a65b05285bd2fb635c3455a8661feffd19fb1356b2e5c383b695e7ebd3ffbf47c311f8e7a306ca5b04a245408d6e', 'isAjax' => false ] data => [] query => [] cookies => [] url => 'nl-nl/colofon' base => '' webroot => '/' here => '/nl-nl/colofon' trustProxy => false [protected] _environment => [ 'MODE' => 'prod', 'USER' => 'vc24', 'HOME' => '/home/vc24', 'ORIG_SCRIPT_NAME' => '/php7-fcgi', 'ORIG_PATH_TRANSLATED' => '/home/vc24/www/prod/zorgeloospakket/webroot/index.php', 'ORIG_PATH_INFO' => '/index.php', 'ORIG_SCRIPT_FILENAME' => '/usr/lib/cgi-bin/php7-fcgi-zorgeloospakket-prod-80', 'SCRIPT_NAME' => '/index.php', 'REQUEST_URI' => '/nl-nl/colofon', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/index.php', 'REMOTE_PORT' => '60500', 'SCRIPT_FILENAME' => '/home/vc24/www/prod/zorgeloospakket/webroot/index.php', 'SERVER_ADMIN' => '[no address given]', 'CONTEXT_DOCUMENT_ROOT' => '/usr/lib/cgi-bin/php7-fcgi-zorgeloospakket-prod-80', 'CONTEXT_PREFIX' => '/php7-fcgi', 'REQUEST_SCHEME' => 'http', 'DOCUMENT_ROOT' => '/home/vc24/www/prod/zorgeloospakket/webroot', 'REMOTE_ADDR' => '10.2.2.1', 'SERVER_PORT' => '80', 'SERVER_ADDR' => '10.2.2.51', 'SERVER_NAME' => 'actie.zorgeloospakket.nl', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'HTTP_X_FORWARDED_FOR' => '54.84.65.73', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_HOST' => 'actie.zorgeloospakket.nl', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTPS' => 'on', 'REDIRECT_STATUS' => '200', 'REDIRECT_HANDLER' => 'application/x-httpd-fastphp7', 'REDIRECT_HTTP_CONTENT_TYPE' => '', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => (float) 1710825487.6968, 'REQUEST_TIME' => (int) 1710825487, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_INOAS_BASE_DOMAIN_KEY' => 'zorgeloospakket.nl', 'HTTP_X_INOAS_PORTAL_KEY' => 'bshCampaign', 'HTTP_ACCEPT_LANGUAGE' => 'en-US;q=0.01', 'HTTP_X_ACCEPT_LANGUAGE_ARRAY' => [ '0.01' => [ [maximum depth reached] ] ], 'HTTP_X_ACCEPT_LANGUAGE_WILDCARDS_ARRAY' => [ '0.01' => [ [maximum depth reached] ] ], 'HTTP_X_REQUESTED_WITH' => null, 'HTTP_IF_NONE_MATCH' => null, 'HTTP_IF_MODIFIED_SINCE' => null ] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'ajax' => false, 'get' => true, 'head' => false, 'options' => false ] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'actie.zorgeloospakket.nl' [private] port => null [private] path => '/nl-nl/colofon' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Network\Session) { [protected] _engine => object(Cake\Network\Session\DatabaseSession) {} [protected] _started => false [protected] _lifetime => '7776000' [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [ [maximum depth reached] ] }, 'cacheDirectives' => [], 'body' => '' }
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Cake\Http\ServerRequest) { params => [ 'pass' => [ (int) 0 => 'nl-nl', (int) 1 => 'colofon' ], 'plugin' => 'FlexiFlatFileCms', 'controller' => 'Pages', 'action' => 'display', '_matchedRoute' => '/*', '_ext' => null, '_csrfToken' => '43f75c87b85e0cbd065a84cf3e9f3775bcb7a65b05285bd2fb635c3455a8661feffd19fb1356b2e5c383b695e7ebd3ffbf47c311f8e7a306ca5b04a245408d6e', 'isAjax' => false ] data => [] query => [] cookies => [] url => 'nl-nl/colofon' base => '' webroot => '/' here => '/nl-nl/colofon' trustProxy => false [protected] _environment => [ 'MODE' => 'prod', 'USER' => 'vc24', 'HOME' => '/home/vc24', 'ORIG_SCRIPT_NAME' => '/php7-fcgi', 'ORIG_PATH_TRANSLATED' => '/home/vc24/www/prod/zorgeloospakket/webroot/index.php', 'ORIG_PATH_INFO' => '/index.php', 'ORIG_SCRIPT_FILENAME' => '/usr/lib/cgi-bin/php7-fcgi-zorgeloospakket-prod-80', 'SCRIPT_NAME' => '/index.php', 'REQUEST_URI' => '/nl-nl/colofon', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/index.php', 'REMOTE_PORT' => '60500', 'SCRIPT_FILENAME' => '/home/vc24/www/prod/zorgeloospakket/webroot/index.php', 'SERVER_ADMIN' => '[no address given]', 'CONTEXT_DOCUMENT_ROOT' => '/usr/lib/cgi-bin/php7-fcgi-zorgeloospakket-prod-80', 'CONTEXT_PREFIX' => '/php7-fcgi', 'REQUEST_SCHEME' => 'http', 'DOCUMENT_ROOT' => '/home/vc24/www/prod/zorgeloospakket/webroot', 'REMOTE_ADDR' => '10.2.2.1', 'SERVER_PORT' => '80', 'SERVER_ADDR' => '10.2.2.51', 'SERVER_NAME' => 'actie.zorgeloospakket.nl', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'HTTP_X_FORWARDED_FOR' => '54.84.65.73', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_HOST' => 'actie.zorgeloospakket.nl', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTPS' => 'on', 'REDIRECT_STATUS' => '200', 'REDIRECT_HANDLER' => 'application/x-httpd-fastphp7', 'REDIRECT_HTTP_CONTENT_TYPE' => '', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => (float) 1710825487.6968, 'REQUEST_TIME' => (int) 1710825487, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_INOAS_BASE_DOMAIN_KEY' => 'zorgeloospakket.nl', 'HTTP_X_INOAS_PORTAL_KEY' => 'bshCampaign', 'HTTP_ACCEPT_LANGUAGE' => 'en-US;q=0.01', 'HTTP_X_ACCEPT_LANGUAGE_ARRAY' => [ '0.01' => [ [maximum depth reached] ] ], 'HTTP_X_ACCEPT_LANGUAGE_WILDCARDS_ARRAY' => [ '0.01' => [ [maximum depth reached] ] ], 'HTTP_X_REQUESTED_WITH' => null, 'HTTP_IF_NONE_MATCH' => null, 'HTTP_IF_MODIFIED_SINCE' => null ] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'ajax' => false, 'get' => true, 'head' => false, 'options' => false ] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'actie.zorgeloospakket.nl' [private] port => null [private] path => '/nl-nl/colofon' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Network\Session) { [protected] _engine => object(Cake\Network\Session\DatabaseSession) {} [protected] _started => false [protected] _lifetime => '7776000' [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [ [maximum depth reached] ] }, 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 10 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
); |
|
} |
|
$matching = Router::getRouteCollection()->getMiddleware($middleware); |
|
if (!$matching) { |
|
return $next($request, $response); |
|
} |
|
$matching[] = $next; |
|
$middleware = new MiddlewareQueue($matching); |
|
$runner = new Runner(); |
object(Cake\Http\ServerRequest) { params => [ 'pass' => [ (int) 0 => 'nl-nl', (int) 1 => 'colofon' ], 'plugin' => 'FlexiFlatFileCms', 'controller' => 'Pages', 'action' => 'display', '_matchedRoute' => '/*', '_ext' => null ] data => [] query => [] cookies => [] url => 'nl-nl/colofon' base => '' webroot => '/' here => '/nl-nl/colofon' trustProxy => false [protected] _environment => [ 'MODE' => 'prod', 'USER' => 'vc24', 'HOME' => '/home/vc24', 'ORIG_SCRIPT_NAME' => '/php7-fcgi', 'ORIG_PATH_TRANSLATED' => '/home/vc24/www/prod/zorgeloospakket/webroot/index.php', 'ORIG_PATH_INFO' => '/index.php', 'ORIG_SCRIPT_FILENAME' => '/usr/lib/cgi-bin/php7-fcgi-zorgeloospakket-prod-80', 'SCRIPT_NAME' => '/index.php', 'REQUEST_URI' => '/nl-nl/colofon', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/index.php', 'REMOTE_PORT' => '60500', 'SCRIPT_FILENAME' => '/home/vc24/www/prod/zorgeloospakket/webroot/index.php', 'SERVER_ADMIN' => '[no address given]', 'CONTEXT_DOCUMENT_ROOT' => '/usr/lib/cgi-bin/php7-fcgi-zorgeloospakket-prod-80', 'CONTEXT_PREFIX' => '/php7-fcgi', 'REQUEST_SCHEME' => 'http', 'DOCUMENT_ROOT' => '/home/vc24/www/prod/zorgeloospakket/webroot', 'REMOTE_ADDR' => '10.2.2.1', 'SERVER_PORT' => '80', 'SERVER_ADDR' => '10.2.2.51', 'SERVER_NAME' => 'actie.zorgeloospakket.nl', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'HTTP_X_FORWARDED_FOR' => '54.84.65.73', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_HOST' => 'actie.zorgeloospakket.nl', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTPS' => 'on', 'REDIRECT_STATUS' => '200', 'REDIRECT_HANDLER' => 'application/x-httpd-fastphp7', 'REDIRECT_HTTP_CONTENT_TYPE' => '', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => (float) 1710825487.6968, 'REQUEST_TIME' => (int) 1710825487, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_INOAS_BASE_DOMAIN_KEY' => 'zorgeloospakket.nl', 'HTTP_X_INOAS_PORTAL_KEY' => 'bshCampaign', 'HTTP_ACCEPT_LANGUAGE' => 'en-US;q=0.01', 'HTTP_X_ACCEPT_LANGUAGE_ARRAY' => [ '0.01' => [ [maximum depth reached] ] ], 'HTTP_X_ACCEPT_LANGUAGE_WILDCARDS_ARRAY' => [ '0.01' => [ [maximum depth reached] ] ] ] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'actie.zorgeloospakket.nl' [private] port => null [private] path => '/nl-nl/colofon' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Network\Session) { [protected] _engine => object(Cake\Network\Session\DatabaseSession) {} [protected] _started => false [protected] _lifetime => '7776000' [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' }
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Cake\Http\ServerRequest) { params => [ 'pass' => [ (int) 0 => 'nl-nl', (int) 1 => 'colofon' ], 'plugin' => 'FlexiFlatFileCms', 'controller' => 'Pages', 'action' => 'display', '_matchedRoute' => '/*', '_ext' => null ] data => [] query => [] cookies => [] url => 'nl-nl/colofon' base => '' webroot => '/' here => '/nl-nl/colofon' trustProxy => false [protected] _environment => [ 'MODE' => 'prod', 'USER' => 'vc24', 'HOME' => '/home/vc24', 'ORIG_SCRIPT_NAME' => '/php7-fcgi', 'ORIG_PATH_TRANSLATED' => '/home/vc24/www/prod/zorgeloospakket/webroot/index.php', 'ORIG_PATH_INFO' => '/index.php', 'ORIG_SCRIPT_FILENAME' => '/usr/lib/cgi-bin/php7-fcgi-zorgeloospakket-prod-80', 'SCRIPT_NAME' => '/index.php', 'REQUEST_URI' => '/nl-nl/colofon', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/index.php', 'REMOTE_PORT' => '60500', 'SCRIPT_FILENAME' => '/home/vc24/www/prod/zorgeloospakket/webroot/index.php', 'SERVER_ADMIN' => '[no address given]', 'CONTEXT_DOCUMENT_ROOT' => '/usr/lib/cgi-bin/php7-fcgi-zorgeloospakket-prod-80', 'CONTEXT_PREFIX' => '/php7-fcgi', 'REQUEST_SCHEME' => 'http', 'DOCUMENT_ROOT' => '/home/vc24/www/prod/zorgeloospakket/webroot', 'REMOTE_ADDR' => '10.2.2.1', 'SERVER_PORT' => '80', 'SERVER_ADDR' => '10.2.2.51', 'SERVER_NAME' => 'actie.zorgeloospakket.nl', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'HTTP_X_FORWARDED_FOR' => '54.84.65.73', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_HOST' => 'actie.zorgeloospakket.nl', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTPS' => 'on', 'REDIRECT_STATUS' => '200', 'REDIRECT_HANDLER' => 'application/x-httpd-fastphp7', 'REDIRECT_HTTP_CONTENT_TYPE' => '', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => (float) 1710825487.6968, 'REQUEST_TIME' => (int) 1710825487, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_INOAS_BASE_DOMAIN_KEY' => 'zorgeloospakket.nl', 'HTTP_X_INOAS_PORTAL_KEY' => 'bshCampaign', 'HTTP_ACCEPT_LANGUAGE' => 'en-US;q=0.01', 'HTTP_X_ACCEPT_LANGUAGE_ARRAY' => [ '0.01' => [ [maximum depth reached] ] ], 'HTTP_X_ACCEPT_LANGUAGE_WILDCARDS_ARRAY' => [ '0.01' => [ [maximum depth reached] ] ] ] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'actie.zorgeloospakket.nl' [private] port => null [private] path => '/nl-nl/colofon' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Network\Session) { [protected] _engine => object(Cake\Network\Session\DatabaseSession) {} [protected] _started => false [protected] _lifetime => '7776000' [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 10 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
} |
|
$envSystemDefaultLocale = Configure::readOrFail('Env.systemFallbackLocale'); |
|
$httpAcceptLanguages .= ",{$envSystemDefaultLocale};q=0.01"; |
|
$request = $this->withNormalizedAcceptLanguage($request, $httpAcceptLanguages); |
|
$response = $next($request, $response); |
|
|
|
return $response; |
|
} |
|
|
object(Cake\Http\ServerRequest) { params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] data => [] query => [] cookies => [] url => 'nl-nl/colofon' base => '' webroot => '/' here => '/nl-nl/colofon' trustProxy => false [protected] _environment => [ 'MODE' => 'prod', 'USER' => 'vc24', 'HOME' => '/home/vc24', 'ORIG_SCRIPT_NAME' => '/php7-fcgi', 'ORIG_PATH_TRANSLATED' => '/home/vc24/www/prod/zorgeloospakket/webroot/index.php', 'ORIG_PATH_INFO' => '/index.php', 'ORIG_SCRIPT_FILENAME' => '/usr/lib/cgi-bin/php7-fcgi-zorgeloospakket-prod-80', 'SCRIPT_NAME' => '/index.php', 'REQUEST_URI' => '/nl-nl/colofon', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/index.php', 'REMOTE_PORT' => '60500', 'SCRIPT_FILENAME' => '/home/vc24/www/prod/zorgeloospakket/webroot/index.php', 'SERVER_ADMIN' => '[no address given]', 'CONTEXT_DOCUMENT_ROOT' => '/usr/lib/cgi-bin/php7-fcgi-zorgeloospakket-prod-80', 'CONTEXT_PREFIX' => '/php7-fcgi', 'REQUEST_SCHEME' => 'http', 'DOCUMENT_ROOT' => '/home/vc24/www/prod/zorgeloospakket/webroot', 'REMOTE_ADDR' => '10.2.2.1', 'SERVER_PORT' => '80', 'SERVER_ADDR' => '10.2.2.51', 'SERVER_NAME' => 'actie.zorgeloospakket.nl', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'HTTP_X_FORWARDED_FOR' => '54.84.65.73', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_HOST' => 'actie.zorgeloospakket.nl', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTPS' => 'on', 'REDIRECT_STATUS' => '200', 'REDIRECT_HANDLER' => 'application/x-httpd-fastphp7', 'REDIRECT_HTTP_CONTENT_TYPE' => '', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => (float) 1710825487.6968, 'REQUEST_TIME' => (int) 1710825487, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_INOAS_BASE_DOMAIN_KEY' => 'zorgeloospakket.nl', 'HTTP_X_INOAS_PORTAL_KEY' => 'bshCampaign', 'HTTP_ACCEPT_LANGUAGE' => 'en-US;q=0.01', 'HTTP_X_ACCEPT_LANGUAGE_ARRAY' => [ '0.01' => [ [maximum depth reached] ] ], 'HTTP_X_ACCEPT_LANGUAGE_WILDCARDS_ARRAY' => [ '0.01' => [ [maximum depth reached] ] ] ] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'actie.zorgeloospakket.nl' [private] port => null [private] path => '/nl-nl/colofon' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Network\Session) { [protected] _engine => object(Cake\Network\Session\DatabaseSession) {} [protected] _started => false [protected] _lifetime => '7776000' [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' }
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Cake\Http\ServerRequest) { params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] data => [] query => [] cookies => [] url => 'nl-nl/colofon' base => '' webroot => '/' here => '/nl-nl/colofon' trustProxy => false [protected] _environment => [ 'MODE' => 'prod', 'USER' => 'vc24', 'HOME' => '/home/vc24', 'ORIG_SCRIPT_NAME' => '/php7-fcgi', 'ORIG_PATH_TRANSLATED' => '/home/vc24/www/prod/zorgeloospakket/webroot/index.php', 'ORIG_PATH_INFO' => '/index.php', 'ORIG_SCRIPT_FILENAME' => '/usr/lib/cgi-bin/php7-fcgi-zorgeloospakket-prod-80', 'SCRIPT_NAME' => '/index.php', 'REQUEST_URI' => '/nl-nl/colofon', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/index.php', 'REMOTE_PORT' => '60500', 'SCRIPT_FILENAME' => '/home/vc24/www/prod/zorgeloospakket/webroot/index.php', 'SERVER_ADMIN' => '[no address given]', 'CONTEXT_DOCUMENT_ROOT' => '/usr/lib/cgi-bin/php7-fcgi-zorgeloospakket-prod-80', 'CONTEXT_PREFIX' => '/php7-fcgi', 'REQUEST_SCHEME' => 'http', 'DOCUMENT_ROOT' => '/home/vc24/www/prod/zorgeloospakket/webroot', 'REMOTE_ADDR' => '10.2.2.1', 'SERVER_PORT' => '80', 'SERVER_ADDR' => '10.2.2.51', 'SERVER_NAME' => 'actie.zorgeloospakket.nl', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'HTTP_X_FORWARDED_FOR' => '54.84.65.73', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_HOST' => 'actie.zorgeloospakket.nl', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTPS' => 'on', 'REDIRECT_STATUS' => '200', 'REDIRECT_HANDLER' => 'application/x-httpd-fastphp7', 'REDIRECT_HTTP_CONTENT_TYPE' => '', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => (float) 1710825487.6968, 'REQUEST_TIME' => (int) 1710825487, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_INOAS_BASE_DOMAIN_KEY' => 'zorgeloospakket.nl', 'HTTP_X_INOAS_PORTAL_KEY' => 'bshCampaign', 'HTTP_ACCEPT_LANGUAGE' => 'en-US;q=0.01', 'HTTP_X_ACCEPT_LANGUAGE_ARRAY' => [ '0.01' => [ [maximum depth reached] ] ], 'HTTP_X_ACCEPT_LANGUAGE_WILDCARDS_ARRAY' => [ '0.01' => [ [maximum depth reached] ] ] ] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'actie.zorgeloospakket.nl' [private] port => null [private] path => '/nl-nl/colofon' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Network\Session) { [protected] _engine => object(Cake\Network\Session\DatabaseSession) {} [protected] _started => false [protected] _lifetime => '7776000' [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 10 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
public function __invoke($request, $response, $next) |
|
{ |
|
$url = $request->getUri()->getPath(); |
|
if (strpos($url, '..') !== false || strpos($url, '.') === false) { |
|
return $next($request, $response); |
|
} |
|
|
|
if (strpos($url, '/.') !== false) { |
|
return $next($request, $response); |
object(Cake\Http\ServerRequest) { params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] data => [] query => [] cookies => [] url => 'nl-nl/colofon' base => '' webroot => '/' here => '/nl-nl/colofon' trustProxy => false [protected] _environment => [ 'MODE' => 'prod', 'USER' => 'vc24', 'HOME' => '/home/vc24', 'ORIG_SCRIPT_NAME' => '/php7-fcgi', 'ORIG_PATH_TRANSLATED' => '/home/vc24/www/prod/zorgeloospakket/webroot/index.php', 'ORIG_PATH_INFO' => '/index.php', 'ORIG_SCRIPT_FILENAME' => '/usr/lib/cgi-bin/php7-fcgi-zorgeloospakket-prod-80', 'SCRIPT_NAME' => '/index.php', 'REQUEST_URI' => '/nl-nl/colofon', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/index.php', 'REMOTE_PORT' => '60500', 'SCRIPT_FILENAME' => '/home/vc24/www/prod/zorgeloospakket/webroot/index.php', 'SERVER_ADMIN' => '[no address given]', 'CONTEXT_DOCUMENT_ROOT' => '/usr/lib/cgi-bin/php7-fcgi-zorgeloospakket-prod-80', 'CONTEXT_PREFIX' => '/php7-fcgi', 'REQUEST_SCHEME' => 'http', 'DOCUMENT_ROOT' => '/home/vc24/www/prod/zorgeloospakket/webroot', 'REMOTE_ADDR' => '10.2.2.1', 'SERVER_PORT' => '80', 'SERVER_ADDR' => '10.2.2.51', 'SERVER_NAME' => 'actie.zorgeloospakket.nl', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'HTTP_X_FORWARDED_FOR' => '54.84.65.73', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_HOST' => 'actie.zorgeloospakket.nl', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTPS' => 'on', 'REDIRECT_STATUS' => '200', 'REDIRECT_HANDLER' => 'application/x-httpd-fastphp7', 'REDIRECT_HTTP_CONTENT_TYPE' => '', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => (float) 1710825487.6968, 'REQUEST_TIME' => (int) 1710825487, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_INOAS_BASE_DOMAIN_KEY' => 'zorgeloospakket.nl', 'HTTP_X_INOAS_PORTAL_KEY' => 'bshCampaign' ] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'actie.zorgeloospakket.nl' [private] port => null [private] path => '/nl-nl/colofon' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Network\Session) { [protected] _engine => object(Cake\Network\Session\DatabaseSession) {} [protected] _started => false [protected] _lifetime => '7776000' [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' }
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Cake\Http\ServerRequest) { params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] data => [] query => [] cookies => [] url => 'nl-nl/colofon' base => '' webroot => '/' here => '/nl-nl/colofon' trustProxy => false [protected] _environment => [ 'MODE' => 'prod', 'USER' => 'vc24', 'HOME' => '/home/vc24', 'ORIG_SCRIPT_NAME' => '/php7-fcgi', 'ORIG_PATH_TRANSLATED' => '/home/vc24/www/prod/zorgeloospakket/webroot/index.php', 'ORIG_PATH_INFO' => '/index.php', 'ORIG_SCRIPT_FILENAME' => '/usr/lib/cgi-bin/php7-fcgi-zorgeloospakket-prod-80', 'SCRIPT_NAME' => '/index.php', 'REQUEST_URI' => '/nl-nl/colofon', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/index.php', 'REMOTE_PORT' => '60500', 'SCRIPT_FILENAME' => '/home/vc24/www/prod/zorgeloospakket/webroot/index.php', 'SERVER_ADMIN' => '[no address given]', 'CONTEXT_DOCUMENT_ROOT' => '/usr/lib/cgi-bin/php7-fcgi-zorgeloospakket-prod-80', 'CONTEXT_PREFIX' => '/php7-fcgi', 'REQUEST_SCHEME' => 'http', 'DOCUMENT_ROOT' => '/home/vc24/www/prod/zorgeloospakket/webroot', 'REMOTE_ADDR' => '10.2.2.1', 'SERVER_PORT' => '80', 'SERVER_ADDR' => '10.2.2.51', 'SERVER_NAME' => 'actie.zorgeloospakket.nl', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'HTTP_X_FORWARDED_FOR' => '54.84.65.73', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_HOST' => 'actie.zorgeloospakket.nl', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTPS' => 'on', 'REDIRECT_STATUS' => '200', 'REDIRECT_HANDLER' => 'application/x-httpd-fastphp7', 'REDIRECT_HTTP_CONTENT_TYPE' => '', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => (float) 1710825487.6968, 'REQUEST_TIME' => (int) 1710825487, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_INOAS_BASE_DOMAIN_KEY' => 'zorgeloospakket.nl', 'HTTP_X_INOAS_PORTAL_KEY' => 'bshCampaign' ] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'actie.zorgeloospakket.nl' [private] port => null [private] path => '/nl-nl/colofon' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Network\Session) { [protected] _engine => object(Cake\Network\Session\DatabaseSession) {} [protected] _started => false [protected] _lifetime => '7776000' [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 10 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
$request = $request->withData($key, $value); |
|
} |
|
|
|
// Calling $next() delegates control to the *next* middleware in your application's queue. |
|
$response = $next($request, $response); |
|
|
|
return $response; |
|
} |
|
|
object(Cake\Http\ServerRequest) { params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] data => [] query => [] cookies => [] url => 'nl-nl/colofon' base => '' webroot => '/' here => '/nl-nl/colofon' trustProxy => false [protected] _environment => [ 'MODE' => 'prod', 'USER' => 'vc24', 'HOME' => '/home/vc24', 'ORIG_SCRIPT_NAME' => '/php7-fcgi', 'ORIG_PATH_TRANSLATED' => '/home/vc24/www/prod/zorgeloospakket/webroot/index.php', 'ORIG_PATH_INFO' => '/index.php', 'ORIG_SCRIPT_FILENAME' => '/usr/lib/cgi-bin/php7-fcgi-zorgeloospakket-prod-80', 'SCRIPT_NAME' => '/index.php', 'REQUEST_URI' => '/nl-nl/colofon', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/index.php', 'REMOTE_PORT' => '60500', 'SCRIPT_FILENAME' => '/home/vc24/www/prod/zorgeloospakket/webroot/index.php', 'SERVER_ADMIN' => '[no address given]', 'CONTEXT_DOCUMENT_ROOT' => '/usr/lib/cgi-bin/php7-fcgi-zorgeloospakket-prod-80', 'CONTEXT_PREFIX' => '/php7-fcgi', 'REQUEST_SCHEME' => 'http', 'DOCUMENT_ROOT' => '/home/vc24/www/prod/zorgeloospakket/webroot', 'REMOTE_ADDR' => '10.2.2.1', 'SERVER_PORT' => '80', 'SERVER_ADDR' => '10.2.2.51', 'SERVER_NAME' => 'actie.zorgeloospakket.nl', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'HTTP_X_FORWARDED_FOR' => '54.84.65.73', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_HOST' => 'actie.zorgeloospakket.nl', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTPS' => 'on', 'REDIRECT_STATUS' => '200', 'REDIRECT_HANDLER' => 'application/x-httpd-fastphp7', 'REDIRECT_HTTP_CONTENT_TYPE' => '', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => (float) 1710825487.6968, 'REQUEST_TIME' => (int) 1710825487, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_INOAS_BASE_DOMAIN_KEY' => 'zorgeloospakket.nl', 'HTTP_X_INOAS_PORTAL_KEY' => 'bshCampaign' ] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'actie.zorgeloospakket.nl' [private] port => null [private] path => '/nl-nl/colofon' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Network\Session) { [protected] _engine => object(Cake\Network\Session\DatabaseSession) {} [protected] _started => false [protected] _lifetime => '7776000' [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' }
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Cake\Http\ServerRequest) { params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] data => [] query => [] cookies => [] url => 'nl-nl/colofon' base => '' webroot => '/' here => '/nl-nl/colofon' trustProxy => false [protected] _environment => [ 'MODE' => 'prod', 'USER' => 'vc24', 'HOME' => '/home/vc24', 'ORIG_SCRIPT_NAME' => '/php7-fcgi', 'ORIG_PATH_TRANSLATED' => '/home/vc24/www/prod/zorgeloospakket/webroot/index.php', 'ORIG_PATH_INFO' => '/index.php', 'ORIG_SCRIPT_FILENAME' => '/usr/lib/cgi-bin/php7-fcgi-zorgeloospakket-prod-80', 'SCRIPT_NAME' => '/index.php', 'REQUEST_URI' => '/nl-nl/colofon', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/index.php', 'REMOTE_PORT' => '60500', 'SCRIPT_FILENAME' => '/home/vc24/www/prod/zorgeloospakket/webroot/index.php', 'SERVER_ADMIN' => '[no address given]', 'CONTEXT_DOCUMENT_ROOT' => '/usr/lib/cgi-bin/php7-fcgi-zorgeloospakket-prod-80', 'CONTEXT_PREFIX' => '/php7-fcgi', 'REQUEST_SCHEME' => 'http', 'DOCUMENT_ROOT' => '/home/vc24/www/prod/zorgeloospakket/webroot', 'REMOTE_ADDR' => '10.2.2.1', 'SERVER_PORT' => '80', 'SERVER_ADDR' => '10.2.2.51', 'SERVER_NAME' => 'actie.zorgeloospakket.nl', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'HTTP_X_FORWARDED_FOR' => '54.84.65.73', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_HOST' => 'actie.zorgeloospakket.nl', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTPS' => 'on', 'REDIRECT_STATUS' => '200', 'REDIRECT_HANDLER' => 'application/x-httpd-fastphp7', 'REDIRECT_HTTP_CONTENT_TYPE' => '', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => (float) 1710825487.6968, 'REQUEST_TIME' => (int) 1710825487, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_INOAS_BASE_DOMAIN_KEY' => 'zorgeloospakket.nl', 'HTTP_X_INOAS_PORTAL_KEY' => 'bshCampaign' ] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'actie.zorgeloospakket.nl' [private] port => null [private] path => '/nl-nl/colofon' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Network\Session) { [protected] _engine => object(Cake\Network\Session\DatabaseSession) {} [protected] _started => false [protected] _lifetime => '7776000' [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 10 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
} |
|
|
|
Configure::write('Env.runtime.portalKey', $key); |
|
$request = $request->withHeader(self::HTTP_HEADER_NAME, $key); |
|
$response = $next($request, $response); |
|
|
|
return $response; |
|
} |
|
} |
object(Cake\Http\ServerRequest) { params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] data => [] query => [] cookies => [] url => 'nl-nl/colofon' base => '' webroot => '/' here => '/nl-nl/colofon' trustProxy => false [protected] _environment => [ 'MODE' => 'prod', 'USER' => 'vc24', 'HOME' => '/home/vc24', 'ORIG_SCRIPT_NAME' => '/php7-fcgi', 'ORIG_PATH_TRANSLATED' => '/home/vc24/www/prod/zorgeloospakket/webroot/index.php', 'ORIG_PATH_INFO' => '/index.php', 'ORIG_SCRIPT_FILENAME' => '/usr/lib/cgi-bin/php7-fcgi-zorgeloospakket-prod-80', 'SCRIPT_NAME' => '/index.php', 'REQUEST_URI' => '/nl-nl/colofon', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/index.php', 'REMOTE_PORT' => '60500', 'SCRIPT_FILENAME' => '/home/vc24/www/prod/zorgeloospakket/webroot/index.php', 'SERVER_ADMIN' => '[no address given]', 'CONTEXT_DOCUMENT_ROOT' => '/usr/lib/cgi-bin/php7-fcgi-zorgeloospakket-prod-80', 'CONTEXT_PREFIX' => '/php7-fcgi', 'REQUEST_SCHEME' => 'http', 'DOCUMENT_ROOT' => '/home/vc24/www/prod/zorgeloospakket/webroot', 'REMOTE_ADDR' => '10.2.2.1', 'SERVER_PORT' => '80', 'SERVER_ADDR' => '10.2.2.51', 'SERVER_NAME' => 'actie.zorgeloospakket.nl', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'HTTP_X_FORWARDED_FOR' => '54.84.65.73', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_HOST' => 'actie.zorgeloospakket.nl', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTPS' => 'on', 'REDIRECT_STATUS' => '200', 'REDIRECT_HANDLER' => 'application/x-httpd-fastphp7', 'REDIRECT_HTTP_CONTENT_TYPE' => '', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => (float) 1710825487.6968, 'REQUEST_TIME' => (int) 1710825487, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_INOAS_BASE_DOMAIN_KEY' => 'zorgeloospakket.nl', 'HTTP_X_INOAS_PORTAL_KEY' => 'bshCampaign' ] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'actie.zorgeloospakket.nl' [private] port => null [private] path => '/nl-nl/colofon' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Network\Session) { [protected] _engine => object(Cake\Network\Session\DatabaseSession) {} [protected] _started => false [protected] _lifetime => '7776000' [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' }
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Cake\Http\ServerRequest) { params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] data => [] query => [] cookies => [] url => 'nl-nl/colofon' base => '' webroot => '/' here => '/nl-nl/colofon' trustProxy => false [protected] _environment => [ 'MODE' => 'prod', 'USER' => 'vc24', 'HOME' => '/home/vc24', 'ORIG_SCRIPT_NAME' => '/php7-fcgi', 'ORIG_PATH_TRANSLATED' => '/home/vc24/www/prod/zorgeloospakket/webroot/index.php', 'ORIG_PATH_INFO' => '/index.php', 'ORIG_SCRIPT_FILENAME' => '/usr/lib/cgi-bin/php7-fcgi-zorgeloospakket-prod-80', 'SCRIPT_NAME' => '/index.php', 'REQUEST_URI' => '/nl-nl/colofon', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/index.php', 'REMOTE_PORT' => '60500', 'SCRIPT_FILENAME' => '/home/vc24/www/prod/zorgeloospakket/webroot/index.php', 'SERVER_ADMIN' => '[no address given]', 'CONTEXT_DOCUMENT_ROOT' => '/usr/lib/cgi-bin/php7-fcgi-zorgeloospakket-prod-80', 'CONTEXT_PREFIX' => '/php7-fcgi', 'REQUEST_SCHEME' => 'http', 'DOCUMENT_ROOT' => '/home/vc24/www/prod/zorgeloospakket/webroot', 'REMOTE_ADDR' => '10.2.2.1', 'SERVER_PORT' => '80', 'SERVER_ADDR' => '10.2.2.51', 'SERVER_NAME' => 'actie.zorgeloospakket.nl', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'HTTP_X_FORWARDED_FOR' => '54.84.65.73', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_HOST' => 'actie.zorgeloospakket.nl', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTPS' => 'on', 'REDIRECT_STATUS' => '200', 'REDIRECT_HANDLER' => 'application/x-httpd-fastphp7', 'REDIRECT_HTTP_CONTENT_TYPE' => '', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => (float) 1710825487.6968, 'REQUEST_TIME' => (int) 1710825487, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_INOAS_BASE_DOMAIN_KEY' => 'zorgeloospakket.nl', 'HTTP_X_INOAS_PORTAL_KEY' => 'bshCampaign' ] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'actie.zorgeloospakket.nl' [private] port => null [private] path => '/nl-nl/colofon' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Network\Session) { [protected] _engine => object(Cake\Network\Session\DatabaseSession) {} [protected] _started => false [protected] _lifetime => '7776000' [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 10 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
} |
|
|
|
Configure::write('Env.runtime.baseDomain', $matches[1]); |
|
$request = $request->withHeader(self::HTTP_HEADER_NAME, $matches[1]); |
|
$response = $next($request, $response); |
|
|
|
return $response; |
|
} |
|
} |
object(Cake\Http\ServerRequest) { params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] data => [] query => [] cookies => [] url => 'nl-nl/colofon' base => '' webroot => '/' here => '/nl-nl/colofon' trustProxy => false [protected] _environment => [ 'MODE' => 'prod', 'USER' => 'vc24', 'HOME' => '/home/vc24', 'ORIG_SCRIPT_NAME' => '/php7-fcgi', 'ORIG_PATH_TRANSLATED' => '/home/vc24/www/prod/zorgeloospakket/webroot/index.php', 'ORIG_PATH_INFO' => '/index.php', 'ORIG_SCRIPT_FILENAME' => '/usr/lib/cgi-bin/php7-fcgi-zorgeloospakket-prod-80', 'SCRIPT_NAME' => '/index.php', 'REQUEST_URI' => '/nl-nl/colofon', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/index.php', 'REMOTE_PORT' => '60500', 'SCRIPT_FILENAME' => '/home/vc24/www/prod/zorgeloospakket/webroot/index.php', 'SERVER_ADMIN' => '[no address given]', 'CONTEXT_DOCUMENT_ROOT' => '/usr/lib/cgi-bin/php7-fcgi-zorgeloospakket-prod-80', 'CONTEXT_PREFIX' => '/php7-fcgi', 'REQUEST_SCHEME' => 'http', 'DOCUMENT_ROOT' => '/home/vc24/www/prod/zorgeloospakket/webroot', 'REMOTE_ADDR' => '10.2.2.1', 'SERVER_PORT' => '80', 'SERVER_ADDR' => '10.2.2.51', 'SERVER_NAME' => 'actie.zorgeloospakket.nl', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'HTTP_X_FORWARDED_FOR' => '54.84.65.73', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_HOST' => 'actie.zorgeloospakket.nl', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTPS' => 'on', 'REDIRECT_STATUS' => '200', 'REDIRECT_HANDLER' => 'application/x-httpd-fastphp7', 'REDIRECT_HTTP_CONTENT_TYPE' => '', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => (float) 1710825487.6968, 'REQUEST_TIME' => (int) 1710825487, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_INOAS_BASE_DOMAIN_KEY' => 'zorgeloospakket.nl' ] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'actie.zorgeloospakket.nl' [private] port => null [private] path => '/nl-nl/colofon' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Network\Session) { [protected] _engine => object(Cake\Network\Session\DatabaseSession) {} [protected] _started => false [protected] _lifetime => '7776000' [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' }
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Cake\Http\ServerRequest) { params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] data => [] query => [] cookies => [] url => 'nl-nl/colofon' base => '' webroot => '/' here => '/nl-nl/colofon' trustProxy => false [protected] _environment => [ 'MODE' => 'prod', 'USER' => 'vc24', 'HOME' => '/home/vc24', 'ORIG_SCRIPT_NAME' => '/php7-fcgi', 'ORIG_PATH_TRANSLATED' => '/home/vc24/www/prod/zorgeloospakket/webroot/index.php', 'ORIG_PATH_INFO' => '/index.php', 'ORIG_SCRIPT_FILENAME' => '/usr/lib/cgi-bin/php7-fcgi-zorgeloospakket-prod-80', 'SCRIPT_NAME' => '/index.php', 'REQUEST_URI' => '/nl-nl/colofon', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/index.php', 'REMOTE_PORT' => '60500', 'SCRIPT_FILENAME' => '/home/vc24/www/prod/zorgeloospakket/webroot/index.php', 'SERVER_ADMIN' => '[no address given]', 'CONTEXT_DOCUMENT_ROOT' => '/usr/lib/cgi-bin/php7-fcgi-zorgeloospakket-prod-80', 'CONTEXT_PREFIX' => '/php7-fcgi', 'REQUEST_SCHEME' => 'http', 'DOCUMENT_ROOT' => '/home/vc24/www/prod/zorgeloospakket/webroot', 'REMOTE_ADDR' => '10.2.2.1', 'SERVER_PORT' => '80', 'SERVER_ADDR' => '10.2.2.51', 'SERVER_NAME' => 'actie.zorgeloospakket.nl', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'HTTP_X_FORWARDED_FOR' => '54.84.65.73', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_HOST' => 'actie.zorgeloospakket.nl', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTPS' => 'on', 'REDIRECT_STATUS' => '200', 'REDIRECT_HANDLER' => 'application/x-httpd-fastphp7', 'REDIRECT_HTTP_CONTENT_TYPE' => '', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => (float) 1710825487.6968, 'REQUEST_TIME' => (int) 1710825487, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_INOAS_BASE_DOMAIN_KEY' => 'zorgeloospakket.nl' ] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'actie.zorgeloospakket.nl' [private] port => null [private] path => '/nl-nl/colofon' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Network\Session) { [protected] _engine => object(Cake\Network\Session\DatabaseSession) {} [protected] _started => false [protected] _lifetime => '7776000' [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 10 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
*/ |
|
public function __invoke($request, $response, $next) |
|
{ |
|
try { |
|
return $next($request, $response); |
|
} catch (Throwable $exception) { |
|
return $this->handleException($exception, $request, $response); |
|
} catch (Exception $exception) { |
|
return $this->handleException($exception, $request, $response); |
object(Cake\Http\ServerRequest) { params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] data => [] query => [] cookies => [] url => 'nl-nl/colofon' base => '' webroot => '/' here => '/nl-nl/colofon' trustProxy => false [protected] _environment => [ 'MODE' => 'prod', 'USER' => 'vc24', 'HOME' => '/home/vc24', 'ORIG_SCRIPT_NAME' => '/php7-fcgi', 'ORIG_PATH_TRANSLATED' => '/home/vc24/www/prod/zorgeloospakket/webroot/index.php', 'ORIG_PATH_INFO' => '/index.php', 'ORIG_SCRIPT_FILENAME' => '/usr/lib/cgi-bin/php7-fcgi-zorgeloospakket-prod-80', 'SCRIPT_NAME' => '/index.php', 'REQUEST_URI' => '/nl-nl/colofon', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/index.php', 'REMOTE_PORT' => '60500', 'SCRIPT_FILENAME' => '/home/vc24/www/prod/zorgeloospakket/webroot/index.php', 'SERVER_ADMIN' => '[no address given]', 'CONTEXT_DOCUMENT_ROOT' => '/usr/lib/cgi-bin/php7-fcgi-zorgeloospakket-prod-80', 'CONTEXT_PREFIX' => '/php7-fcgi', 'REQUEST_SCHEME' => 'http', 'DOCUMENT_ROOT' => '/home/vc24/www/prod/zorgeloospakket/webroot', 'REMOTE_ADDR' => '10.2.2.1', 'SERVER_PORT' => '80', 'SERVER_ADDR' => '10.2.2.51', 'SERVER_NAME' => 'actie.zorgeloospakket.nl', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'HTTP_X_FORWARDED_FOR' => '54.84.65.73', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_HOST' => 'actie.zorgeloospakket.nl', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTPS' => 'on', 'REDIRECT_STATUS' => '200', 'REDIRECT_HANDLER' => 'application/x-httpd-fastphp7', 'REDIRECT_HTTP_CONTENT_TYPE' => '', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => (float) 1710825487.6968, 'REQUEST_TIME' => (int) 1710825487, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'actie.zorgeloospakket.nl' [private] port => null [private] path => '/nl-nl/colofon' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Network\Session) { [protected] _engine => object(Cake\Network\Session\DatabaseSession) {} [protected] _started => false [protected] _lifetime => '7776000' [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' }
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Cake\Http\ServerRequest) { params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] data => [] query => [] cookies => [] url => 'nl-nl/colofon' base => '' webroot => '/' here => '/nl-nl/colofon' trustProxy => false [protected] _environment => [ 'MODE' => 'prod', 'USER' => 'vc24', 'HOME' => '/home/vc24', 'ORIG_SCRIPT_NAME' => '/php7-fcgi', 'ORIG_PATH_TRANSLATED' => '/home/vc24/www/prod/zorgeloospakket/webroot/index.php', 'ORIG_PATH_INFO' => '/index.php', 'ORIG_SCRIPT_FILENAME' => '/usr/lib/cgi-bin/php7-fcgi-zorgeloospakket-prod-80', 'SCRIPT_NAME' => '/index.php', 'REQUEST_URI' => '/nl-nl/colofon', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/index.php', 'REMOTE_PORT' => '60500', 'SCRIPT_FILENAME' => '/home/vc24/www/prod/zorgeloospakket/webroot/index.php', 'SERVER_ADMIN' => '[no address given]', 'CONTEXT_DOCUMENT_ROOT' => '/usr/lib/cgi-bin/php7-fcgi-zorgeloospakket-prod-80', 'CONTEXT_PREFIX' => '/php7-fcgi', 'REQUEST_SCHEME' => 'http', 'DOCUMENT_ROOT' => '/home/vc24/www/prod/zorgeloospakket/webroot', 'REMOTE_ADDR' => '10.2.2.1', 'SERVER_PORT' => '80', 'SERVER_ADDR' => '10.2.2.51', 'SERVER_NAME' => 'actie.zorgeloospakket.nl', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'HTTP_X_FORWARDED_FOR' => '54.84.65.73', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_HOST' => 'actie.zorgeloospakket.nl', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTPS' => 'on', 'REDIRECT_STATUS' => '200', 'REDIRECT_HANDLER' => 'application/x-httpd-fastphp7', 'REDIRECT_HTTP_CONTENT_TYPE' => '', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => (float) 1710825487.6968, 'REQUEST_TIME' => (int) 1710825487, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'actie.zorgeloospakket.nl' [private] port => null [private] path => '/nl-nl/colofon' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Network\Session) { [protected] _engine => object(Cake\Network\Session\DatabaseSession) {} [protected] _started => false [protected] _lifetime => '7776000' [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 10 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
{ |
|
$this->middleware = $middleware; |
|
$this->index = 0; |
|
|
|
return $this->__invoke($request, $response); |
|
} |
|
|
|
/** |
|
* @param \Psr\Http\Message\ServerRequestInterface $request The server request |
object(Cake\Http\ServerRequest) { params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] data => [] query => [] cookies => [] url => 'nl-nl/colofon' base => '' webroot => '/' here => '/nl-nl/colofon' trustProxy => false [protected] _environment => [ 'MODE' => 'prod', 'USER' => 'vc24', 'HOME' => '/home/vc24', 'ORIG_SCRIPT_NAME' => '/php7-fcgi', 'ORIG_PATH_TRANSLATED' => '/home/vc24/www/prod/zorgeloospakket/webroot/index.php', 'ORIG_PATH_INFO' => '/index.php', 'ORIG_SCRIPT_FILENAME' => '/usr/lib/cgi-bin/php7-fcgi-zorgeloospakket-prod-80', 'SCRIPT_NAME' => '/index.php', 'REQUEST_URI' => '/nl-nl/colofon', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/index.php', 'REMOTE_PORT' => '60500', 'SCRIPT_FILENAME' => '/home/vc24/www/prod/zorgeloospakket/webroot/index.php', 'SERVER_ADMIN' => '[no address given]', 'CONTEXT_DOCUMENT_ROOT' => '/usr/lib/cgi-bin/php7-fcgi-zorgeloospakket-prod-80', 'CONTEXT_PREFIX' => '/php7-fcgi', 'REQUEST_SCHEME' => 'http', 'DOCUMENT_ROOT' => '/home/vc24/www/prod/zorgeloospakket/webroot', 'REMOTE_ADDR' => '10.2.2.1', 'SERVER_PORT' => '80', 'SERVER_ADDR' => '10.2.2.51', 'SERVER_NAME' => 'actie.zorgeloospakket.nl', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'HTTP_X_FORWARDED_FOR' => '54.84.65.73', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_HOST' => 'actie.zorgeloospakket.nl', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTPS' => 'on', 'REDIRECT_STATUS' => '200', 'REDIRECT_HANDLER' => 'application/x-httpd-fastphp7', 'REDIRECT_HTTP_CONTENT_TYPE' => '', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => (float) 1710825487.6968, 'REQUEST_TIME' => (int) 1710825487, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'actie.zorgeloospakket.nl' [private] port => null [private] path => '/nl-nl/colofon' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Network\Session) { [protected] _engine => object(Cake\Network\Session\DatabaseSession) {} [protected] _started => false [protected] _lifetime => '7776000' [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' }
throw new RuntimeException('The application `middleware` method did not return a middleware queue.'); |
|
} |
|
$this->dispatchEvent('Server.buildMiddleware', ['middleware' => $middleware]); |
|
$middleware->add($this->app); |
|
$response = $this->runner->run($middleware, $request, $response); |
|
|
|
if (!($response instanceof ResponseInterface)) { |
|
throw new RuntimeException(sprintf( |
|
'Application did not create a response. Got "%s" instead.', |
object(Cake\Http\MiddlewareQueue) { [protected] queue => [ (int) 0 => object(Tools\Error\Middleware\ErrorHandlerMiddleware) {}, (int) 1 => 'App\Routing\Middleware\Request\DetectBaseDomainMiddleware', (int) 2 => 'App\Routing\Middleware\Request\DetectPortalMiddleware', (int) 3 => 'App\Routing\Middleware\Request\TrimRequestDataMiddleware', (int) 4 => 'Cake\Routing\Middleware\AssetMiddleware', (int) 5 => object(App\Routing\Middleware\Request\ContentLocaleMiddleware) {}, (int) 6 => object(Cake\Routing\Middleware\RoutingMiddleware) {}, (int) 7 => object(Cake\Http\Middleware\CsrfProtectionMiddleware) {}, (int) 8 => object(App\Routing\Middleware\Response\DefaultHeadersMiddleware) {}, (int) 9 => object(App\Application) {} ] [protected] callables => [ (int) 0 => object(Tools\Error\Middleware\ErrorHandlerMiddleware) {}, (int) 1 => object(App\Routing\Middleware\Request\DetectBaseDomainMiddleware) {}, (int) 2 => object(App\Routing\Middleware\Request\DetectPortalMiddleware) {}, (int) 3 => object(App\Routing\Middleware\Request\TrimRequestDataMiddleware) {}, (int) 4 => object(Cake\Routing\Middleware\AssetMiddleware) {}, (int) 5 => object(App\Routing\Middleware\Request\ContentLocaleMiddleware) {}, (int) 6 => object(Cake\Routing\Middleware\RoutingMiddleware) {}, (int) 7 => object(Cake\Http\Middleware\CsrfProtectionMiddleware) {}, (int) 8 => object(App\Routing\Middleware\Response\DefaultHeadersMiddleware) {}, (int) 9 => object(App\Application) {} ] } object(Cake\Http\ServerRequest) { params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] data => [] query => [] cookies => [] url => 'nl-nl/colofon' base => '' webroot => '/' here => '/nl-nl/colofon' trustProxy => false [protected] _environment => [ 'MODE' => 'prod', 'USER' => 'vc24', 'HOME' => '/home/vc24', 'ORIG_SCRIPT_NAME' => '/php7-fcgi', 'ORIG_PATH_TRANSLATED' => '/home/vc24/www/prod/zorgeloospakket/webroot/index.php', 'ORIG_PATH_INFO' => '/index.php', 'ORIG_SCRIPT_FILENAME' => '/usr/lib/cgi-bin/php7-fcgi-zorgeloospakket-prod-80', 'SCRIPT_NAME' => '/index.php', 'REQUEST_URI' => '/nl-nl/colofon', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/index.php', 'REMOTE_PORT' => '60500', 'SCRIPT_FILENAME' => '/home/vc24/www/prod/zorgeloospakket/webroot/index.php', 'SERVER_ADMIN' => '[no address given]', 'CONTEXT_DOCUMENT_ROOT' => '/usr/lib/cgi-bin/php7-fcgi-zorgeloospakket-prod-80', 'CONTEXT_PREFIX' => '/php7-fcgi', 'REQUEST_SCHEME' => 'http', 'DOCUMENT_ROOT' => '/home/vc24/www/prod/zorgeloospakket/webroot', 'REMOTE_ADDR' => '10.2.2.1', 'SERVER_PORT' => '80', 'SERVER_ADDR' => '10.2.2.51', 'SERVER_NAME' => 'actie.zorgeloospakket.nl', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'HTTP_X_FORWARDED_FOR' => '54.84.65.73', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_HOST' => 'actie.zorgeloospakket.nl', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTPS' => 'on', 'REDIRECT_STATUS' => '200', 'REDIRECT_HANDLER' => 'application/x-httpd-fastphp7', 'REDIRECT_HTTP_CONTENT_TYPE' => '', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => (float) 1710825487.6968, 'REQUEST_TIME' => (int) 1710825487, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'actie.zorgeloospakket.nl' [private] port => null [private] path => '/nl-nl/colofon' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Network\Session) { [protected] _engine => object(Cake\Network\Session\DatabaseSession) {} [protected] _started => false [protected] _lifetime => '7776000' [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' }
|
|
/* |
|
* Run the request/response through the application and emit the response. |
|
*/ |
|
$server->emit($server->run()); |
|
|
No arguments
If you want to customize this error message, create src/Template/Error/error400.ctp