if (!static::$initialized) { |
|
static::_loadRoutes(); |
|
} |
|
|
|
return static::$_collection->parseRequest($request); |
|
} |
|
|
|
/** |
|
* Takes parameter and path information back from the Dispatcher, sets these |
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 => [ 'REDIRECT_REDIRECT_SCRIPT_URL' => '/rdi/contentfiles/newsletter.php', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.rosensdiversifiedinc.com/rdi/contentfiles/newsletter.php', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_SCRIPT_URL' => '/rdi/contentfiles/newsletter.php', 'REDIRECT_SCRIPT_URI' => 'https://www.rosensdiversifiedinc.com/rdi/contentfiles/newsletter.php', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_STATUS' => '200', 'SCRIPT_URL' => '/rdi/contentfiles/newsletter.php', 'SCRIPT_URI' => 'https://www.rosensdiversifiedinc.com/rdi/contentfiles/newsletter.php', 'HTTPS' => 'on', 'HTTP_X_FORWARDED_FOR' => '34.230.35.103', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_X_FORWARDED_PORT' => '443', 'HTTP_HOST' => 'www.rosensdiversifiedinc.com', 'HTTP_X_AMZN_TRACE_ID' => 'Root=1-66055c73-7f2fbe4b0fbd6d1a54cf450a', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_REFERER' => 'http://www.rosensdiversifiedinc.com/rdi/contentfiles/newsletter.php', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at www.rosensdiversifiedinc.com Port 443</address> ', 'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)', 'SERVER_NAME' => 'www.rosensdiversifiedinc.com', 'SERVER_ADDR' => '172.31.37.113', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '172.31.35.100', 'DOCUMENT_ROOT' => '/var/www/rosensdiversifiedinc.com/httpdocs', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/rosensdiversifiedinc.com/httpdocs', 'SERVER_ADMIN' => '[no address given]', 'SCRIPT_FILENAME' => '/var/www/rosensdiversifiedinc.com/httpdocs/webroot/index.php', 'REMOTE_PORT' => '26434', 'REDIRECT_URL' => '/webroot/rdi/contentfiles/newsletter.php', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/rdi/contentfiles/newsletter.php', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711627379.839, 'REQUEST_TIME' => (int) 1711627379, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'rdi/contentfiles/newsletter.php' [protected] base => '' [protected] webroot => '/' [protected] here => '/rdi/contentfiles/newsletter.php' [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) {} ] [protected] _detectorCache => [ 'ajax' => false, 'get' => true, 'head' => false, 'options' => false ] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.rosensdiversifiedinc.com' [private] port => null [private] path => '/rdi/contentfiles/newsletter.php' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 28800 [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")' ] ] }
$parsedBody = $request->getParsedBody(); |
|
if (is_array($parsedBody) && isset($parsedBody['_method'])) { |
|
$request = $request->withMethod($parsedBody['_method']); |
|
} |
|
$params = Router::parseRequest($request) + $params; |
|
if (isset($params['_middleware'])) { |
|
$middleware = $params['_middleware']; |
|
unset($params['_middleware']); |
|
} |
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 => [ 'REDIRECT_REDIRECT_SCRIPT_URL' => '/rdi/contentfiles/newsletter.php', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.rosensdiversifiedinc.com/rdi/contentfiles/newsletter.php', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_SCRIPT_URL' => '/rdi/contentfiles/newsletter.php', 'REDIRECT_SCRIPT_URI' => 'https://www.rosensdiversifiedinc.com/rdi/contentfiles/newsletter.php', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_STATUS' => '200', 'SCRIPT_URL' => '/rdi/contentfiles/newsletter.php', 'SCRIPT_URI' => 'https://www.rosensdiversifiedinc.com/rdi/contentfiles/newsletter.php', 'HTTPS' => 'on', 'HTTP_X_FORWARDED_FOR' => '34.230.35.103', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_X_FORWARDED_PORT' => '443', 'HTTP_HOST' => 'www.rosensdiversifiedinc.com', 'HTTP_X_AMZN_TRACE_ID' => 'Root=1-66055c73-7f2fbe4b0fbd6d1a54cf450a', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_REFERER' => 'http://www.rosensdiversifiedinc.com/rdi/contentfiles/newsletter.php', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at www.rosensdiversifiedinc.com Port 443</address> ', 'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)', 'SERVER_NAME' => 'www.rosensdiversifiedinc.com', 'SERVER_ADDR' => '172.31.37.113', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '172.31.35.100', 'DOCUMENT_ROOT' => '/var/www/rosensdiversifiedinc.com/httpdocs', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/rosensdiversifiedinc.com/httpdocs', 'SERVER_ADMIN' => '[no address given]', 'SCRIPT_FILENAME' => '/var/www/rosensdiversifiedinc.com/httpdocs/webroot/index.php', 'REMOTE_PORT' => '26434', 'REDIRECT_URL' => '/webroot/rdi/contentfiles/newsletter.php', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/rdi/contentfiles/newsletter.php', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711627379.839, 'REQUEST_TIME' => (int) 1711627379, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'rdi/contentfiles/newsletter.php' [protected] base => '' [protected] webroot => '/' [protected] here => '/rdi/contentfiles/newsletter.php' [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) {} ] [protected] _detectorCache => [ 'ajax' => false, 'get' => true, 'head' => false, 'options' => false ] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.rosensdiversifiedinc.com' [private] port => null [private] path => '/rdi/contentfiles/newsletter.php' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 28800 [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")' ] ] }
$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 => [ 'REDIRECT_REDIRECT_SCRIPT_URL' => '/rdi/contentfiles/newsletter.php', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.rosensdiversifiedinc.com/rdi/contentfiles/newsletter.php', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_SCRIPT_URL' => '/rdi/contentfiles/newsletter.php', 'REDIRECT_SCRIPT_URI' => 'https://www.rosensdiversifiedinc.com/rdi/contentfiles/newsletter.php', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_STATUS' => '200', 'SCRIPT_URL' => '/rdi/contentfiles/newsletter.php', 'SCRIPT_URI' => 'https://www.rosensdiversifiedinc.com/rdi/contentfiles/newsletter.php', 'HTTPS' => 'on', 'HTTP_X_FORWARDED_FOR' => '34.230.35.103', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_X_FORWARDED_PORT' => '443', 'HTTP_HOST' => 'www.rosensdiversifiedinc.com', 'HTTP_X_AMZN_TRACE_ID' => 'Root=1-66055c73-7f2fbe4b0fbd6d1a54cf450a', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_REFERER' => 'http://www.rosensdiversifiedinc.com/rdi/contentfiles/newsletter.php', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at www.rosensdiversifiedinc.com Port 443</address> ', 'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)', 'SERVER_NAME' => 'www.rosensdiversifiedinc.com', 'SERVER_ADDR' => '172.31.37.113', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '172.31.35.100', 'DOCUMENT_ROOT' => '/var/www/rosensdiversifiedinc.com/httpdocs', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/rosensdiversifiedinc.com/httpdocs', 'SERVER_ADMIN' => '[no address given]', 'SCRIPT_FILENAME' => '/var/www/rosensdiversifiedinc.com/httpdocs/webroot/index.php', 'REMOTE_PORT' => '26434', 'REDIRECT_URL' => '/webroot/rdi/contentfiles/newsletter.php', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/rdi/contentfiles/newsletter.php', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711627379.839, 'REQUEST_TIME' => (int) 1711627379, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'rdi/contentfiles/newsletter.php' [protected] base => '' [protected] webroot => '/' [protected] here => '/rdi/contentfiles/newsletter.php' [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) {} ] [protected] _detectorCache => [ 'ajax' => false, 'get' => true, 'head' => false, 'options' => false ] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.rosensdiversifiedinc.com' [private] port => null [private] path => '/rdi/contentfiles/newsletter.php' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 28800 [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")' ] ] } 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) 3 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
} |
|
|
|
$assetFile = $this->_getAssetFile($url); |
|
if ($assetFile === null || !file_exists($assetFile)) { |
|
return $next($request, $response); |
|
} |
|
|
|
$file = new File($assetFile); |
|
$modifiedTime = $file->lastChange(); |
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 => [ 'REDIRECT_REDIRECT_SCRIPT_URL' => '/rdi/contentfiles/newsletter.php', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.rosensdiversifiedinc.com/rdi/contentfiles/newsletter.php', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_SCRIPT_URL' => '/rdi/contentfiles/newsletter.php', 'REDIRECT_SCRIPT_URI' => 'https://www.rosensdiversifiedinc.com/rdi/contentfiles/newsletter.php', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_STATUS' => '200', 'SCRIPT_URL' => '/rdi/contentfiles/newsletter.php', 'SCRIPT_URI' => 'https://www.rosensdiversifiedinc.com/rdi/contentfiles/newsletter.php', 'HTTPS' => 'on', 'HTTP_X_FORWARDED_FOR' => '34.230.35.103', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_X_FORWARDED_PORT' => '443', 'HTTP_HOST' => 'www.rosensdiversifiedinc.com', 'HTTP_X_AMZN_TRACE_ID' => 'Root=1-66055c73-7f2fbe4b0fbd6d1a54cf450a', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_REFERER' => 'http://www.rosensdiversifiedinc.com/rdi/contentfiles/newsletter.php', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at www.rosensdiversifiedinc.com Port 443</address> ', 'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)', 'SERVER_NAME' => 'www.rosensdiversifiedinc.com', 'SERVER_ADDR' => '172.31.37.113', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '172.31.35.100', 'DOCUMENT_ROOT' => '/var/www/rosensdiversifiedinc.com/httpdocs', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/rosensdiversifiedinc.com/httpdocs', 'SERVER_ADMIN' => '[no address given]', 'SCRIPT_FILENAME' => '/var/www/rosensdiversifiedinc.com/httpdocs/webroot/index.php', 'REMOTE_PORT' => '26434', 'REDIRECT_URL' => '/webroot/rdi/contentfiles/newsletter.php', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/rdi/contentfiles/newsletter.php', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711627379.839, 'REQUEST_TIME' => (int) 1711627379, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'rdi/contentfiles/newsletter.php' [protected] base => '' [protected] webroot => '/' [protected] here => '/rdi/contentfiles/newsletter.php' [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) {} ] [protected] _detectorCache => [ 'ajax' => false, 'get' => true, 'head' => false, 'options' => false ] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.rosensdiversifiedinc.com' [private] port => null [private] path => '/rdi/contentfiles/newsletter.php' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 28800 [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")' ] ] } 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 => [ 'REDIRECT_REDIRECT_SCRIPT_URL' => '/rdi/contentfiles/newsletter.php', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.rosensdiversifiedinc.com/rdi/contentfiles/newsletter.php', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_SCRIPT_URL' => '/rdi/contentfiles/newsletter.php', 'REDIRECT_SCRIPT_URI' => 'https://www.rosensdiversifiedinc.com/rdi/contentfiles/newsletter.php', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_STATUS' => '200', 'SCRIPT_URL' => '/rdi/contentfiles/newsletter.php', 'SCRIPT_URI' => 'https://www.rosensdiversifiedinc.com/rdi/contentfiles/newsletter.php', 'HTTPS' => 'on', 'HTTP_X_FORWARDED_FOR' => '34.230.35.103', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_X_FORWARDED_PORT' => '443', 'HTTP_HOST' => 'www.rosensdiversifiedinc.com', 'HTTP_X_AMZN_TRACE_ID' => 'Root=1-66055c73-7f2fbe4b0fbd6d1a54cf450a', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_REFERER' => 'http://www.rosensdiversifiedinc.com/rdi/contentfiles/newsletter.php', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at www.rosensdiversifiedinc.com Port 443</address> ', 'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)', 'SERVER_NAME' => 'www.rosensdiversifiedinc.com', 'SERVER_ADDR' => '172.31.37.113', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '172.31.35.100', 'DOCUMENT_ROOT' => '/var/www/rosensdiversifiedinc.com/httpdocs', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/rosensdiversifiedinc.com/httpdocs', 'SERVER_ADMIN' => '[no address given]', 'SCRIPT_FILENAME' => '/var/www/rosensdiversifiedinc.com/httpdocs/webroot/index.php', 'REMOTE_PORT' => '26434', 'REDIRECT_URL' => '/webroot/rdi/contentfiles/newsletter.php', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/rdi/contentfiles/newsletter.php', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711627379.839, 'REQUEST_TIME' => (int) 1711627379, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'rdi/contentfiles/newsletter.php' [protected] base => '' [protected] webroot => '/' [protected] here => '/rdi/contentfiles/newsletter.php' [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) {} ] [protected] _detectorCache => [ 'ajax' => false, 'get' => true, 'head' => false, 'options' => false ] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.rosensdiversifiedinc.com' [private] port => null [private] path => '/rdi/contentfiles/newsletter.php' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 28800 [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")' ] ] } 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) 3 [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 => [ 'REDIRECT_REDIRECT_SCRIPT_URL' => '/rdi/contentfiles/newsletter.php', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.rosensdiversifiedinc.com/rdi/contentfiles/newsletter.php', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_SCRIPT_URL' => '/rdi/contentfiles/newsletter.php', 'REDIRECT_SCRIPT_URI' => 'https://www.rosensdiversifiedinc.com/rdi/contentfiles/newsletter.php', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_STATUS' => '200', 'SCRIPT_URL' => '/rdi/contentfiles/newsletter.php', 'SCRIPT_URI' => 'https://www.rosensdiversifiedinc.com/rdi/contentfiles/newsletter.php', 'HTTPS' => 'on', 'HTTP_X_FORWARDED_FOR' => '34.230.35.103', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_X_FORWARDED_PORT' => '443', 'HTTP_HOST' => 'www.rosensdiversifiedinc.com', 'HTTP_X_AMZN_TRACE_ID' => 'Root=1-66055c73-7f2fbe4b0fbd6d1a54cf450a', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_REFERER' => 'http://www.rosensdiversifiedinc.com/rdi/contentfiles/newsletter.php', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at www.rosensdiversifiedinc.com Port 443</address> ', 'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)', 'SERVER_NAME' => 'www.rosensdiversifiedinc.com', 'SERVER_ADDR' => '172.31.37.113', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '172.31.35.100', 'DOCUMENT_ROOT' => '/var/www/rosensdiversifiedinc.com/httpdocs', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/rosensdiversifiedinc.com/httpdocs', 'SERVER_ADMIN' => '[no address given]', 'SCRIPT_FILENAME' => '/var/www/rosensdiversifiedinc.com/httpdocs/webroot/index.php', 'REMOTE_PORT' => '26434', 'REDIRECT_URL' => '/webroot/rdi/contentfiles/newsletter.php', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/rdi/contentfiles/newsletter.php', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711627379.839, 'REQUEST_TIME' => (int) 1711627379, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'rdi/contentfiles/newsletter.php' [protected] base => '' [protected] webroot => '/' [protected] here => '/rdi/contentfiles/newsletter.php' [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) {} ] [protected] _detectorCache => [ 'ajax' => false, 'get' => true, 'head' => false, 'options' => false ] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.rosensdiversifiedinc.com' [private] port => null [private] path => '/rdi/contentfiles/newsletter.php' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 28800 [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")' ] ] } 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 => [ 'REDIRECT_REDIRECT_SCRIPT_URL' => '/rdi/contentfiles/newsletter.php', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.rosensdiversifiedinc.com/rdi/contentfiles/newsletter.php', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_SCRIPT_URL' => '/rdi/contentfiles/newsletter.php', 'REDIRECT_SCRIPT_URI' => 'https://www.rosensdiversifiedinc.com/rdi/contentfiles/newsletter.php', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_STATUS' => '200', 'SCRIPT_URL' => '/rdi/contentfiles/newsletter.php', 'SCRIPT_URI' => 'https://www.rosensdiversifiedinc.com/rdi/contentfiles/newsletter.php', 'HTTPS' => 'on', 'HTTP_X_FORWARDED_FOR' => '34.230.35.103', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_X_FORWARDED_PORT' => '443', 'HTTP_HOST' => 'www.rosensdiversifiedinc.com', 'HTTP_X_AMZN_TRACE_ID' => 'Root=1-66055c73-7f2fbe4b0fbd6d1a54cf450a', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_REFERER' => 'http://www.rosensdiversifiedinc.com/rdi/contentfiles/newsletter.php', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at www.rosensdiversifiedinc.com Port 443</address> ', 'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)', 'SERVER_NAME' => 'www.rosensdiversifiedinc.com', 'SERVER_ADDR' => '172.31.37.113', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '172.31.35.100', 'DOCUMENT_ROOT' => '/var/www/rosensdiversifiedinc.com/httpdocs', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/rosensdiversifiedinc.com/httpdocs', 'SERVER_ADMIN' => '[no address given]', 'SCRIPT_FILENAME' => '/var/www/rosensdiversifiedinc.com/httpdocs/webroot/index.php', 'REMOTE_PORT' => '26434', 'REDIRECT_URL' => '/webroot/rdi/contentfiles/newsletter.php', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/rdi/contentfiles/newsletter.php', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711627379.839, 'REQUEST_TIME' => (int) 1711627379, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'rdi/contentfiles/newsletter.php' [protected] base => '' [protected] webroot => '/' [protected] here => '/rdi/contentfiles/newsletter.php' [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) {} ] [protected] _detectorCache => [ 'ajax' => false, 'get' => true, 'head' => false, 'options' => false ] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.rosensdiversifiedinc.com' [private] port => null [private] path => '/rdi/contentfiles/newsletter.php' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 28800 [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")' ] ] } 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) 3 [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 => [ 'REDIRECT_REDIRECT_SCRIPT_URL' => '/rdi/contentfiles/newsletter.php', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.rosensdiversifiedinc.com/rdi/contentfiles/newsletter.php', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_SCRIPT_URL' => '/rdi/contentfiles/newsletter.php', 'REDIRECT_SCRIPT_URI' => 'https://www.rosensdiversifiedinc.com/rdi/contentfiles/newsletter.php', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_STATUS' => '200', 'SCRIPT_URL' => '/rdi/contentfiles/newsletter.php', 'SCRIPT_URI' => 'https://www.rosensdiversifiedinc.com/rdi/contentfiles/newsletter.php', 'HTTPS' => 'on', 'HTTP_X_FORWARDED_FOR' => '34.230.35.103', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_X_FORWARDED_PORT' => '443', 'HTTP_HOST' => 'www.rosensdiversifiedinc.com', 'HTTP_X_AMZN_TRACE_ID' => 'Root=1-66055c73-7f2fbe4b0fbd6d1a54cf450a', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_REFERER' => 'http://www.rosensdiversifiedinc.com/rdi/contentfiles/newsletter.php', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at www.rosensdiversifiedinc.com Port 443</address> ', 'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)', 'SERVER_NAME' => 'www.rosensdiversifiedinc.com', 'SERVER_ADDR' => '172.31.37.113', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '172.31.35.100', 'DOCUMENT_ROOT' => '/var/www/rosensdiversifiedinc.com/httpdocs', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/rosensdiversifiedinc.com/httpdocs', 'SERVER_ADMIN' => '[no address given]', 'SCRIPT_FILENAME' => '/var/www/rosensdiversifiedinc.com/httpdocs/webroot/index.php', 'REMOTE_PORT' => '26434', 'REDIRECT_URL' => '/webroot/rdi/contentfiles/newsletter.php', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/rdi/contentfiles/newsletter.php', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711627379.839, 'REQUEST_TIME' => (int) 1711627379, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'rdi/contentfiles/newsletter.php' [protected] base => '' [protected] webroot => '/' [protected] here => '/rdi/contentfiles/newsletter.php' [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) {} ] [protected] _detectorCache => [ 'ajax' => false, 'get' => true, 'head' => false, 'options' => false ] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.rosensdiversifiedinc.com' [private] port => null [private] path => '/rdi/contentfiles/newsletter.php' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 28800 [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")' ] ] } 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(Cake\Routing\Middleware\AssetMiddleware) {}, (int) 2 => object(Cake\Routing\Middleware\RoutingMiddleware) {}, (int) 3 => object(Redirects\Middleware\RedirectsMiddleware) {}, (int) 4 => object(App\Application) {} ] [protected] callables => [ (int) 0 => object(Cake\Error\Middleware\ErrorHandlerMiddleware) {}, (int) 1 => object(Cake\Routing\Middleware\AssetMiddleware) {}, (int) 2 => object(Cake\Routing\Middleware\RoutingMiddleware) {} ] } 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 => [ 'REDIRECT_REDIRECT_SCRIPT_URL' => '/rdi/contentfiles/newsletter.php', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.rosensdiversifiedinc.com/rdi/contentfiles/newsletter.php', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_SCRIPT_URL' => '/rdi/contentfiles/newsletter.php', 'REDIRECT_SCRIPT_URI' => 'https://www.rosensdiversifiedinc.com/rdi/contentfiles/newsletter.php', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_STATUS' => '200', 'SCRIPT_URL' => '/rdi/contentfiles/newsletter.php', 'SCRIPT_URI' => 'https://www.rosensdiversifiedinc.com/rdi/contentfiles/newsletter.php', 'HTTPS' => 'on', 'HTTP_X_FORWARDED_FOR' => '34.230.35.103', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_X_FORWARDED_PORT' => '443', 'HTTP_HOST' => 'www.rosensdiversifiedinc.com', 'HTTP_X_AMZN_TRACE_ID' => 'Root=1-66055c73-7f2fbe4b0fbd6d1a54cf450a', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_REFERER' => 'http://www.rosensdiversifiedinc.com/rdi/contentfiles/newsletter.php', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at www.rosensdiversifiedinc.com Port 443</address> ', 'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)', 'SERVER_NAME' => 'www.rosensdiversifiedinc.com', 'SERVER_ADDR' => '172.31.37.113', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '172.31.35.100', 'DOCUMENT_ROOT' => '/var/www/rosensdiversifiedinc.com/httpdocs', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/rosensdiversifiedinc.com/httpdocs', 'SERVER_ADMIN' => '[no address given]', 'SCRIPT_FILENAME' => '/var/www/rosensdiversifiedinc.com/httpdocs/webroot/index.php', 'REMOTE_PORT' => '26434', 'REDIRECT_URL' => '/webroot/rdi/contentfiles/newsletter.php', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/rdi/contentfiles/newsletter.php', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711627379.839, 'REQUEST_TIME' => (int) 1711627379, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'rdi/contentfiles/newsletter.php' [protected] base => '' [protected] webroot => '/' [protected] here => '/rdi/contentfiles/newsletter.php' [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) {} ] [protected] _detectorCache => [ 'ajax' => false, 'get' => true, 'head' => false, 'options' => false ] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.rosensdiversifiedinc.com' [private] port => null [private] path => '/rdi/contentfiles/newsletter.php' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 28800 [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")' ] ] } 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 Server(new Application(dirname(__DIR__) . '/config')); |
|
|
|
// Run the request/response through the application |
|
// and emit the response. |
|
$server->emit($server->run()); |
|
|
No arguments