public function resolveRequest() |
|
{ |
|
$site = $this->resolveSite(); |
|
$page = $this->resolvePage(); |
|
$module = $this->resolveModule(); |
|
return new CatalystRequest($this->request, $this->catalyst, $site, $page, $module); |
|
} |
|
} |
|
|
No arguments
* parsing of any route that doesn't need the request context. In any case, the errors generated here will |
|
* be passed to the ErrorController. |
|
*/ |
|
try { |
|
$request = $resolver->resolveRequest(); |
|
} catch (NotFoundException $e) { |
|
//Setup the router as if we're on the home page so it works nicely for the ErrorController |
|
$site = $resolver->resolveSite(); |
|
$page = (empty($page)) ? null : $page; |
No arguments
public function __invoke(ServerRequestInterface $request, ResponseInterface $response, $next) |
|
{ |
|
//Convert to CatalystRequest |
|
try { |
|
$resolved = $this->resolveResources($request, $response); |
|
} catch (NotFoundException $ex) { |
|
$request = Router::getRequest(); |
|
if (!$request) { |
|
throw $ex; |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'site_qualifier' => '2017', 'page_alias' => '06', 'module_alias' => '30', 'pass' => [ (int) 0 => 'housing-and-becoming-a-land-baron' ], 'controller' => 'Pages', 'action' => 'view', 'plugin' => null, '_name' => 'public:pages:view_module', '_matchedRoute' => '/:site_qualifier/:page_alias/:module_alias/**', '_ext' => null ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'USER' => 'rpv2007', 'HOME' => '/var/www/vhosts/rpvonline.net', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/2017/06/30/housing-and-becoming-a-land-baron', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/webroot/2017/06/30/housing-and-becoming-a-land-baron', 'REMOTE_PORT' => '46724', 'SCRIPT_FILENAME' => '/var/www/vhosts/rpvonline.net/httpdocs/webroot/index.php', 'SERVER_ADMIN' => 'root@localhost', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/vhosts/rpvonline.net/httpdocs', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/var/www/vhosts/rpvonline.net/httpdocs', 'REMOTE_ADDR' => '3.81.13.254', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '169.53.177.117', 'SERVER_NAME' => 'www.rpvonline.net', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin', 'HTTP_REFERER' => 'https://www.rpvonline.net/2017/06/30/housing-and-becoming-a-land-baron/', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_CONNECTION' => 'close', 'HTTP_X_ACCEL_INTERNAL' => '/internal-nginx-static-location', 'HTTP_X_REAL_IP' => '3.81.13.254', 'HTTP_HOST' => 'www.rpvonline.net', 'proxy-nokeepalive' => '1', 'HTTPS' => 'on', 'PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'UNIQUE_ID' => 'ZgbF3Tmiwh4LtqCYsHR5mgAAAlc', 'REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'REDIRECT_UNIQUE_ID' => 'ZgbF3Tmiwh4LtqCYsHR5mgAAAlc', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgbF3Tmiwh4LtqCYsHR5mgAAAlc', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711719901.7835, 'REQUEST_TIME' => (int) 1711719901, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => '2017/06/30/housing-and-becoming-a-land-baron' [protected] base => '' [protected] webroot => '/' [protected] here => '/2017/06/30/housing-and-becoming-a-land-baron' [protected] trustedProxies => [] [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) {}, 'csv' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'csv' ], 'rss' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'rss' ] ] [protected] _detectorCache => [] [protected] stream => object(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.rpvonline.net' [private] port => null [private] path => '/2017/06/30/housing-and-becoming-a-land-baron' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 86400 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] [private] mergeFilesAsObjects => false } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ], 'Strict-Transport-Security' => [ (int) 0 => 'max-age=31536000' ] ], '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) { trustProxy => false [protected] params => [ 'site_qualifier' => '2017', 'page_alias' => '06', 'module_alias' => '30', 'pass' => [ (int) 0 => 'housing-and-becoming-a-land-baron' ], 'controller' => 'Pages', 'action' => 'view', 'plugin' => null, '_name' => 'public:pages:view_module', '_matchedRoute' => '/:site_qualifier/:page_alias/:module_alias/**', '_ext' => null ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'USER' => 'rpv2007', 'HOME' => '/var/www/vhosts/rpvonline.net', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/2017/06/30/housing-and-becoming-a-land-baron', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/webroot/2017/06/30/housing-and-becoming-a-land-baron', 'REMOTE_PORT' => '46724', 'SCRIPT_FILENAME' => '/var/www/vhosts/rpvonline.net/httpdocs/webroot/index.php', 'SERVER_ADMIN' => 'root@localhost', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/vhosts/rpvonline.net/httpdocs', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/var/www/vhosts/rpvonline.net/httpdocs', 'REMOTE_ADDR' => '3.81.13.254', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '169.53.177.117', 'SERVER_NAME' => 'www.rpvonline.net', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin', 'HTTP_REFERER' => 'https://www.rpvonline.net/2017/06/30/housing-and-becoming-a-land-baron/', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_CONNECTION' => 'close', 'HTTP_X_ACCEL_INTERNAL' => '/internal-nginx-static-location', 'HTTP_X_REAL_IP' => '3.81.13.254', 'HTTP_HOST' => 'www.rpvonline.net', 'proxy-nokeepalive' => '1', 'HTTPS' => 'on', 'PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'UNIQUE_ID' => 'ZgbF3Tmiwh4LtqCYsHR5mgAAAlc', 'REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'REDIRECT_UNIQUE_ID' => 'ZgbF3Tmiwh4LtqCYsHR5mgAAAlc', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgbF3Tmiwh4LtqCYsHR5mgAAAlc', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711719901.7835, 'REQUEST_TIME' => (int) 1711719901, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => '2017/06/30/housing-and-becoming-a-land-baron' [protected] base => '' [protected] webroot => '/' [protected] here => '/2017/06/30/housing-and-becoming-a-land-baron' [protected] trustedProxies => [] [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) {}, 'csv' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'csv' ], 'rss' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'rss' ] ] [protected] _detectorCache => [] [protected] stream => object(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.rpvonline.net' [private] port => null [private] path => '/2017/06/30/housing-and-becoming-a-land-baron' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 86400 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] [private] mergeFilesAsObjects => false } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ], 'Strict-Transport-Security' => [ (int) 0 => 'max-age=31536000' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 12 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
|
|
//Retrieve site and host |
|
$site = $site_table->findByQualifier($params['site_qualifier'])->first(); |
|
if (!$site) { |
|
return $next($request, $response); |
|
} |
|
$host = $request->getHeaderLine('host'); |
|
|
|
//Redirect to correct domain |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'site_qualifier' => '2017', 'page_alias' => '06', 'module_alias' => '30', 'pass' => [ (int) 0 => 'housing-and-becoming-a-land-baron' ], 'controller' => 'Pages', 'action' => 'view', 'plugin' => null, '_name' => 'public:pages:view_module', '_matchedRoute' => '/:site_qualifier/:page_alias/:module_alias/**', '_ext' => null ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'USER' => 'rpv2007', 'HOME' => '/var/www/vhosts/rpvonline.net', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/2017/06/30/housing-and-becoming-a-land-baron', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/webroot/2017/06/30/housing-and-becoming-a-land-baron', 'REMOTE_PORT' => '46724', 'SCRIPT_FILENAME' => '/var/www/vhosts/rpvonline.net/httpdocs/webroot/index.php', 'SERVER_ADMIN' => 'root@localhost', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/vhosts/rpvonline.net/httpdocs', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/var/www/vhosts/rpvonline.net/httpdocs', 'REMOTE_ADDR' => '3.81.13.254', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '169.53.177.117', 'SERVER_NAME' => 'www.rpvonline.net', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin', 'HTTP_REFERER' => 'https://www.rpvonline.net/2017/06/30/housing-and-becoming-a-land-baron/', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_CONNECTION' => 'close', 'HTTP_X_ACCEL_INTERNAL' => '/internal-nginx-static-location', 'HTTP_X_REAL_IP' => '3.81.13.254', 'HTTP_HOST' => 'www.rpvonline.net', 'proxy-nokeepalive' => '1', 'HTTPS' => 'on', 'PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'UNIQUE_ID' => 'ZgbF3Tmiwh4LtqCYsHR5mgAAAlc', 'REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'REDIRECT_UNIQUE_ID' => 'ZgbF3Tmiwh4LtqCYsHR5mgAAAlc', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgbF3Tmiwh4LtqCYsHR5mgAAAlc', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711719901.7835, 'REQUEST_TIME' => (int) 1711719901, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => '2017/06/30/housing-and-becoming-a-land-baron' [protected] base => '' [protected] webroot => '/' [protected] here => '/2017/06/30/housing-and-becoming-a-land-baron' [protected] trustedProxies => [] [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) {}, 'csv' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'csv' ], 'rss' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'rss' ] ] [protected] _detectorCache => [] [protected] stream => object(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.rpvonline.net' [private] port => null [private] path => '/2017/06/30/housing-and-becoming-a-land-baron' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 86400 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] [private] mergeFilesAsObjects => false } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ], 'Strict-Transport-Security' => [ (int) 0 => 'max-age=31536000' ] ], '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) { trustProxy => false [protected] params => [ 'site_qualifier' => '2017', 'page_alias' => '06', 'module_alias' => '30', 'pass' => [ (int) 0 => 'housing-and-becoming-a-land-baron' ], 'controller' => 'Pages', 'action' => 'view', 'plugin' => null, '_name' => 'public:pages:view_module', '_matchedRoute' => '/:site_qualifier/:page_alias/:module_alias/**', '_ext' => null ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'USER' => 'rpv2007', 'HOME' => '/var/www/vhosts/rpvonline.net', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/2017/06/30/housing-and-becoming-a-land-baron', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/webroot/2017/06/30/housing-and-becoming-a-land-baron', 'REMOTE_PORT' => '46724', 'SCRIPT_FILENAME' => '/var/www/vhosts/rpvonline.net/httpdocs/webroot/index.php', 'SERVER_ADMIN' => 'root@localhost', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/vhosts/rpvonline.net/httpdocs', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/var/www/vhosts/rpvonline.net/httpdocs', 'REMOTE_ADDR' => '3.81.13.254', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '169.53.177.117', 'SERVER_NAME' => 'www.rpvonline.net', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin', 'HTTP_REFERER' => 'https://www.rpvonline.net/2017/06/30/housing-and-becoming-a-land-baron/', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_CONNECTION' => 'close', 'HTTP_X_ACCEL_INTERNAL' => '/internal-nginx-static-location', 'HTTP_X_REAL_IP' => '3.81.13.254', 'HTTP_HOST' => 'www.rpvonline.net', 'proxy-nokeepalive' => '1', 'HTTPS' => 'on', 'PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'UNIQUE_ID' => 'ZgbF3Tmiwh4LtqCYsHR5mgAAAlc', 'REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'REDIRECT_UNIQUE_ID' => 'ZgbF3Tmiwh4LtqCYsHR5mgAAAlc', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgbF3Tmiwh4LtqCYsHR5mgAAAlc', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711719901.7835, 'REQUEST_TIME' => (int) 1711719901, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => '2017/06/30/housing-and-becoming-a-land-baron' [protected] base => '' [protected] webroot => '/' [protected] here => '/2017/06/30/housing-and-becoming-a-land-baron' [protected] trustedProxies => [] [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) {}, 'csv' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'csv' ], 'rss' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'rss' ] ] [protected] _detectorCache => [] [protected] stream => object(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.rpvonline.net' [private] port => null [private] path => '/2017/06/30/housing-and-becoming-a-land-baron' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 86400 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] [private] mergeFilesAsObjects => false } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ], 'Strict-Transport-Security' => [ (int) 0 => 'max-age=31536000' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 12 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
return $response->withHeader('Location', '/'.\trim($url, '/')); |
|
} |
|
|
|
//Continue request |
|
return $next($request, $response); |
|
} |
|
} |
|
|
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'site_qualifier' => '2017', 'page_alias' => '06', 'module_alias' => '30', 'pass' => [ (int) 0 => 'housing-and-becoming-a-land-baron' ], 'controller' => 'Pages', 'action' => 'view', 'plugin' => null, '_name' => 'public:pages:view_module', '_matchedRoute' => '/:site_qualifier/:page_alias/:module_alias/**', '_ext' => null ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'USER' => 'rpv2007', 'HOME' => '/var/www/vhosts/rpvonline.net', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/2017/06/30/housing-and-becoming-a-land-baron', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/webroot/2017/06/30/housing-and-becoming-a-land-baron', 'REMOTE_PORT' => '46724', 'SCRIPT_FILENAME' => '/var/www/vhosts/rpvonline.net/httpdocs/webroot/index.php', 'SERVER_ADMIN' => 'root@localhost', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/vhosts/rpvonline.net/httpdocs', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/var/www/vhosts/rpvonline.net/httpdocs', 'REMOTE_ADDR' => '3.81.13.254', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '169.53.177.117', 'SERVER_NAME' => 'www.rpvonline.net', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin', 'HTTP_REFERER' => 'https://www.rpvonline.net/2017/06/30/housing-and-becoming-a-land-baron/', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_CONNECTION' => 'close', 'HTTP_X_ACCEL_INTERNAL' => '/internal-nginx-static-location', 'HTTP_X_REAL_IP' => '3.81.13.254', 'HTTP_HOST' => 'www.rpvonline.net', 'proxy-nokeepalive' => '1', 'HTTPS' => 'on', 'PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'UNIQUE_ID' => 'ZgbF3Tmiwh4LtqCYsHR5mgAAAlc', 'REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'REDIRECT_UNIQUE_ID' => 'ZgbF3Tmiwh4LtqCYsHR5mgAAAlc', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgbF3Tmiwh4LtqCYsHR5mgAAAlc', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711719901.7835, 'REQUEST_TIME' => (int) 1711719901, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => '2017/06/30/housing-and-becoming-a-land-baron' [protected] base => '' [protected] webroot => '/' [protected] here => '/2017/06/30/housing-and-becoming-a-land-baron' [protected] trustedProxies => [] [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) {}, 'csv' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'csv' ], 'rss' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'rss' ] ] [protected] _detectorCache => [] [protected] stream => object(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.rpvonline.net' [private] port => null [private] path => '/2017/06/30/housing-and-becoming-a-land-baron' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 86400 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] [private] mergeFilesAsObjects => false } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ], 'Strict-Transport-Security' => [ (int) 0 => 'max-age=31536000' ] ], '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) { trustProxy => false [protected] params => [ 'site_qualifier' => '2017', 'page_alias' => '06', 'module_alias' => '30', 'pass' => [ (int) 0 => 'housing-and-becoming-a-land-baron' ], 'controller' => 'Pages', 'action' => 'view', 'plugin' => null, '_name' => 'public:pages:view_module', '_matchedRoute' => '/:site_qualifier/:page_alias/:module_alias/**', '_ext' => null ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'USER' => 'rpv2007', 'HOME' => '/var/www/vhosts/rpvonline.net', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/2017/06/30/housing-and-becoming-a-land-baron', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/webroot/2017/06/30/housing-and-becoming-a-land-baron', 'REMOTE_PORT' => '46724', 'SCRIPT_FILENAME' => '/var/www/vhosts/rpvonline.net/httpdocs/webroot/index.php', 'SERVER_ADMIN' => 'root@localhost', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/vhosts/rpvonline.net/httpdocs', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/var/www/vhosts/rpvonline.net/httpdocs', 'REMOTE_ADDR' => '3.81.13.254', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '169.53.177.117', 'SERVER_NAME' => 'www.rpvonline.net', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin', 'HTTP_REFERER' => 'https://www.rpvonline.net/2017/06/30/housing-and-becoming-a-land-baron/', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_CONNECTION' => 'close', 'HTTP_X_ACCEL_INTERNAL' => '/internal-nginx-static-location', 'HTTP_X_REAL_IP' => '3.81.13.254', 'HTTP_HOST' => 'www.rpvonline.net', 'proxy-nokeepalive' => '1', 'HTTPS' => 'on', 'PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'UNIQUE_ID' => 'ZgbF3Tmiwh4LtqCYsHR5mgAAAlc', 'REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'REDIRECT_UNIQUE_ID' => 'ZgbF3Tmiwh4LtqCYsHR5mgAAAlc', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgbF3Tmiwh4LtqCYsHR5mgAAAlc', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711719901.7835, 'REQUEST_TIME' => (int) 1711719901, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => '2017/06/30/housing-and-becoming-a-land-baron' [protected] base => '' [protected] webroot => '/' [protected] here => '/2017/06/30/housing-and-becoming-a-land-baron' [protected] trustedProxies => [] [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) {}, 'csv' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'csv' ], 'rss' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'rss' ] ] [protected] _detectorCache => [] [protected] stream => object(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.rpvonline.net' [private] port => null [private] path => '/2017/06/30/housing-and-becoming-a-land-baron' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 86400 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] [private] mergeFilesAsObjects => false } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ], 'Strict-Transport-Security' => [ (int) 0 => 'max-age=31536000' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 12 [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) { trustProxy => false [protected] params => [ 'site_qualifier' => '2017', 'page_alias' => '06', 'module_alias' => '30', 'pass' => [ (int) 0 => 'housing-and-becoming-a-land-baron' ], 'controller' => 'Pages', 'action' => 'view', 'plugin' => null, '_name' => 'public:pages:view_module', '_matchedRoute' => '/:site_qualifier/:page_alias/:module_alias/**', '_ext' => null ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'USER' => 'rpv2007', 'HOME' => '/var/www/vhosts/rpvonline.net', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/2017/06/30/housing-and-becoming-a-land-baron', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/webroot/2017/06/30/housing-and-becoming-a-land-baron', 'REMOTE_PORT' => '46724', 'SCRIPT_FILENAME' => '/var/www/vhosts/rpvonline.net/httpdocs/webroot/index.php', 'SERVER_ADMIN' => 'root@localhost', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/vhosts/rpvonline.net/httpdocs', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/var/www/vhosts/rpvonline.net/httpdocs', 'REMOTE_ADDR' => '3.81.13.254', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '169.53.177.117', 'SERVER_NAME' => 'www.rpvonline.net', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin', 'HTTP_REFERER' => 'https://www.rpvonline.net/2017/06/30/housing-and-becoming-a-land-baron/', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_CONNECTION' => 'close', 'HTTP_X_ACCEL_INTERNAL' => '/internal-nginx-static-location', 'HTTP_X_REAL_IP' => '3.81.13.254', 'HTTP_HOST' => 'www.rpvonline.net', 'proxy-nokeepalive' => '1', 'HTTPS' => 'on', 'PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'UNIQUE_ID' => 'ZgbF3Tmiwh4LtqCYsHR5mgAAAlc', 'REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'REDIRECT_UNIQUE_ID' => 'ZgbF3Tmiwh4LtqCYsHR5mgAAAlc', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgbF3Tmiwh4LtqCYsHR5mgAAAlc', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711719901.7835, 'REQUEST_TIME' => (int) 1711719901, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => '2017/06/30/housing-and-becoming-a-land-baron' [protected] base => '' [protected] webroot => '/' [protected] here => '/2017/06/30/housing-and-becoming-a-land-baron' [protected] trustedProxies => [] [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) {}, 'csv' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'csv' ], 'rss' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'rss' ] ] [protected] _detectorCache => [] [protected] stream => object(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.rpvonline.net' [private] port => null [private] path => '/2017/06/30/housing-and-becoming-a-land-baron' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 86400 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] [private] mergeFilesAsObjects => false } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ], 'Strict-Transport-Security' => [ (int) 0 => 'max-age=31536000' ] ], '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) { trustProxy => false [protected] params => [ 'site_qualifier' => '2017', 'page_alias' => '06', 'module_alias' => '30', 'pass' => [ (int) 0 => 'housing-and-becoming-a-land-baron' ], 'controller' => 'Pages', 'action' => 'view', 'plugin' => null, '_name' => 'public:pages:view_module', '_matchedRoute' => '/:site_qualifier/:page_alias/:module_alias/**', '_ext' => null ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'USER' => 'rpv2007', 'HOME' => '/var/www/vhosts/rpvonline.net', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/2017/06/30/housing-and-becoming-a-land-baron', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/webroot/2017/06/30/housing-and-becoming-a-land-baron', 'REMOTE_PORT' => '46724', 'SCRIPT_FILENAME' => '/var/www/vhosts/rpvonline.net/httpdocs/webroot/index.php', 'SERVER_ADMIN' => 'root@localhost', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/vhosts/rpvonline.net/httpdocs', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/var/www/vhosts/rpvonline.net/httpdocs', 'REMOTE_ADDR' => '3.81.13.254', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '169.53.177.117', 'SERVER_NAME' => 'www.rpvonline.net', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin', 'HTTP_REFERER' => 'https://www.rpvonline.net/2017/06/30/housing-and-becoming-a-land-baron/', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_CONNECTION' => 'close', 'HTTP_X_ACCEL_INTERNAL' => '/internal-nginx-static-location', 'HTTP_X_REAL_IP' => '3.81.13.254', 'HTTP_HOST' => 'www.rpvonline.net', 'proxy-nokeepalive' => '1', 'HTTPS' => 'on', 'PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'UNIQUE_ID' => 'ZgbF3Tmiwh4LtqCYsHR5mgAAAlc', 'REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'REDIRECT_UNIQUE_ID' => 'ZgbF3Tmiwh4LtqCYsHR5mgAAAlc', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgbF3Tmiwh4LtqCYsHR5mgAAAlc', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711719901.7835, 'REQUEST_TIME' => (int) 1711719901, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => '2017/06/30/housing-and-becoming-a-land-baron' [protected] base => '' [protected] webroot => '/' [protected] here => '/2017/06/30/housing-and-becoming-a-land-baron' [protected] trustedProxies => [] [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) {}, 'csv' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'csv' ], 'rss' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'rss' ] ] [protected] _detectorCache => [] [protected] stream => object(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.rpvonline.net' [private] port => null [private] path => '/2017/06/30/housing-and-becoming-a-land-baron' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 86400 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] [private] mergeFilesAsObjects => false } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ], 'Strict-Transport-Security' => [ (int) 0 => 'max-age=31536000' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 12 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
|
|
//Don't lockout when the maintenance file doesn't exist |
|
$file = new File(WWW_ROOT . $this->file); |
|
if (!$file->exists()) { |
|
return $next($request, $response); |
|
} |
|
|
|
//Don't lockout pages when user is logged into catalyst |
|
$sess = $request->getSession()->read(); |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'USER' => 'rpv2007', 'HOME' => '/var/www/vhosts/rpvonline.net', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/2017/06/30/housing-and-becoming-a-land-baron', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/webroot/2017/06/30/housing-and-becoming-a-land-baron', 'REMOTE_PORT' => '46724', 'SCRIPT_FILENAME' => '/var/www/vhosts/rpvonline.net/httpdocs/webroot/index.php', 'SERVER_ADMIN' => 'root@localhost', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/vhosts/rpvonline.net/httpdocs', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/var/www/vhosts/rpvonline.net/httpdocs', 'REMOTE_ADDR' => '3.81.13.254', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '169.53.177.117', 'SERVER_NAME' => 'www.rpvonline.net', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin', 'HTTP_REFERER' => 'https://www.rpvonline.net/2017/06/30/housing-and-becoming-a-land-baron/', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_CONNECTION' => 'close', 'HTTP_X_ACCEL_INTERNAL' => '/internal-nginx-static-location', 'HTTP_X_REAL_IP' => '3.81.13.254', 'HTTP_HOST' => 'www.rpvonline.net', 'proxy-nokeepalive' => '1', 'HTTPS' => 'on', 'PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'UNIQUE_ID' => 'ZgbF3Tmiwh4LtqCYsHR5mgAAAlc', 'REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'REDIRECT_UNIQUE_ID' => 'ZgbF3Tmiwh4LtqCYsHR5mgAAAlc', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgbF3Tmiwh4LtqCYsHR5mgAAAlc', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711719901.7835, 'REQUEST_TIME' => (int) 1711719901, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => '2017/06/30/housing-and-becoming-a-land-baron' [protected] base => '' [protected] webroot => '/' [protected] here => '/2017/06/30/housing-and-becoming-a-land-baron' [protected] trustedProxies => [] [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) {}, 'csv' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'csv' ], 'rss' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'rss' ] ] [protected] _detectorCache => [] [protected] stream => object(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.rpvonline.net' [private] port => null [private] path => '/2017/06/30/housing-and-becoming-a-land-baron' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 86400 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] [private] mergeFilesAsObjects => false } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ], 'Strict-Transport-Security' => [ (int) 0 => 'max-age=31536000' ] ], '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) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'USER' => 'rpv2007', 'HOME' => '/var/www/vhosts/rpvonline.net', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/2017/06/30/housing-and-becoming-a-land-baron', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/webroot/2017/06/30/housing-and-becoming-a-land-baron', 'REMOTE_PORT' => '46724', 'SCRIPT_FILENAME' => '/var/www/vhosts/rpvonline.net/httpdocs/webroot/index.php', 'SERVER_ADMIN' => 'root@localhost', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/vhosts/rpvonline.net/httpdocs', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/var/www/vhosts/rpvonline.net/httpdocs', 'REMOTE_ADDR' => '3.81.13.254', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '169.53.177.117', 'SERVER_NAME' => 'www.rpvonline.net', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin', 'HTTP_REFERER' => 'https://www.rpvonline.net/2017/06/30/housing-and-becoming-a-land-baron/', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_CONNECTION' => 'close', 'HTTP_X_ACCEL_INTERNAL' => '/internal-nginx-static-location', 'HTTP_X_REAL_IP' => '3.81.13.254', 'HTTP_HOST' => 'www.rpvonline.net', 'proxy-nokeepalive' => '1', 'HTTPS' => 'on', 'PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'UNIQUE_ID' => 'ZgbF3Tmiwh4LtqCYsHR5mgAAAlc', 'REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'REDIRECT_UNIQUE_ID' => 'ZgbF3Tmiwh4LtqCYsHR5mgAAAlc', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgbF3Tmiwh4LtqCYsHR5mgAAAlc', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711719901.7835, 'REQUEST_TIME' => (int) 1711719901, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => '2017/06/30/housing-and-becoming-a-land-baron' [protected] base => '' [protected] webroot => '/' [protected] here => '/2017/06/30/housing-and-becoming-a-land-baron' [protected] trustedProxies => [] [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) {}, 'csv' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'csv' ], 'rss' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'rss' ] ] [protected] _detectorCache => [] [protected] stream => object(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.rpvonline.net' [private] port => null [private] path => '/2017/06/30/housing-and-becoming-a-land-baron' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 86400 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] [private] mergeFilesAsObjects => false } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ], 'Strict-Transport-Security' => [ (int) 0 => 'max-age=31536000' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 12 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
$path = $this->normalize($uri->getPath()); |
|
if ($uri->getPath() !== $path) { |
|
return $response->withHeader('Location', (string) $uri->withPath($path))->withStatus(302); |
|
} |
|
return $next($request->withUri($uri->withPath($path)), $response); |
|
} |
|
|
|
/** |
|
* Normalize the trailing slash. |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'USER' => 'rpv2007', 'HOME' => '/var/www/vhosts/rpvonline.net', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/2017/06/30/housing-and-becoming-a-land-baron', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/webroot/2017/06/30/housing-and-becoming-a-land-baron', 'REMOTE_PORT' => '46724', 'SCRIPT_FILENAME' => '/var/www/vhosts/rpvonline.net/httpdocs/webroot/index.php', 'SERVER_ADMIN' => 'root@localhost', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/vhosts/rpvonline.net/httpdocs', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/var/www/vhosts/rpvonline.net/httpdocs', 'REMOTE_ADDR' => '3.81.13.254', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '169.53.177.117', 'SERVER_NAME' => 'www.rpvonline.net', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin', 'HTTP_REFERER' => 'https://www.rpvonline.net/2017/06/30/housing-and-becoming-a-land-baron/', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_CONNECTION' => 'close', 'HTTP_X_ACCEL_INTERNAL' => '/internal-nginx-static-location', 'HTTP_X_REAL_IP' => '3.81.13.254', 'HTTP_HOST' => 'www.rpvonline.net', 'proxy-nokeepalive' => '1', 'HTTPS' => 'on', 'PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'UNIQUE_ID' => 'ZgbF3Tmiwh4LtqCYsHR5mgAAAlc', 'REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'REDIRECT_UNIQUE_ID' => 'ZgbF3Tmiwh4LtqCYsHR5mgAAAlc', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgbF3Tmiwh4LtqCYsHR5mgAAAlc', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711719901.7835, 'REQUEST_TIME' => (int) 1711719901, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => '2017/06/30/housing-and-becoming-a-land-baron' [protected] base => '' [protected] webroot => '/' [protected] here => '/2017/06/30/housing-and-becoming-a-land-baron' [protected] trustedProxies => [] [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) {}, 'csv' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'csv' ], 'rss' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'rss' ] ] [protected] _detectorCache => [] [protected] stream => object(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.rpvonline.net' [private] port => null [private] path => '/2017/06/30/housing-and-becoming-a-land-baron' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 86400 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] [private] mergeFilesAsObjects => false } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ], 'Strict-Transport-Security' => [ (int) 0 => 'max-age=31536000' ] ], '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) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'USER' => 'rpv2007', 'HOME' => '/var/www/vhosts/rpvonline.net', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/2017/06/30/housing-and-becoming-a-land-baron', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/webroot/2017/06/30/housing-and-becoming-a-land-baron', 'REMOTE_PORT' => '46724', 'SCRIPT_FILENAME' => '/var/www/vhosts/rpvonline.net/httpdocs/webroot/index.php', 'SERVER_ADMIN' => 'root@localhost', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/vhosts/rpvonline.net/httpdocs', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/var/www/vhosts/rpvonline.net/httpdocs', 'REMOTE_ADDR' => '3.81.13.254', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '169.53.177.117', 'SERVER_NAME' => 'www.rpvonline.net', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin', 'HTTP_REFERER' => 'https://www.rpvonline.net/2017/06/30/housing-and-becoming-a-land-baron/', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_CONNECTION' => 'close', 'HTTP_X_ACCEL_INTERNAL' => '/internal-nginx-static-location', 'HTTP_X_REAL_IP' => '3.81.13.254', 'HTTP_HOST' => 'www.rpvonline.net', 'proxy-nokeepalive' => '1', 'HTTPS' => 'on', 'PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'UNIQUE_ID' => 'ZgbF3Tmiwh4LtqCYsHR5mgAAAlc', 'REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'REDIRECT_UNIQUE_ID' => 'ZgbF3Tmiwh4LtqCYsHR5mgAAAlc', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgbF3Tmiwh4LtqCYsHR5mgAAAlc', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711719901.7835, 'REQUEST_TIME' => (int) 1711719901, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => '2017/06/30/housing-and-becoming-a-land-baron' [protected] base => '' [protected] webroot => '/' [protected] here => '/2017/06/30/housing-and-becoming-a-land-baron' [protected] trustedProxies => [] [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) {}, 'csv' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'csv' ], 'rss' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'rss' ] ] [protected] _detectorCache => [] [protected] stream => object(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.rpvonline.net' [private] port => null [private] path => '/2017/06/30/housing-and-becoming-a-land-baron' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 86400 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] [private] mergeFilesAsObjects => false } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ], 'Strict-Transport-Security' => [ (int) 0 => 'max-age=31536000' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 12 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
if ($this->addHttps && !empty($this->maxAge)) { |
|
$response = $response->withHeader(self::HEADER, |
|
\sprintf('max-age=%d%s', $this->maxAge, $this->includeSubdomains ? ';includeSubDomains' : '')); |
|
} |
|
return $next($request, $response); |
|
} |
|
} |
|
|
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'USER' => 'rpv2007', 'HOME' => '/var/www/vhosts/rpvonline.net', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/2017/06/30/housing-and-becoming-a-land-baron', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/webroot/2017/06/30/housing-and-becoming-a-land-baron', 'REMOTE_PORT' => '46724', 'SCRIPT_FILENAME' => '/var/www/vhosts/rpvonline.net/httpdocs/webroot/index.php', 'SERVER_ADMIN' => 'root@localhost', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/vhosts/rpvonline.net/httpdocs', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/var/www/vhosts/rpvonline.net/httpdocs', 'REMOTE_ADDR' => '3.81.13.254', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '169.53.177.117', 'SERVER_NAME' => 'www.rpvonline.net', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin', 'HTTP_REFERER' => 'https://www.rpvonline.net/2017/06/30/housing-and-becoming-a-land-baron/', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_CONNECTION' => 'close', 'HTTP_X_ACCEL_INTERNAL' => '/internal-nginx-static-location', 'HTTP_X_REAL_IP' => '3.81.13.254', 'HTTP_HOST' => 'www.rpvonline.net', 'proxy-nokeepalive' => '1', 'HTTPS' => 'on', 'PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'UNIQUE_ID' => 'ZgbF3Tmiwh4LtqCYsHR5mgAAAlc', 'REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'REDIRECT_UNIQUE_ID' => 'ZgbF3Tmiwh4LtqCYsHR5mgAAAlc', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgbF3Tmiwh4LtqCYsHR5mgAAAlc', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711719901.7835, 'REQUEST_TIME' => (int) 1711719901, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => '2017/06/30/housing-and-becoming-a-land-baron' [protected] base => '' [protected] webroot => '/' [protected] here => '/2017/06/30/housing-and-becoming-a-land-baron' [protected] trustedProxies => [] [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) {}, 'csv' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'csv' ], 'rss' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'rss' ] ] [protected] _detectorCache => [] [protected] stream => object(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.rpvonline.net' [private] port => null [private] path => '/2017/06/30/housing-and-becoming-a-land-baron' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 86400 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] [private] mergeFilesAsObjects => false } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ], 'Strict-Transport-Security' => [ (int) 0 => 'max-age=31536000' ] ], '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) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'USER' => 'rpv2007', 'HOME' => '/var/www/vhosts/rpvonline.net', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/2017/06/30/housing-and-becoming-a-land-baron', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/webroot/2017/06/30/housing-and-becoming-a-land-baron', 'REMOTE_PORT' => '46724', 'SCRIPT_FILENAME' => '/var/www/vhosts/rpvonline.net/httpdocs/webroot/index.php', 'SERVER_ADMIN' => 'root@localhost', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/vhosts/rpvonline.net/httpdocs', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/var/www/vhosts/rpvonline.net/httpdocs', 'REMOTE_ADDR' => '3.81.13.254', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '169.53.177.117', 'SERVER_NAME' => 'www.rpvonline.net', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin', 'HTTP_REFERER' => 'https://www.rpvonline.net/2017/06/30/housing-and-becoming-a-land-baron/', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_CONNECTION' => 'close', 'HTTP_X_ACCEL_INTERNAL' => '/internal-nginx-static-location', 'HTTP_X_REAL_IP' => '3.81.13.254', 'HTTP_HOST' => 'www.rpvonline.net', 'proxy-nokeepalive' => '1', 'HTTPS' => 'on', 'PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'UNIQUE_ID' => 'ZgbF3Tmiwh4LtqCYsHR5mgAAAlc', 'REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'REDIRECT_UNIQUE_ID' => 'ZgbF3Tmiwh4LtqCYsHR5mgAAAlc', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgbF3Tmiwh4LtqCYsHR5mgAAAlc', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711719901.7835, 'REQUEST_TIME' => (int) 1711719901, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => '2017/06/30/housing-and-becoming-a-land-baron' [protected] base => '' [protected] webroot => '/' [protected] here => '/2017/06/30/housing-and-becoming-a-land-baron' [protected] trustedProxies => [] [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) {}, 'csv' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'csv' ], 'rss' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'rss' ] ] [protected] _detectorCache => [] [protected] stream => object(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.rpvonline.net' [private] port => null [private] path => '/2017/06/30/housing-and-becoming-a-land-baron' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 86400 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] [private] mergeFilesAsObjects => false } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ], 'Strict-Transport-Security' => [ (int) 0 => 'max-age=31536000' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 12 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
if ($this->redirectStatus !== false && ($uri->getHost() !== $host)) { |
|
return $this->getRedirectResponse($request, $uri->withHost($host), $response); |
|
} |
|
|
|
return $next($request->withUri($uri->withHost($host)), $response); |
|
} |
|
|
|
/** |
|
* Check whether the domain can add a www. subdomain. |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'USER' => 'rpv2007', 'HOME' => '/var/www/vhosts/rpvonline.net', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/2017/06/30/housing-and-becoming-a-land-baron', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/webroot/2017/06/30/housing-and-becoming-a-land-baron', 'REMOTE_PORT' => '46724', 'SCRIPT_FILENAME' => '/var/www/vhosts/rpvonline.net/httpdocs/webroot/index.php', 'SERVER_ADMIN' => 'root@localhost', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/vhosts/rpvonline.net/httpdocs', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/var/www/vhosts/rpvonline.net/httpdocs', 'REMOTE_ADDR' => '3.81.13.254', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '169.53.177.117', 'SERVER_NAME' => 'www.rpvonline.net', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin', 'HTTP_REFERER' => 'https://www.rpvonline.net/2017/06/30/housing-and-becoming-a-land-baron/', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_CONNECTION' => 'close', 'HTTP_X_ACCEL_INTERNAL' => '/internal-nginx-static-location', 'HTTP_X_REAL_IP' => '3.81.13.254', 'HTTP_HOST' => 'www.rpvonline.net', 'proxy-nokeepalive' => '1', 'HTTPS' => 'on', 'PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'UNIQUE_ID' => 'ZgbF3Tmiwh4LtqCYsHR5mgAAAlc', 'REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'REDIRECT_UNIQUE_ID' => 'ZgbF3Tmiwh4LtqCYsHR5mgAAAlc', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgbF3Tmiwh4LtqCYsHR5mgAAAlc', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711719901.7835, 'REQUEST_TIME' => (int) 1711719901, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => '2017/06/30/housing-and-becoming-a-land-baron' [protected] base => '' [protected] webroot => '/' [protected] here => '/2017/06/30/housing-and-becoming-a-land-baron' [protected] trustedProxies => [] [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) {}, 'csv' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'csv' ], 'rss' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'rss' ] ] [protected] _detectorCache => [] [protected] stream => object(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.rpvonline.net' [private] port => null [private] path => '/2017/06/30/housing-and-becoming-a-land-baron' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 86400 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] [private] mergeFilesAsObjects => false } 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) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'USER' => 'rpv2007', 'HOME' => '/var/www/vhosts/rpvonline.net', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/2017/06/30/housing-and-becoming-a-land-baron', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/webroot/2017/06/30/housing-and-becoming-a-land-baron', 'REMOTE_PORT' => '46724', 'SCRIPT_FILENAME' => '/var/www/vhosts/rpvonline.net/httpdocs/webroot/index.php', 'SERVER_ADMIN' => 'root@localhost', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/vhosts/rpvonline.net/httpdocs', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/var/www/vhosts/rpvonline.net/httpdocs', 'REMOTE_ADDR' => '3.81.13.254', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '169.53.177.117', 'SERVER_NAME' => 'www.rpvonline.net', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin', 'HTTP_REFERER' => 'https://www.rpvonline.net/2017/06/30/housing-and-becoming-a-land-baron/', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_CONNECTION' => 'close', 'HTTP_X_ACCEL_INTERNAL' => '/internal-nginx-static-location', 'HTTP_X_REAL_IP' => '3.81.13.254', 'HTTP_HOST' => 'www.rpvonline.net', 'proxy-nokeepalive' => '1', 'HTTPS' => 'on', 'PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'UNIQUE_ID' => 'ZgbF3Tmiwh4LtqCYsHR5mgAAAlc', 'REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'REDIRECT_UNIQUE_ID' => 'ZgbF3Tmiwh4LtqCYsHR5mgAAAlc', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgbF3Tmiwh4LtqCYsHR5mgAAAlc', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711719901.7835, 'REQUEST_TIME' => (int) 1711719901, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => '2017/06/30/housing-and-becoming-a-land-baron' [protected] base => '' [protected] webroot => '/' [protected] here => '/2017/06/30/housing-and-becoming-a-land-baron' [protected] trustedProxies => [] [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) {}, 'csv' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'csv' ], 'rss' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'rss' ] ] [protected] _detectorCache => [] [protected] stream => object(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.rpvonline.net' [private] port => null [private] path => '/2017/06/30/housing-and-becoming-a-land-baron' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 86400 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] [private] mergeFilesAsObjects => false } 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) 12 [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) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'USER' => 'rpv2007', 'HOME' => '/var/www/vhosts/rpvonline.net', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/2017/06/30/housing-and-becoming-a-land-baron', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/webroot/2017/06/30/housing-and-becoming-a-land-baron', 'REMOTE_PORT' => '46724', 'SCRIPT_FILENAME' => '/var/www/vhosts/rpvonline.net/httpdocs/webroot/index.php', 'SERVER_ADMIN' => 'root@localhost', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/vhosts/rpvonline.net/httpdocs', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/var/www/vhosts/rpvonline.net/httpdocs', 'REMOTE_ADDR' => '3.81.13.254', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '169.53.177.117', 'SERVER_NAME' => 'www.rpvonline.net', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin', 'HTTP_REFERER' => 'https://www.rpvonline.net/2017/06/30/housing-and-becoming-a-land-baron/', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_CONNECTION' => 'close', 'HTTP_X_ACCEL_INTERNAL' => '/internal-nginx-static-location', 'HTTP_X_REAL_IP' => '3.81.13.254', 'HTTP_HOST' => 'www.rpvonline.net', 'proxy-nokeepalive' => '1', 'HTTPS' => 'on', 'PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'UNIQUE_ID' => 'ZgbF3Tmiwh4LtqCYsHR5mgAAAlc', 'REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'REDIRECT_UNIQUE_ID' => 'ZgbF3Tmiwh4LtqCYsHR5mgAAAlc', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgbF3Tmiwh4LtqCYsHR5mgAAAlc', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711719901.7835, 'REQUEST_TIME' => (int) 1711719901, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => '2017/06/30/housing-and-becoming-a-land-baron' [protected] base => '' [protected] webroot => '/' [protected] here => '/2017/06/30/housing-and-becoming-a-land-baron' [protected] trustedProxies => [] [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) {}, 'csv' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'csv' ], 'rss' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'rss' ] ] [protected] _detectorCache => [] [protected] stream => object(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.rpvonline.net' [private] port => null [private] path => '/2017/06/30/housing-and-becoming-a-land-baron' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 86400 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] [private] mergeFilesAsObjects => false } 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) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'USER' => 'rpv2007', 'HOME' => '/var/www/vhosts/rpvonline.net', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/2017/06/30/housing-and-becoming-a-land-baron', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/webroot/2017/06/30/housing-and-becoming-a-land-baron', 'REMOTE_PORT' => '46724', 'SCRIPT_FILENAME' => '/var/www/vhosts/rpvonline.net/httpdocs/webroot/index.php', 'SERVER_ADMIN' => 'root@localhost', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/vhosts/rpvonline.net/httpdocs', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/var/www/vhosts/rpvonline.net/httpdocs', 'REMOTE_ADDR' => '3.81.13.254', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '169.53.177.117', 'SERVER_NAME' => 'www.rpvonline.net', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin', 'HTTP_REFERER' => 'https://www.rpvonline.net/2017/06/30/housing-and-becoming-a-land-baron/', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_CONNECTION' => 'close', 'HTTP_X_ACCEL_INTERNAL' => '/internal-nginx-static-location', 'HTTP_X_REAL_IP' => '3.81.13.254', 'HTTP_HOST' => 'www.rpvonline.net', 'proxy-nokeepalive' => '1', 'HTTPS' => 'on', 'PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'UNIQUE_ID' => 'ZgbF3Tmiwh4LtqCYsHR5mgAAAlc', 'REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'REDIRECT_UNIQUE_ID' => 'ZgbF3Tmiwh4LtqCYsHR5mgAAAlc', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgbF3Tmiwh4LtqCYsHR5mgAAAlc', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711719901.7835, 'REQUEST_TIME' => (int) 1711719901, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => '2017/06/30/housing-and-becoming-a-land-baron' [protected] base => '' [protected] webroot => '/' [protected] here => '/2017/06/30/housing-and-becoming-a-land-baron' [protected] trustedProxies => [] [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) {}, 'csv' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'csv' ], 'rss' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'rss' ] ] [protected] _detectorCache => [] [protected] stream => object(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.rpvonline.net' [private] port => null [private] path => '/2017/06/30/housing-and-becoming-a-land-baron' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 86400 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] [private] mergeFilesAsObjects => false } 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) 12 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
if (\substr($url, -4, 4) === '.php' || $url === '/...') { |
|
return $response->withStatus(404); |
|
} |
|
|
|
return $next($request, $response); |
|
} |
|
} |
|
|
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'USER' => 'rpv2007', 'HOME' => '/var/www/vhosts/rpvonline.net', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/2017/06/30/housing-and-becoming-a-land-baron', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/webroot/2017/06/30/housing-and-becoming-a-land-baron', 'REMOTE_PORT' => '46724', 'SCRIPT_FILENAME' => '/var/www/vhosts/rpvonline.net/httpdocs/webroot/index.php', 'SERVER_ADMIN' => 'root@localhost', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/vhosts/rpvonline.net/httpdocs', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/var/www/vhosts/rpvonline.net/httpdocs', 'REMOTE_ADDR' => '3.81.13.254', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '169.53.177.117', 'SERVER_NAME' => 'www.rpvonline.net', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin', 'HTTP_REFERER' => 'https://www.rpvonline.net/2017/06/30/housing-and-becoming-a-land-baron/', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_CONNECTION' => 'close', 'HTTP_X_ACCEL_INTERNAL' => '/internal-nginx-static-location', 'HTTP_X_REAL_IP' => '3.81.13.254', 'HTTP_HOST' => 'www.rpvonline.net', 'proxy-nokeepalive' => '1', 'HTTPS' => 'on', 'PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'UNIQUE_ID' => 'ZgbF3Tmiwh4LtqCYsHR5mgAAAlc', 'REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'REDIRECT_UNIQUE_ID' => 'ZgbF3Tmiwh4LtqCYsHR5mgAAAlc', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgbF3Tmiwh4LtqCYsHR5mgAAAlc', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711719901.7835, 'REQUEST_TIME' => (int) 1711719901, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => '2017/06/30/housing-and-becoming-a-land-baron' [protected] base => '' [protected] webroot => '/' [protected] here => '/2017/06/30/housing-and-becoming-a-land-baron' [protected] trustedProxies => [] [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) {}, 'csv' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'csv' ], 'rss' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'rss' ] ] [protected] _detectorCache => [] [protected] stream => object(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.rpvonline.net' [private] port => null [private] path => '/2017/06/30/housing-and-becoming-a-land-baron' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 86400 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] [private] mergeFilesAsObjects => false } 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) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'USER' => 'rpv2007', 'HOME' => '/var/www/vhosts/rpvonline.net', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/2017/06/30/housing-and-becoming-a-land-baron', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/webroot/2017/06/30/housing-and-becoming-a-land-baron', 'REMOTE_PORT' => '46724', 'SCRIPT_FILENAME' => '/var/www/vhosts/rpvonline.net/httpdocs/webroot/index.php', 'SERVER_ADMIN' => 'root@localhost', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/vhosts/rpvonline.net/httpdocs', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/var/www/vhosts/rpvonline.net/httpdocs', 'REMOTE_ADDR' => '3.81.13.254', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '169.53.177.117', 'SERVER_NAME' => 'www.rpvonline.net', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin', 'HTTP_REFERER' => 'https://www.rpvonline.net/2017/06/30/housing-and-becoming-a-land-baron/', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_CONNECTION' => 'close', 'HTTP_X_ACCEL_INTERNAL' => '/internal-nginx-static-location', 'HTTP_X_REAL_IP' => '3.81.13.254', 'HTTP_HOST' => 'www.rpvonline.net', 'proxy-nokeepalive' => '1', 'HTTPS' => 'on', 'PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'UNIQUE_ID' => 'ZgbF3Tmiwh4LtqCYsHR5mgAAAlc', 'REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'REDIRECT_UNIQUE_ID' => 'ZgbF3Tmiwh4LtqCYsHR5mgAAAlc', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgbF3Tmiwh4LtqCYsHR5mgAAAlc', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711719901.7835, 'REQUEST_TIME' => (int) 1711719901, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => '2017/06/30/housing-and-becoming-a-land-baron' [protected] base => '' [protected] webroot => '/' [protected] here => '/2017/06/30/housing-and-becoming-a-land-baron' [protected] trustedProxies => [] [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) {}, 'csv' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'csv' ], 'rss' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'rss' ] ] [protected] _detectorCache => [] [protected] stream => object(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.rpvonline.net' [private] port => null [private] path => '/2017/06/30/housing-and-becoming-a-land-baron' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 86400 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] [private] mergeFilesAsObjects => false } 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) 12 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
*/ |
|
public function __invoke(ServerRequestInterface $request, ResponseInterface $response, $next) |
|
{ |
|
//TODO: Make this method check if the request is for a plugin resource before failing |
|
return $next($request, $response); |
|
// $ext = \pathinfo($request->getRequestTarget(), PATHINFO_EXTENSION); |
|
// $valid_ext = $ext === '' || \in_array($ext, ['html', 'htm', 'xml', 'json', 'rss']); |
|
// return $valid_ext ? $next($request, $response) : $response->withStatus(404); |
|
} |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'USER' => 'rpv2007', 'HOME' => '/var/www/vhosts/rpvonline.net', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/2017/06/30/housing-and-becoming-a-land-baron', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/webroot/2017/06/30/housing-and-becoming-a-land-baron', 'REMOTE_PORT' => '46724', 'SCRIPT_FILENAME' => '/var/www/vhosts/rpvonline.net/httpdocs/webroot/index.php', 'SERVER_ADMIN' => 'root@localhost', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/vhosts/rpvonline.net/httpdocs', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/var/www/vhosts/rpvonline.net/httpdocs', 'REMOTE_ADDR' => '3.81.13.254', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '169.53.177.117', 'SERVER_NAME' => 'www.rpvonline.net', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin', 'HTTP_REFERER' => 'https://www.rpvonline.net/2017/06/30/housing-and-becoming-a-land-baron/', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_CONNECTION' => 'close', 'HTTP_X_ACCEL_INTERNAL' => '/internal-nginx-static-location', 'HTTP_X_REAL_IP' => '3.81.13.254', 'HTTP_HOST' => 'www.rpvonline.net', 'proxy-nokeepalive' => '1', 'HTTPS' => 'on', 'PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'UNIQUE_ID' => 'ZgbF3Tmiwh4LtqCYsHR5mgAAAlc', 'REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'REDIRECT_UNIQUE_ID' => 'ZgbF3Tmiwh4LtqCYsHR5mgAAAlc', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgbF3Tmiwh4LtqCYsHR5mgAAAlc', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711719901.7835, 'REQUEST_TIME' => (int) 1711719901, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => '2017/06/30/housing-and-becoming-a-land-baron' [protected] base => '' [protected] webroot => '/' [protected] here => '/2017/06/30/housing-and-becoming-a-land-baron' [protected] trustedProxies => [] [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) {}, 'csv' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'csv' ], 'rss' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'rss' ] ] [protected] _detectorCache => [] [protected] stream => object(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.rpvonline.net' [private] port => null [private] path => '/2017/06/30/housing-and-becoming-a-land-baron' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 86400 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] [private] mergeFilesAsObjects => false } 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) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'USER' => 'rpv2007', 'HOME' => '/var/www/vhosts/rpvonline.net', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/2017/06/30/housing-and-becoming-a-land-baron', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/webroot/2017/06/30/housing-and-becoming-a-land-baron', 'REMOTE_PORT' => '46724', 'SCRIPT_FILENAME' => '/var/www/vhosts/rpvonline.net/httpdocs/webroot/index.php', 'SERVER_ADMIN' => 'root@localhost', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/vhosts/rpvonline.net/httpdocs', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/var/www/vhosts/rpvonline.net/httpdocs', 'REMOTE_ADDR' => '3.81.13.254', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '169.53.177.117', 'SERVER_NAME' => 'www.rpvonline.net', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin', 'HTTP_REFERER' => 'https://www.rpvonline.net/2017/06/30/housing-and-becoming-a-land-baron/', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_CONNECTION' => 'close', 'HTTP_X_ACCEL_INTERNAL' => '/internal-nginx-static-location', 'HTTP_X_REAL_IP' => '3.81.13.254', 'HTTP_HOST' => 'www.rpvonline.net', 'proxy-nokeepalive' => '1', 'HTTPS' => 'on', 'PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'UNIQUE_ID' => 'ZgbF3Tmiwh4LtqCYsHR5mgAAAlc', 'REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'REDIRECT_UNIQUE_ID' => 'ZgbF3Tmiwh4LtqCYsHR5mgAAAlc', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgbF3Tmiwh4LtqCYsHR5mgAAAlc', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711719901.7835, 'REQUEST_TIME' => (int) 1711719901, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => '2017/06/30/housing-and-becoming-a-land-baron' [protected] base => '' [protected] webroot => '/' [protected] here => '/2017/06/30/housing-and-becoming-a-land-baron' [protected] trustedProxies => [] [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) {}, 'csv' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'csv' ], 'rss' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'rss' ] ] [protected] _detectorCache => [] [protected] stream => object(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.rpvonline.net' [private] port => null [private] path => '/2017/06/30/housing-and-becoming-a-land-baron' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 86400 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] [private] mergeFilesAsObjects => false } 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) 12 [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) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'USER' => 'rpv2007', 'HOME' => '/var/www/vhosts/rpvonline.net', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/2017/06/30/housing-and-becoming-a-land-baron', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/webroot/2017/06/30/housing-and-becoming-a-land-baron', 'REMOTE_PORT' => '46724', 'SCRIPT_FILENAME' => '/var/www/vhosts/rpvonline.net/httpdocs/webroot/index.php', 'SERVER_ADMIN' => 'root@localhost', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/vhosts/rpvonline.net/httpdocs', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/var/www/vhosts/rpvonline.net/httpdocs', 'REMOTE_ADDR' => '3.81.13.254', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '169.53.177.117', 'SERVER_NAME' => 'www.rpvonline.net', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin', 'HTTP_REFERER' => 'https://www.rpvonline.net/2017/06/30/housing-and-becoming-a-land-baron/', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_CONNECTION' => 'close', 'HTTP_X_ACCEL_INTERNAL' => '/internal-nginx-static-location', 'HTTP_X_REAL_IP' => '3.81.13.254', 'HTTP_HOST' => 'www.rpvonline.net', 'proxy-nokeepalive' => '1', 'HTTPS' => 'on', 'PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'UNIQUE_ID' => 'ZgbF3Tmiwh4LtqCYsHR5mgAAAlc', 'REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'REDIRECT_UNIQUE_ID' => 'ZgbF3Tmiwh4LtqCYsHR5mgAAAlc', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgbF3Tmiwh4LtqCYsHR5mgAAAlc', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711719901.7835, 'REQUEST_TIME' => (int) 1711719901, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => '2017/06/30/housing-and-becoming-a-land-baron' [protected] base => '' [protected] webroot => '/' [protected] here => '/2017/06/30/housing-and-becoming-a-land-baron' [protected] trustedProxies => [] [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) {}, 'csv' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'csv' ], 'rss' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'rss' ] ] [protected] _detectorCache => [] [protected] stream => object(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.rpvonline.net' [private] port => null [private] path => '/2017/06/30/housing-and-becoming-a-land-baron' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 86400 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] [private] mergeFilesAsObjects => false } 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) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'USER' => 'rpv2007', 'HOME' => '/var/www/vhosts/rpvonline.net', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/2017/06/30/housing-and-becoming-a-land-baron', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/webroot/2017/06/30/housing-and-becoming-a-land-baron', 'REMOTE_PORT' => '46724', 'SCRIPT_FILENAME' => '/var/www/vhosts/rpvonline.net/httpdocs/webroot/index.php', 'SERVER_ADMIN' => 'root@localhost', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/vhosts/rpvonline.net/httpdocs', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/var/www/vhosts/rpvonline.net/httpdocs', 'REMOTE_ADDR' => '3.81.13.254', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '169.53.177.117', 'SERVER_NAME' => 'www.rpvonline.net', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin', 'HTTP_REFERER' => 'https://www.rpvonline.net/2017/06/30/housing-and-becoming-a-land-baron/', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_CONNECTION' => 'close', 'HTTP_X_ACCEL_INTERNAL' => '/internal-nginx-static-location', 'HTTP_X_REAL_IP' => '3.81.13.254', 'HTTP_HOST' => 'www.rpvonline.net', 'proxy-nokeepalive' => '1', 'HTTPS' => 'on', 'PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'UNIQUE_ID' => 'ZgbF3Tmiwh4LtqCYsHR5mgAAAlc', 'REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'REDIRECT_UNIQUE_ID' => 'ZgbF3Tmiwh4LtqCYsHR5mgAAAlc', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgbF3Tmiwh4LtqCYsHR5mgAAAlc', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711719901.7835, 'REQUEST_TIME' => (int) 1711719901, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => '2017/06/30/housing-and-becoming-a-land-baron' [protected] base => '' [protected] webroot => '/' [protected] here => '/2017/06/30/housing-and-becoming-a-land-baron' [protected] trustedProxies => [] [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) {}, 'csv' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'csv' ], 'rss' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'rss' ] ] [protected] _detectorCache => [] [protected] stream => object(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.rpvonline.net' [private] port => null [private] path => '/2017/06/30/housing-and-becoming-a-land-baron' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 86400 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] [private] mergeFilesAsObjects => false } 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) 12 [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) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'USER' => 'rpv2007', 'HOME' => '/var/www/vhosts/rpvonline.net', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/2017/06/30/housing-and-becoming-a-land-baron', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/webroot/2017/06/30/housing-and-becoming-a-land-baron', 'REMOTE_PORT' => '46724', 'SCRIPT_FILENAME' => '/var/www/vhosts/rpvonline.net/httpdocs/webroot/index.php', 'SERVER_ADMIN' => 'root@localhost', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/vhosts/rpvonline.net/httpdocs', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/var/www/vhosts/rpvonline.net/httpdocs', 'REMOTE_ADDR' => '3.81.13.254', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '169.53.177.117', 'SERVER_NAME' => 'www.rpvonline.net', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin', 'HTTP_REFERER' => 'https://www.rpvonline.net/2017/06/30/housing-and-becoming-a-land-baron/', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_CONNECTION' => 'close', 'HTTP_X_ACCEL_INTERNAL' => '/internal-nginx-static-location', 'HTTP_X_REAL_IP' => '3.81.13.254', 'HTTP_HOST' => 'www.rpvonline.net', 'proxy-nokeepalive' => '1', 'HTTPS' => 'on', 'PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'UNIQUE_ID' => 'ZgbF3Tmiwh4LtqCYsHR5mgAAAlc', 'REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'REDIRECT_UNIQUE_ID' => 'ZgbF3Tmiwh4LtqCYsHR5mgAAAlc', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgbF3Tmiwh4LtqCYsHR5mgAAAlc', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711719901.7835, 'REQUEST_TIME' => (int) 1711719901, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => '2017/06/30/housing-and-becoming-a-land-baron' [protected] base => '' [protected] webroot => '/' [protected] here => '/2017/06/30/housing-and-becoming-a-land-baron' [protected] trustedProxies => [] [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) {}, 'csv' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'csv' ], 'rss' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'rss' ] ] [protected] _detectorCache => [] [protected] stream => object(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.rpvonline.net' [private] port => null [private] path => '/2017/06/30/housing-and-becoming-a-land-baron' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 86400 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] [private] mergeFilesAsObjects => false } 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' => '' }
} |
|
$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(Cake\Error\Middleware\ErrorHandlerMiddleware) {}, (int) 1 => object(Catalyst\Middleware\FileNotFoundMiddleware) {}, (int) 2 => object(Catalyst\Middleware\TrollingFilterMiddleware) {}, (int) 3 => object(Cake\Routing\Middleware\AssetMiddleware) {}, (int) 4 => object(Catalyst\Middleware\WwwRedirectMiddleware) {}, (int) 5 => object(Catalyst\Middleware\HttpsRedirectMiddleware) {}, (int) 6 => object(Catalyst\Middleware\TrailingSlashMiddleware) {}, (int) 7 => object(Catalyst\Middleware\LockForMaintenanceMiddleware) {}, (int) 8 => object(Cake\Routing\Middleware\RoutingMiddleware) {}, (int) 9 => object(Catalyst\Middleware\StripDefaultAliasMiddleware) {}, (int) 10 => object(Catalyst\Middleware\AdnRedirectMiddleware) {}, (int) 11 => object(Catalyst\Application) {} ] [protected] callables => [ (int) 0 => object(Cake\Error\Middleware\ErrorHandlerMiddleware) {}, (int) 1 => object(Catalyst\Middleware\FileNotFoundMiddleware) {}, (int) 2 => object(Catalyst\Middleware\TrollingFilterMiddleware) {}, (int) 3 => object(Cake\Routing\Middleware\AssetMiddleware) {}, (int) 4 => object(Catalyst\Middleware\WwwRedirectMiddleware) {}, (int) 5 => object(Catalyst\Middleware\HttpsRedirectMiddleware) {}, (int) 6 => object(Catalyst\Middleware\TrailingSlashMiddleware) {}, (int) 7 => object(Catalyst\Middleware\LockForMaintenanceMiddleware) {}, (int) 8 => object(Cake\Routing\Middleware\RoutingMiddleware) {}, (int) 9 => object(Catalyst\Middleware\StripDefaultAliasMiddleware) {}, (int) 10 => object(Catalyst\Middleware\AdnRedirectMiddleware) {}, (int) 11 => object(Catalyst\Application) {} ] } object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'USER' => 'rpv2007', 'HOME' => '/var/www/vhosts/rpvonline.net', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/2017/06/30/housing-and-becoming-a-land-baron', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/webroot/2017/06/30/housing-and-becoming-a-land-baron', 'REMOTE_PORT' => '46724', 'SCRIPT_FILENAME' => '/var/www/vhosts/rpvonline.net/httpdocs/webroot/index.php', 'SERVER_ADMIN' => 'root@localhost', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/vhosts/rpvonline.net/httpdocs', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/var/www/vhosts/rpvonline.net/httpdocs', 'REMOTE_ADDR' => '3.81.13.254', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '169.53.177.117', 'SERVER_NAME' => 'www.rpvonline.net', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin', 'HTTP_REFERER' => 'https://www.rpvonline.net/2017/06/30/housing-and-becoming-a-land-baron/', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_CONNECTION' => 'close', 'HTTP_X_ACCEL_INTERNAL' => '/internal-nginx-static-location', 'HTTP_X_REAL_IP' => '3.81.13.254', 'HTTP_HOST' => 'www.rpvonline.net', 'proxy-nokeepalive' => '1', 'HTTPS' => 'on', 'PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'UNIQUE_ID' => 'ZgbF3Tmiwh4LtqCYsHR5mgAAAlc', 'REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'REDIRECT_UNIQUE_ID' => 'ZgbF3Tmiwh4LtqCYsHR5mgAAAlc', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgbF3Tmiwh4LtqCYsHR5mgAAAlc', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711719901.7835, 'REQUEST_TIME' => (int) 1711719901, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => '2017/06/30/housing-and-becoming-a-land-baron' [protected] base => '' [protected] webroot => '/' [protected] here => '/2017/06/30/housing-and-becoming-a-land-baron' [protected] trustedProxies => [] [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) {}, 'csv' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'csv' ], 'rss' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'rss' ] ] [protected] _detectorCache => [] [protected] stream => object(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.rpvonline.net' [private] port => null [private] path => '/2017/06/30/housing-and-becoming-a-land-baron' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 86400 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] [private] mergeFilesAsObjects => false } 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' => '' }
exit(); |
|
} |
|
} |
|
} |
|
return parent::run($request, $response); |
|
} |
|
} |
|
|
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'USER' => 'rpv2007', 'HOME' => '/var/www/vhosts/rpvonline.net', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/2017/06/30/housing-and-becoming-a-land-baron', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/webroot/2017/06/30/housing-and-becoming-a-land-baron', 'REMOTE_PORT' => '46724', 'SCRIPT_FILENAME' => '/var/www/vhosts/rpvonline.net/httpdocs/webroot/index.php', 'SERVER_ADMIN' => 'root@localhost', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/vhosts/rpvonline.net/httpdocs', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/var/www/vhosts/rpvonline.net/httpdocs', 'REMOTE_ADDR' => '3.81.13.254', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '169.53.177.117', 'SERVER_NAME' => 'www.rpvonline.net', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin', 'HTTP_REFERER' => 'https://www.rpvonline.net/2017/06/30/housing-and-becoming-a-land-baron/', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_CONNECTION' => 'close', 'HTTP_X_ACCEL_INTERNAL' => '/internal-nginx-static-location', 'HTTP_X_REAL_IP' => '3.81.13.254', 'HTTP_HOST' => 'www.rpvonline.net', 'proxy-nokeepalive' => '1', 'HTTPS' => 'on', 'PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'UNIQUE_ID' => 'ZgbF3Tmiwh4LtqCYsHR5mgAAAlc', 'REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'REDIRECT_UNIQUE_ID' => 'ZgbF3Tmiwh4LtqCYsHR5mgAAAlc', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgbF3Tmiwh4LtqCYsHR5mgAAAlc', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711719901.7835, 'REQUEST_TIME' => (int) 1711719901, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => '2017/06/30/housing-and-becoming-a-land-baron' [protected] base => '' [protected] webroot => '/' [protected] here => '/2017/06/30/housing-and-becoming-a-land-baron' [protected] trustedProxies => [] [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) {}, 'csv' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'csv' ], 'rss' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'rss' ] ] [protected] _detectorCache => [] [protected] stream => object(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.rpvonline.net' [private] port => null [private] path => '/2017/06/30/housing-and-becoming-a-land-baron' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 86400 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] [private] mergeFilesAsObjects => false } 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' => '' }
$server = new CatalystServer(new Application(dirname(__DIR__) . '/config')); |
|
|
|
// 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