Warning (2): session_start(): open(/var/cpanel/php/sessions/ea-php82/sess_d551b09cc119b3ab1421f6df6d9cf431, O_RDWR) failed: No space left on device (28) [CORE/src/Http/Session.php, line 355]Code Contextif (!session_start()) {throw new RuntimeException('Could not start the session');session_start - [internal], line ?? Cake\Http\Session::start() - CORE/src/Http/Session.php, line 355 Cake\Http\Session::write() - CORE/src/Http/Session.php, line 473 Cake\Controller\Component\SecurityComponent::generateToken() - CORE/src/Controller/Component/SecurityComponent.php, line 597 Cake\Controller\Component\SecurityComponent::startup() - CORE/src/Controller/Component/SecurityComponent.php, line 132 Cake\Event\EventManager::_callListener() - CORE/src/Event/EventManager.php, line 351 Cake\Event\EventManager::dispatch() - CORE/src/Event/EventManager.php, line 328 Cake\Controller\Controller::dispatchEvent() - CORE/src/Event/EventDispatcherTrait.php, line 112 Cake\Controller\Controller::startupProcess() - CORE/src/Controller/Controller.php, line 677 Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 115 Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94 Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 256 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 ADmad\SocialAuth\Middleware\SocialAuthMiddleware::__invoke() - APP/ComposerOverrides/files/SocialAuthMiddleware.php, line 161 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Http\Middleware\CsrfProtectionMiddleware::__invoke() - CORE/src/Http/Middleware/CsrfProtectionMiddleware.php, line 133 App\Application::App\{closure}() - APP/Application.php, line 148
Warning (2): session_start() [<a href='https://secure.php.net/function.session-start'>function.session-start</a>]: Failed to read session data: files (path: /var/cpanel/php/sessions/ea-php82) [CORE/src/Http/Session.php, line 355]Code Contextif (!session_start()) {throw new RuntimeException('Could not start the session');session_start - [internal], line ?? Cake\Http\Session::start() - CORE/src/Http/Session.php, line 355 Cake\Http\Session::write() - CORE/src/Http/Session.php, line 473 Cake\Controller\Component\SecurityComponent::generateToken() - CORE/src/Controller/Component/SecurityComponent.php, line 597 Cake\Controller\Component\SecurityComponent::startup() - CORE/src/Controller/Component/SecurityComponent.php, line 132 Cake\Event\EventManager::_callListener() - CORE/src/Event/EventManager.php, line 351 Cake\Event\EventManager::dispatch() - CORE/src/Event/EventManager.php, line 328 Cake\Controller\Controller::dispatchEvent() - CORE/src/Event/EventDispatcherTrait.php, line 112 Cake\Controller\Controller::startupProcess() - CORE/src/Controller/Controller.php, line 677 Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 115 Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94 Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 256 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 ADmad\SocialAuth\Middleware\SocialAuthMiddleware::__invoke() - APP/ComposerOverrides/files/SocialAuthMiddleware.php, line 161 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Http\Middleware\CsrfProtectionMiddleware::__invoke() - CORE/src/Http/Middleware/CsrfProtectionMiddleware.php, line 133 App\Application::App\{closure}() - APP/Application.php, line 148
Notice (8): file_put_contents() [<a href='https://secure.php.net/function.file-put-contents'>function.file-put-contents</a>]: Write of 195 bytes failed with errno=28 No space left on device [CORE/src/Log/Engine/FileLog.php, line 133]Code Contextif (!$mask) {return file_put_contents($pathname, $output, FILE_APPEND);}file_put_contents - [internal], line ?? Cake\Log\Engine\FileLog::log() - CORE/src/Log/Engine/FileLog.php, line 133 Cake\Log\Log::write() - CORE/src/Log/Log.php, line 383 Cake\Log\Log::error() - CORE/src/Log/Log.php, line 452 Cake\Error\Middleware\ErrorHandlerMiddleware::logException() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 202 Cake\Error\Middleware\ErrorHandlerMiddleware::handleException() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 121 Cake\Error\Middleware\ErrorHandlerMiddleware::__invoke() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 102 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 App\Middleware\InstallMiddleware::__invoke() - APP/Middleware/InstallMiddleware.php, line 30 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 51 Cake\Http\Server::run() - CORE/src/Http/Server.php, line 97 [main] - ROOT/webroot/index.php, line 46
Warning (512): Unable to emit headers. Headers sent in file=/home/shrrteerrn/public_html/shorttrl.site/vendor/cakephp/cakephp/src/Error/Debugger.php line=855 [CORE/src/Http/ResponseEmitter.php, line 53]
Warning (2): Cannot modify header information - headers already sent by (output started at /home/shrrteerrn/public_html/shorttrl.site/vendor/cakephp/cakephp/src/Error/Debugger.php:855) [CORE/src/Http/ResponseEmitter.php, line 150]Code Context$reasonPhrase = $response->getReasonPhrase();header(sprintf('HTTP/%s %d%s',header - [internal], line ?? Cake\Http\ResponseEmitter::emitStatusLine() - CORE/src/Http/ResponseEmitter.php, line 150 Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 59 Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 140 [main] - ROOT/webroot/index.php, line 46
Warning (2): Cannot modify header information - headers already sent by (output started at /home/shrrteerrn/public_html/shorttrl.site/vendor/cakephp/cakephp/src/Error/Debugger.php:855) [CORE/src/Http/ResponseEmitter.php, line 183]Code Contextforeach ($values as $value) {header(sprintf('%s: %s',header - [internal], line ?? Cake\Http\ResponseEmitter::emitHeaders() - CORE/src/Http/ResponseEmitter.php, line 183 Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 60 Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 140 [main] - ROOT/webroot/index.php, line 46
*/ |
|
public function write($name, $value = null) |
|
{ |
|
if (!$this->started()) { |
|
$this->start(); |
|
} |
|
|
|
$write = $name; |
|
if (!is_array($name)) { |
No arguments
'allowedActions' => $this->_config['allowedActions'], |
|
'unlockedFields' => $this->_config['unlockedFields'], |
|
]; |
|
|
|
$this->session->write('_Token', $token); |
|
|
|
return $request->withParam('_Token', [ |
|
'unlockedFields' => $token['unlockedFields'], |
|
]); |
'_Token' [ 'allowedControllers' => [], 'allowedActions' => [], 'unlockedFields' => [] ]
} catch (SecurityException $se) { |
|
return $this->blackHole($controller, $se->getType(), $se); |
|
} |
|
|
|
$request = $this->generateToken($request); |
|
if ($hasData && is_array($controller->getRequest()->getData())) { |
|
$request = $request->withoutData('_Token'); |
|
} |
|
$controller->setRequest($request); |
object(Cake\Http\ServerRequest) {
trustProxy => false
[protected] params => [
'alias' => 'sitemap.xml',
'pass' => [
(int) 0 => 'sitemap.xml'
],
'controller' => 'Links',
'action' => 'view',
'plugin' => null,
'_name' => 'short',
'_matchedRoute' => '/:alias',
'_ext' => null,
'_csrfToken' => '7d45f7ce70e0d60e2dad5902544e2f08471e99a633dae62de7dc22ef3c5d973fee0df977e1f4472ecc61ca821ce6465bd710106b1a49a8b41813118aec3a7f7c',
'isAjax' => false
]
[protected] data => []
[protected] query => []
[protected] cookies => []
[protected] _environment => [
'USER' => 'shrrteerrn',
'HOME' => '/home/shrrteerrn',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/sitemap.xml',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/sitemap.xml',
'REMOTE_PORT' => '11860',
'SCRIPT_FILENAME' => '/home/shrrteerrn/public_html/shorttrl.site/webroot/index.php',
'SERVER_ADMIN' => 'webmaster@shorttrl.site.shortestern.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/shrrteerrn/public_html/shorttrl.site',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'http',
'DOCUMENT_ROOT' => '/home/shrrteerrn/public_html/shorttrl.site',
'REMOTE_ADDR' => '216.73.216.40',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '82.180.146.215',
'SERVER_NAME' => 'shorttrl.site',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin',
'HTTP_X_FORWARDED_PROTO' => 'http',
'HTTP_CF_VISITOR' => '{"scheme":"http"}',
'HTTP_CF_IPCOUNTRY' => 'US',
'HTTP_CDN_LOOP' => 'cloudflare; loops=1',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_CF_RAY' => 'a3d6f38c29e13191-CMH',
'HTTP_X_FORWARDED_FOR' => '10.10.46.88,216.73.216.40',
'HTTP_CACHE_CONTROL' => 'max-age=259200',
'HTTP_VIA' => '1.1 squid-proxy-5b96dc6d46-7fkg2 (squid/6.13)',
'HTTP_ACCEPT_ENCODING' => 'gzip',
'HTTP_HOST' => 'shorttrl.site',
'proxy-nokeepalive' => '1',
'SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'SCRIPT_URL' => '/sitemap.xml',
'UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'REDIRECT_STATUS' => '200',
'REDIRECT_SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'REDIRECT_SCRIPT_URL' => '/sitemap.xml',
'REDIRECT_UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/sitemap.xml',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1789803722.1694,
'REQUEST_TIME' => (int) 1789803722,
'argv' => [],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTP_X_REQUESTED_WITH' => null
]
[protected] url => 'sitemap.xml'
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/sitemap.xml'
[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,
'put' => false,
'post' => false,
'delete' => false,
'patch' => false,
'requested' => false
]
[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 => 'http'
[private] userInfo => ''
[private] host => 'shorttrl.site'
[private] port => null
[private] path => '/sitemap.xml'
[private] query => ''
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => (int) 1440
[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
}
protected function _callListener(callable $listener, EventInterface $event) |
|
{ |
|
$data = $event->getData(); |
|
|
|
return $listener($event, ...array_values($data)); |
|
} |
|
|
|
/** |
|
* {@inheritDoc} |
object(Cake\Event\Event) {
result => null
[protected] _name => 'Controller.startup'
[protected] _subject => object(App\Controller\LinksController) {
helpers => [[maximum depth reached]]
request => object(Cake\Http\ServerRequest) {}
response => object(Cake\Http\Response) {}
paginate => [[maximum depth reached]]
components => [[maximum depth reached]]
View => null
passedArgs => [
[maximum depth reached]
]
modelClass => 'Links'
viewClass => null
viewVars => [[maximum depth reached]]
RequestHandler => object(Cake\Controller\Component\RequestHandlerComponent) {}
Flash => object(Cake\Controller\Component\FlashComponent) {}
Security => object(Cake\Controller\Component\SecurityComponent) {}
Auth => object(Cake\Controller\Component\AuthComponent) {}
Paginator => object(Cake\Controller\Component\PaginatorComponent) {}
Cookie => object(Cake\Controller\Component\CookieComponent) {}
Captcha => object(App\Controller\Component\CaptchaComponent) {}
[protected] name => 'Links'
[protected] _responseClass => 'Cake\Http\Response'
[protected] autoRender => true
[protected] _components => object(Cake\Controller\ComponentRegistry) {}
[protected] _validViewOptions => [
[maximum depth reached]
]
[protected] plugin => null
[protected] _eventManager => object(Cake\Event\EventManager) {}
[protected] _eventClass => 'Cake\Event\Event'
[protected] _tableLocator => object(Cake\ORM\Locator\TableLocator) {}
[protected] _modelFactories => [
[maximum depth reached]
]
[protected] _modelType => 'Table'
[protected] _viewBuilder => object(Cake\View\ViewBuilder) {}
}
[protected] _data => []
[protected] _stopped => false
}
foreach ($listeners as $listener) { |
|
if ($event->isStopped()) { |
|
break; |
|
} |
|
$result = $this->_callListener($listener['callable'], $event); |
|
if ($result === false) { |
|
$event->stopPropagation(); |
|
} |
|
if ($result !== null) { |
[
(int) 0 => object(Cake\Controller\Component\SecurityComponent) {
'components' => [],
'implementedEvents' => [
'Controller.startup' => 'startup'
],
'_config' => [
'blackHoleCallback' => null,
'requireSecure' => [[maximum depth reached]],
'requireAuth' => [[maximum depth reached]],
'allowedControllers' => [[maximum depth reached]],
'allowedActions' => [[maximum depth reached]],
'unlockedFields' => [[maximum depth reached]],
'unlockedActions' => [[maximum depth reached]],
'validatePost' => true
]
},
(int) 1 => 'startup'
]
object(Cake\Event\Event) {
result => null
[protected] _name => 'Controller.startup'
[protected] _subject => object(App\Controller\LinksController) {
helpers => [[maximum depth reached]]
request => object(Cake\Http\ServerRequest) {}
response => object(Cake\Http\Response) {}
paginate => [[maximum depth reached]]
components => [[maximum depth reached]]
View => null
passedArgs => [
[maximum depth reached]
]
modelClass => 'Links'
viewClass => null
viewVars => [[maximum depth reached]]
RequestHandler => object(Cake\Controller\Component\RequestHandlerComponent) {}
Flash => object(Cake\Controller\Component\FlashComponent) {}
Security => object(Cake\Controller\Component\SecurityComponent) {}
Auth => object(Cake\Controller\Component\AuthComponent) {}
Paginator => object(Cake\Controller\Component\PaginatorComponent) {}
Cookie => object(Cake\Controller\Component\CookieComponent) {}
Captcha => object(App\Controller\Component\CaptchaComponent) {}
[protected] name => 'Links'
[protected] _responseClass => 'Cake\Http\Response'
[protected] autoRender => true
[protected] _components => object(Cake\Controller\ComponentRegistry) {}
[protected] _validViewOptions => [
[maximum depth reached]
]
[protected] plugin => null
[protected] _eventManager => object(Cake\Event\EventManager) {}
[protected] _eventClass => 'Cake\Event\Event'
[protected] _tableLocator => object(Cake\ORM\Locator\TableLocator) {}
[protected] _modelFactories => [
[maximum depth reached]
]
[protected] _modelType => 'Table'
[protected] _viewBuilder => object(Cake\View\ViewBuilder) {}
}
[protected] _data => []
[protected] _stopped => false
}
$subject = $this; |
|
} |
|
|
|
$event = new $this->_eventClass($name, $subject, $data); |
|
$this->getEventManager()->dispatch($event); |
|
|
|
return $event; |
|
} |
|
} |
object(Cake\Event\Event) {
result => null
[protected] _name => 'Controller.startup'
[protected] _subject => object(App\Controller\LinksController) {
helpers => [[maximum depth reached]]
request => object(Cake\Http\ServerRequest) {}
response => object(Cake\Http\Response) {}
paginate => [[maximum depth reached]]
components => [[maximum depth reached]]
View => null
passedArgs => [
[maximum depth reached]
]
modelClass => 'Links'
viewClass => null
viewVars => [[maximum depth reached]]
RequestHandler => object(Cake\Controller\Component\RequestHandlerComponent) {}
Flash => object(Cake\Controller\Component\FlashComponent) {}
Security => object(Cake\Controller\Component\SecurityComponent) {}
Auth => object(Cake\Controller\Component\AuthComponent) {}
Paginator => object(Cake\Controller\Component\PaginatorComponent) {}
Cookie => object(Cake\Controller\Component\CookieComponent) {}
Captcha => object(App\Controller\Component\CaptchaComponent) {}
[protected] name => 'Links'
[protected] _responseClass => 'Cake\Http\Response'
[protected] autoRender => true
[protected] _components => object(Cake\Controller\ComponentRegistry) {}
[protected] _validViewOptions => [
[maximum depth reached]
]
[protected] plugin => null
[protected] _eventManager => object(Cake\Event\EventManager) {}
[protected] _eventClass => 'Cake\Event\Event'
[protected] _tableLocator => object(Cake\ORM\Locator\TableLocator) {}
[protected] _modelFactories => [
[maximum depth reached]
]
[protected] _modelType => 'Table'
[protected] _viewBuilder => object(Cake\View\ViewBuilder) {}
}
[protected] _data => []
[protected] _stopped => false
}
$event = $this->dispatchEvent('Controller.initialize'); |
|
if ($event->getResult() instanceof Response) { |
|
return $event->getResult(); |
|
} |
|
$event = $this->dispatchEvent('Controller.startup'); |
|
if ($event->getResult() instanceof Response) { |
|
return $event->getResult(); |
|
} |
|
|
'Controller.startup'
protected function _invoke(Controller $controller) |
|
{ |
|
$this->dispatchEvent('Dispatcher.invokeController', ['controller' => $controller]); |
|
|
|
$result = $controller->startupProcess(); |
|
if ($result instanceof Response) { |
|
return $result; |
|
} |
|
|
No arguments
} else { |
|
$controller = $this->factory->create($request, $response); |
|
} |
|
|
|
$response = $this->_invoke($controller); |
|
if ($request->getParam('return')) { |
|
return $response; |
|
} |
|
|
object(App\Controller\LinksController) {
helpers => []
request => object(Cake\Http\ServerRequest) {
trustProxy => false
[protected] params => [
[maximum depth reached]
]
[protected] data => [[maximum depth reached]]
[protected] query => [[maximum depth reached]]
[protected] cookies => [[maximum depth reached]]
[protected] _environment => [
[maximum depth reached]
]
[protected] url => 'sitemap.xml'
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/sitemap.xml'
[protected] trustedProxies => [[maximum depth reached]]
[protected] _input => null
[protected] _detectors => [
[maximum depth reached]
]
[protected] _detectorCache => [
[maximum depth reached]
]
[protected] stream => object(Laminas\Diactoros\PhpInputStream) {}
[protected] uri => object(Laminas\Diactoros\Uri) {}
[protected] session => object(Cake\Http\Session) {}
[protected] attributes => [[maximum depth reached]]
[protected] emulatedAttributes => [
[maximum depth reached]
]
[protected] uploadedFiles => [[maximum depth reached]]
[protected] protocol => null
[protected] requestTarget => null
[private] deprecatedProperties => [
[maximum depth reached]
]
[private] mergeFilesAsObjects => false
}
response => object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
[maximum depth reached]
],
'file' => null,
'fileRange' => [[maximum depth reached]],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {},
'cacheDirectives' => [[maximum depth reached]],
'body' => ''
}
paginate => []
components => []
View => null
passedArgs => [
(int) 0 => 'sitemap.xml'
]
modelClass => 'Links'
viewClass => null
viewVars => []
RequestHandler => object(Cake\Controller\Component\RequestHandlerComponent) {
'components' => [[maximum depth reached]],
'implementedEvents' => [
[maximum depth reached]
],
'_config' => [
[maximum depth reached]
]
}
Flash => object(Cake\Controller\Component\FlashComponent) {
'components' => [[maximum depth reached]],
'implementedEvents' => [[maximum depth reached]],
'_config' => [
[maximum depth reached]
]
}
Security => object(Cake\Controller\Component\SecurityComponent) {
'components' => [[maximum depth reached]],
'implementedEvents' => [
[maximum depth reached]
],
'_config' => [
[maximum depth reached]
]
}
Auth => object(Cake\Controller\Component\AuthComponent) {
'components' => [
[maximum depth reached]
],
'implementedEvents' => [
[maximum depth reached]
],
'_config' => [
[maximum depth reached]
]
}
Paginator => object(Cake\Controller\Component\PaginatorComponent) {
'components' => [[maximum depth reached]],
'implementedEvents' => [[maximum depth reached]],
'_config' => [
[maximum depth reached]
]
}
Cookie => object(Cake\Controller\Component\CookieComponent) {
'components' => [[maximum depth reached]],
'implementedEvents' => [[maximum depth reached]],
'_config' => [
[maximum depth reached]
]
}
Captcha => object(App\Controller\Component\CaptchaComponent) {
'components' => [[maximum depth reached]],
'implementedEvents' => [[maximum depth reached]],
'_config' => [[maximum depth reached]]
}
[protected] name => 'Links'
[protected] _responseClass => 'Cake\Http\Response'
[protected] autoRender => true
[protected] _components => object(Cake\Controller\ComponentRegistry) {
'_loaded' => [
[maximum depth reached]
],
'_Controller' => object(App\Controller\LinksController) {},
'_eventManager' => object(Cake\Event\EventManager) {},
'_eventClass' => 'Cake\Event\Event'
}
[protected] _validViewOptions => [
(int) 0 => 'passedArgs'
]
[protected] plugin => null
[protected] _eventManager => object(Cake\Event\EventManager) {
'_listeners' => [
[maximum depth reached]
],
'_isGlobal' => false,
'_trackEvents' => false,
'_generalManager' => '(object) EventManager',
'_dispatchedEvents' => null
}
[protected] _eventClass => 'Cake\Event\Event'
[protected] _tableLocator => object(Cake\ORM\Locator\TableLocator) {
[protected] locations => [
[maximum depth reached]
]
[protected] _config => [[maximum depth reached]]
[protected] _instances => [
[maximum depth reached]
]
[protected] _fallbacked => [[maximum depth reached]]
[protected] _options => [
[maximum depth reached]
]
}
[protected] _modelFactories => [
'Table' => [
(int) 0 => object(Cake\ORM\Locator\TableLocator) {},
(int) 1 => 'get'
]
]
[protected] _modelType => 'Table'
[protected] _viewBuilder => object(Cake\View\ViewBuilder) {
[protected] _templatePath => null
[protected] _template => null
[protected] _plugin => null
[protected] _theme => null
[protected] _layout => 'front'
[protected] _autoLayout => null
[protected] _layoutPath => null
[protected] _name => null
[protected] _className => null
[protected] _options => [[maximum depth reached]]
[protected] _helpers => [[maximum depth reached]]
[protected] _vars => [[maximum depth reached]]
}
}
* @return \Psr\Http\Message\ResponseInterface |
|
*/ |
|
public function __invoke(ServerRequestInterface $request, ResponseInterface $response, $next) |
|
{ |
|
return $this->getDispatcher()->dispatch($request, $response); |
|
} |
|
|
|
/** |
|
* Get the ActionDispatcher. |
object(Cake\Http\ServerRequest) {
trustProxy => false
[protected] params => [
'alias' => 'sitemap.xml',
'pass' => [
(int) 0 => 'sitemap.xml'
],
'controller' => 'Links',
'action' => 'view',
'plugin' => null,
'_name' => 'short',
'_matchedRoute' => '/:alias',
'_ext' => null,
'_csrfToken' => '7d45f7ce70e0d60e2dad5902544e2f08471e99a633dae62de7dc22ef3c5d973fee0df977e1f4472ecc61ca821ce6465bd710106b1a49a8b41813118aec3a7f7c'
]
[protected] data => []
[protected] query => []
[protected] cookies => []
[protected] _environment => [
'USER' => 'shrrteerrn',
'HOME' => '/home/shrrteerrn',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/sitemap.xml',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/sitemap.xml',
'REMOTE_PORT' => '11860',
'SCRIPT_FILENAME' => '/home/shrrteerrn/public_html/shorttrl.site/webroot/index.php',
'SERVER_ADMIN' => 'webmaster@shorttrl.site.shortestern.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/shrrteerrn/public_html/shorttrl.site',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'http',
'DOCUMENT_ROOT' => '/home/shrrteerrn/public_html/shorttrl.site',
'REMOTE_ADDR' => '216.73.216.40',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '82.180.146.215',
'SERVER_NAME' => 'shorttrl.site',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin',
'HTTP_X_FORWARDED_PROTO' => 'http',
'HTTP_CF_VISITOR' => '{"scheme":"http"}',
'HTTP_CF_IPCOUNTRY' => 'US',
'HTTP_CDN_LOOP' => 'cloudflare; loops=1',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_CF_RAY' => 'a3d6f38c29e13191-CMH',
'HTTP_X_FORWARDED_FOR' => '10.10.46.88,216.73.216.40',
'HTTP_CACHE_CONTROL' => 'max-age=259200',
'HTTP_VIA' => '1.1 squid-proxy-5b96dc6d46-7fkg2 (squid/6.13)',
'HTTP_ACCEPT_ENCODING' => 'gzip',
'HTTP_HOST' => 'shorttrl.site',
'proxy-nokeepalive' => '1',
'SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'SCRIPT_URL' => '/sitemap.xml',
'UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'REDIRECT_STATUS' => '200',
'REDIRECT_SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'REDIRECT_SCRIPT_URL' => '/sitemap.xml',
'REDIRECT_UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/sitemap.xml',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1789803722.1694,
'REQUEST_TIME' => (int) 1789803722,
'argv' => [],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTP_X_REQUESTED_WITH' => null
]
[protected] url => 'sitemap.xml'
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/sitemap.xml'
[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
]
[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 => 'http'
[private] userInfo => ''
[private] host => 'shorttrl.site'
[private] port => null
[private] path => '/sitemap.xml'
[private] query => ''
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => (int) 1440
[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 => [
'alias' => 'sitemap.xml',
'pass' => [
(int) 0 => 'sitemap.xml'
],
'controller' => 'Links',
'action' => 'view',
'plugin' => null,
'_name' => 'short',
'_matchedRoute' => '/:alias',
'_ext' => null,
'_csrfToken' => '7d45f7ce70e0d60e2dad5902544e2f08471e99a633dae62de7dc22ef3c5d973fee0df977e1f4472ecc61ca821ce6465bd710106b1a49a8b41813118aec3a7f7c'
]
[protected] data => []
[protected] query => []
[protected] cookies => []
[protected] _environment => [
'USER' => 'shrrteerrn',
'HOME' => '/home/shrrteerrn',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/sitemap.xml',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/sitemap.xml',
'REMOTE_PORT' => '11860',
'SCRIPT_FILENAME' => '/home/shrrteerrn/public_html/shorttrl.site/webroot/index.php',
'SERVER_ADMIN' => 'webmaster@shorttrl.site.shortestern.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/shrrteerrn/public_html/shorttrl.site',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'http',
'DOCUMENT_ROOT' => '/home/shrrteerrn/public_html/shorttrl.site',
'REMOTE_ADDR' => '216.73.216.40',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '82.180.146.215',
'SERVER_NAME' => 'shorttrl.site',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin',
'HTTP_X_FORWARDED_PROTO' => 'http',
'HTTP_CF_VISITOR' => '{"scheme":"http"}',
'HTTP_CF_IPCOUNTRY' => 'US',
'HTTP_CDN_LOOP' => 'cloudflare; loops=1',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_CF_RAY' => 'a3d6f38c29e13191-CMH',
'HTTP_X_FORWARDED_FOR' => '10.10.46.88,216.73.216.40',
'HTTP_CACHE_CONTROL' => 'max-age=259200',
'HTTP_VIA' => '1.1 squid-proxy-5b96dc6d46-7fkg2 (squid/6.13)',
'HTTP_ACCEPT_ENCODING' => 'gzip',
'HTTP_HOST' => 'shorttrl.site',
'proxy-nokeepalive' => '1',
'SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'SCRIPT_URL' => '/sitemap.xml',
'UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'REDIRECT_STATUS' => '200',
'REDIRECT_SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'REDIRECT_SCRIPT_URL' => '/sitemap.xml',
'REDIRECT_UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/sitemap.xml',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1789803722.1694,
'REQUEST_TIME' => (int) 1789803722,
'argv' => [],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTP_X_REQUESTED_WITH' => null
]
[protected] url => 'sitemap.xml'
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/sitemap.xml'
[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
]
[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 => 'http'
[private] userInfo => ''
[private] host => 'shorttrl.site'
[private] port => null
[private] path => '/sitemap.xml'
[private] query => ''
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => (int) 1440
[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) 14
[protected] middleware => object(Cake\Http\MiddlewareQueue) {
[protected] queue => [
[maximum depth reached]
]
[protected] callables => [
[maximum depth reached]
]
}
}
if ($request->getParam('plugin') !== 'ADmad/SocialAuth' |
|
|| $request->getParam('controller') !== 'Auth' |
|
|| !in_array($action, ['login', 'callback'], true) |
|
) { |
|
return $next($request, $response); |
|
} |
|
|
|
$method = '_handle' . ucfirst($action) . 'Action'; |
|
|
object(Cake\Http\ServerRequest) {
trustProxy => false
[protected] params => [
'alias' => 'sitemap.xml',
'pass' => [
(int) 0 => 'sitemap.xml'
],
'controller' => 'Links',
'action' => 'view',
'plugin' => null,
'_name' => 'short',
'_matchedRoute' => '/:alias',
'_ext' => null,
'_csrfToken' => '7d45f7ce70e0d60e2dad5902544e2f08471e99a633dae62de7dc22ef3c5d973fee0df977e1f4472ecc61ca821ce6465bd710106b1a49a8b41813118aec3a7f7c'
]
[protected] data => []
[protected] query => []
[protected] cookies => []
[protected] _environment => [
'USER' => 'shrrteerrn',
'HOME' => '/home/shrrteerrn',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/sitemap.xml',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/sitemap.xml',
'REMOTE_PORT' => '11860',
'SCRIPT_FILENAME' => '/home/shrrteerrn/public_html/shorttrl.site/webroot/index.php',
'SERVER_ADMIN' => 'webmaster@shorttrl.site.shortestern.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/shrrteerrn/public_html/shorttrl.site',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'http',
'DOCUMENT_ROOT' => '/home/shrrteerrn/public_html/shorttrl.site',
'REMOTE_ADDR' => '216.73.216.40',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '82.180.146.215',
'SERVER_NAME' => 'shorttrl.site',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin',
'HTTP_X_FORWARDED_PROTO' => 'http',
'HTTP_CF_VISITOR' => '{"scheme":"http"}',
'HTTP_CF_IPCOUNTRY' => 'US',
'HTTP_CDN_LOOP' => 'cloudflare; loops=1',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_CF_RAY' => 'a3d6f38c29e13191-CMH',
'HTTP_X_FORWARDED_FOR' => '10.10.46.88,216.73.216.40',
'HTTP_CACHE_CONTROL' => 'max-age=259200',
'HTTP_VIA' => '1.1 squid-proxy-5b96dc6d46-7fkg2 (squid/6.13)',
'HTTP_ACCEPT_ENCODING' => 'gzip',
'HTTP_HOST' => 'shorttrl.site',
'proxy-nokeepalive' => '1',
'SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'SCRIPT_URL' => '/sitemap.xml',
'UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'REDIRECT_STATUS' => '200',
'REDIRECT_SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'REDIRECT_SCRIPT_URL' => '/sitemap.xml',
'REDIRECT_UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/sitemap.xml',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1789803722.1694,
'REQUEST_TIME' => (int) 1789803722,
'argv' => [],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTP_X_REQUESTED_WITH' => null
]
[protected] url => 'sitemap.xml'
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/sitemap.xml'
[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
]
[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 => 'http'
[private] userInfo => ''
[private] host => 'shorttrl.site'
[private] port => null
[private] path => '/sitemap.xml'
[private] query => ''
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => (int) 1440
[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 => [
'alias' => 'sitemap.xml',
'pass' => [
(int) 0 => 'sitemap.xml'
],
'controller' => 'Links',
'action' => 'view',
'plugin' => null,
'_name' => 'short',
'_matchedRoute' => '/:alias',
'_ext' => null,
'_csrfToken' => '7d45f7ce70e0d60e2dad5902544e2f08471e99a633dae62de7dc22ef3c5d973fee0df977e1f4472ecc61ca821ce6465bd710106b1a49a8b41813118aec3a7f7c'
]
[protected] data => []
[protected] query => []
[protected] cookies => []
[protected] _environment => [
'USER' => 'shrrteerrn',
'HOME' => '/home/shrrteerrn',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/sitemap.xml',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/sitemap.xml',
'REMOTE_PORT' => '11860',
'SCRIPT_FILENAME' => '/home/shrrteerrn/public_html/shorttrl.site/webroot/index.php',
'SERVER_ADMIN' => 'webmaster@shorttrl.site.shortestern.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/shrrteerrn/public_html/shorttrl.site',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'http',
'DOCUMENT_ROOT' => '/home/shrrteerrn/public_html/shorttrl.site',
'REMOTE_ADDR' => '216.73.216.40',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '82.180.146.215',
'SERVER_NAME' => 'shorttrl.site',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin',
'HTTP_X_FORWARDED_PROTO' => 'http',
'HTTP_CF_VISITOR' => '{"scheme":"http"}',
'HTTP_CF_IPCOUNTRY' => 'US',
'HTTP_CDN_LOOP' => 'cloudflare; loops=1',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_CF_RAY' => 'a3d6f38c29e13191-CMH',
'HTTP_X_FORWARDED_FOR' => '10.10.46.88,216.73.216.40',
'HTTP_CACHE_CONTROL' => 'max-age=259200',
'HTTP_VIA' => '1.1 squid-proxy-5b96dc6d46-7fkg2 (squid/6.13)',
'HTTP_ACCEPT_ENCODING' => 'gzip',
'HTTP_HOST' => 'shorttrl.site',
'proxy-nokeepalive' => '1',
'SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'SCRIPT_URL' => '/sitemap.xml',
'UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'REDIRECT_STATUS' => '200',
'REDIRECT_SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'REDIRECT_SCRIPT_URL' => '/sitemap.xml',
'REDIRECT_UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/sitemap.xml',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1789803722.1694,
'REQUEST_TIME' => (int) 1789803722,
'argv' => [],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTP_X_REQUESTED_WITH' => null
]
[protected] url => 'sitemap.xml'
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/sitemap.xml'
[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
]
[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 => 'http'
[private] userInfo => ''
[private] host => 'shorttrl.site'
[private] port => null
[private] path => '/sitemap.xml'
[private] query => ''
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => (int) 1440
[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) 14
[protected] middleware => object(Cake\Http\MiddlewareQueue) {
[protected] queue => [
[maximum depth reached]
]
[protected] callables => [
[maximum depth reached]
]
}
}
$token = $this->createToken(); |
|
$request = $this->_addTokenToRequest($token, $request); |
|
$response = $this->_addTokenCookie($token, $request, $response); |
|
|
|
return $next($request, $response); |
|
} |
|
$request = $this->_validateAndUnsetTokenField($request); |
|
|
|
return $next($request, $response); |
object(Cake\Http\ServerRequest) {
trustProxy => false
[protected] params => [
'alias' => 'sitemap.xml',
'pass' => [
(int) 0 => 'sitemap.xml'
],
'controller' => 'Links',
'action' => 'view',
'plugin' => null,
'_name' => 'short',
'_matchedRoute' => '/:alias',
'_ext' => null,
'_csrfToken' => '7d45f7ce70e0d60e2dad5902544e2f08471e99a633dae62de7dc22ef3c5d973fee0df977e1f4472ecc61ca821ce6465bd710106b1a49a8b41813118aec3a7f7c'
]
[protected] data => []
[protected] query => []
[protected] cookies => []
[protected] _environment => [
'USER' => 'shrrteerrn',
'HOME' => '/home/shrrteerrn',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/sitemap.xml',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/sitemap.xml',
'REMOTE_PORT' => '11860',
'SCRIPT_FILENAME' => '/home/shrrteerrn/public_html/shorttrl.site/webroot/index.php',
'SERVER_ADMIN' => 'webmaster@shorttrl.site.shortestern.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/shrrteerrn/public_html/shorttrl.site',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'http',
'DOCUMENT_ROOT' => '/home/shrrteerrn/public_html/shorttrl.site',
'REMOTE_ADDR' => '216.73.216.40',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '82.180.146.215',
'SERVER_NAME' => 'shorttrl.site',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin',
'HTTP_X_FORWARDED_PROTO' => 'http',
'HTTP_CF_VISITOR' => '{"scheme":"http"}',
'HTTP_CF_IPCOUNTRY' => 'US',
'HTTP_CDN_LOOP' => 'cloudflare; loops=1',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_CF_RAY' => 'a3d6f38c29e13191-CMH',
'HTTP_X_FORWARDED_FOR' => '10.10.46.88,216.73.216.40',
'HTTP_CACHE_CONTROL' => 'max-age=259200',
'HTTP_VIA' => '1.1 squid-proxy-5b96dc6d46-7fkg2 (squid/6.13)',
'HTTP_ACCEPT_ENCODING' => 'gzip',
'HTTP_HOST' => 'shorttrl.site',
'proxy-nokeepalive' => '1',
'SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'SCRIPT_URL' => '/sitemap.xml',
'UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'REDIRECT_STATUS' => '200',
'REDIRECT_SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'REDIRECT_SCRIPT_URL' => '/sitemap.xml',
'REDIRECT_UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/sitemap.xml',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1789803722.1694,
'REQUEST_TIME' => (int) 1789803722,
'argv' => [],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTP_X_REQUESTED_WITH' => null
]
[protected] url => 'sitemap.xml'
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/sitemap.xml'
[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
]
[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 => 'http'
[private] userInfo => ''
[private] host => 'shorttrl.site'
[private] port => null
[private] path => '/sitemap.xml'
[private] query => ''
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => (int) 1440
[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 will invoke the CSRF middleware's `__invoke()` handler, |
|
// just like it would when being registered via `add()`. |
|
return $csrf($request, $response, $next); |
|
} |
|
|
|
return $next($request, $response); |
|
}); |
object(Cake\Http\ServerRequest) {
trustProxy => false
[protected] params => [
'alias' => 'sitemap.xml',
'pass' => [
(int) 0 => 'sitemap.xml'
],
'controller' => 'Links',
'action' => 'view',
'plugin' => null,
'_name' => 'short',
'_matchedRoute' => '/:alias',
'_ext' => null,
'_csrfToken' => '7d45f7ce70e0d60e2dad5902544e2f08471e99a633dae62de7dc22ef3c5d973fee0df977e1f4472ecc61ca821ce6465bd710106b1a49a8b41813118aec3a7f7c'
]
[protected] data => []
[protected] query => []
[protected] cookies => []
[protected] _environment => [
'USER' => 'shrrteerrn',
'HOME' => '/home/shrrteerrn',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/sitemap.xml',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/sitemap.xml',
'REMOTE_PORT' => '11860',
'SCRIPT_FILENAME' => '/home/shrrteerrn/public_html/shorttrl.site/webroot/index.php',
'SERVER_ADMIN' => 'webmaster@shorttrl.site.shortestern.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/shrrteerrn/public_html/shorttrl.site',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'http',
'DOCUMENT_ROOT' => '/home/shrrteerrn/public_html/shorttrl.site',
'REMOTE_ADDR' => '216.73.216.40',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '82.180.146.215',
'SERVER_NAME' => 'shorttrl.site',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin',
'HTTP_X_FORWARDED_PROTO' => 'http',
'HTTP_CF_VISITOR' => '{"scheme":"http"}',
'HTTP_CF_IPCOUNTRY' => 'US',
'HTTP_CDN_LOOP' => 'cloudflare; loops=1',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_CF_RAY' => 'a3d6f38c29e13191-CMH',
'HTTP_X_FORWARDED_FOR' => '10.10.46.88,216.73.216.40',
'HTTP_CACHE_CONTROL' => 'max-age=259200',
'HTTP_VIA' => '1.1 squid-proxy-5b96dc6d46-7fkg2 (squid/6.13)',
'HTTP_ACCEPT_ENCODING' => 'gzip',
'HTTP_HOST' => 'shorttrl.site',
'proxy-nokeepalive' => '1',
'SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'SCRIPT_URL' => '/sitemap.xml',
'UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'REDIRECT_STATUS' => '200',
'REDIRECT_SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'REDIRECT_SCRIPT_URL' => '/sitemap.xml',
'REDIRECT_UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/sitemap.xml',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1789803722.1694,
'REQUEST_TIME' => (int) 1789803722,
'argv' => [],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTP_X_REQUESTED_WITH' => null
]
[protected] url => 'sitemap.xml'
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/sitemap.xml'
[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
]
[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 => 'http'
[private] userInfo => ''
[private] host => 'shorttrl.site'
[private] port => null
[private] path => '/sitemap.xml'
[private] query => ''
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => (int) 1440
[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) 14
[protected] middleware => object(Cake\Http\MiddlewareQueue) {
[protected] queue => [
[maximum depth reached]
]
[protected] callables => [
[maximum depth reached]
]
}
}
$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 => [
'alias' => 'sitemap.xml',
'pass' => [
(int) 0 => 'sitemap.xml'
],
'controller' => 'Links',
'action' => 'view',
'plugin' => null,
'_name' => 'short',
'_matchedRoute' => '/:alias',
'_ext' => null
]
[protected] data => []
[protected] query => []
[protected] cookies => []
[protected] _environment => [
'USER' => 'shrrteerrn',
'HOME' => '/home/shrrteerrn',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/sitemap.xml',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/sitemap.xml',
'REMOTE_PORT' => '11860',
'SCRIPT_FILENAME' => '/home/shrrteerrn/public_html/shorttrl.site/webroot/index.php',
'SERVER_ADMIN' => 'webmaster@shorttrl.site.shortestern.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/shrrteerrn/public_html/shorttrl.site',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'http',
'DOCUMENT_ROOT' => '/home/shrrteerrn/public_html/shorttrl.site',
'REMOTE_ADDR' => '216.73.216.40',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '82.180.146.215',
'SERVER_NAME' => 'shorttrl.site',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin',
'HTTP_X_FORWARDED_PROTO' => 'http',
'HTTP_CF_VISITOR' => '{"scheme":"http"}',
'HTTP_CF_IPCOUNTRY' => 'US',
'HTTP_CDN_LOOP' => 'cloudflare; loops=1',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_CF_RAY' => 'a3d6f38c29e13191-CMH',
'HTTP_X_FORWARDED_FOR' => '10.10.46.88,216.73.216.40',
'HTTP_CACHE_CONTROL' => 'max-age=259200',
'HTTP_VIA' => '1.1 squid-proxy-5b96dc6d46-7fkg2 (squid/6.13)',
'HTTP_ACCEPT_ENCODING' => 'gzip',
'HTTP_HOST' => 'shorttrl.site',
'proxy-nokeepalive' => '1',
'SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'SCRIPT_URL' => '/sitemap.xml',
'UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'REDIRECT_STATUS' => '200',
'REDIRECT_SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'REDIRECT_SCRIPT_URL' => '/sitemap.xml',
'REDIRECT_UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/sitemap.xml',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1789803722.1694,
'REQUEST_TIME' => (int) 1789803722,
'argv' => [],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET'
]
[protected] url => 'sitemap.xml'
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/sitemap.xml'
[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 => []
[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 => 'http'
[private] userInfo => ''
[private] host => 'shorttrl.site'
[private] port => null
[private] path => '/sitemap.xml'
[private] query => ''
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => (int) 1440
[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) 14
[protected] middleware => object(Cake\Http\MiddlewareQueue) {
[protected] queue => [
[maximum depth reached]
]
[protected] callables => [
[maximum depth reached]
]
}
}
$session_password = $request->getSession()->read('Auth.User.password'); |
|
$user_id = $request->getSession()->read('Auth.User.id'); |
|
|
|
if (!$user_id) { |
|
return $next($request, $response); |
|
} |
|
|
|
if (!$session_password) { |
|
$request->getSession()->destroy(); |
object(Cake\Http\ServerRequest) {
trustProxy => false
[protected] params => [
'alias' => 'sitemap.xml',
'pass' => [
(int) 0 => 'sitemap.xml'
],
'controller' => 'Links',
'action' => 'view',
'plugin' => null,
'_name' => 'short',
'_matchedRoute' => '/:alias',
'_ext' => null
]
[protected] data => []
[protected] query => []
[protected] cookies => []
[protected] _environment => [
'USER' => 'shrrteerrn',
'HOME' => '/home/shrrteerrn',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/sitemap.xml',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/sitemap.xml',
'REMOTE_PORT' => '11860',
'SCRIPT_FILENAME' => '/home/shrrteerrn/public_html/shorttrl.site/webroot/index.php',
'SERVER_ADMIN' => 'webmaster@shorttrl.site.shortestern.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/shrrteerrn/public_html/shorttrl.site',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'http',
'DOCUMENT_ROOT' => '/home/shrrteerrn/public_html/shorttrl.site',
'REMOTE_ADDR' => '216.73.216.40',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '82.180.146.215',
'SERVER_NAME' => 'shorttrl.site',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin',
'HTTP_X_FORWARDED_PROTO' => 'http',
'HTTP_CF_VISITOR' => '{"scheme":"http"}',
'HTTP_CF_IPCOUNTRY' => 'US',
'HTTP_CDN_LOOP' => 'cloudflare; loops=1',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_CF_RAY' => 'a3d6f38c29e13191-CMH',
'HTTP_X_FORWARDED_FOR' => '10.10.46.88,216.73.216.40',
'HTTP_CACHE_CONTROL' => 'max-age=259200',
'HTTP_VIA' => '1.1 squid-proxy-5b96dc6d46-7fkg2 (squid/6.13)',
'HTTP_ACCEPT_ENCODING' => 'gzip',
'HTTP_HOST' => 'shorttrl.site',
'proxy-nokeepalive' => '1',
'SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'SCRIPT_URL' => '/sitemap.xml',
'UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'REDIRECT_STATUS' => '200',
'REDIRECT_SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'REDIRECT_SCRIPT_URL' => '/sitemap.xml',
'REDIRECT_UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/sitemap.xml',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1789803722.1694,
'REQUEST_TIME' => (int) 1789803722,
'argv' => [],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET'
]
[protected] url => 'sitemap.xml'
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/sitemap.xml'
[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 => []
[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 => 'http'
[private] userInfo => ''
[private] host => 'shorttrl.site'
[private] port => null
[private] path => '/sitemap.xml'
[private] query => ''
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => (int) 1440
[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 => [
'alias' => 'sitemap.xml',
'pass' => [
(int) 0 => 'sitemap.xml'
],
'controller' => 'Links',
'action' => 'view',
'plugin' => null,
'_name' => 'short',
'_matchedRoute' => '/:alias',
'_ext' => null
]
[protected] data => []
[protected] query => []
[protected] cookies => []
[protected] _environment => [
'USER' => 'shrrteerrn',
'HOME' => '/home/shrrteerrn',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/sitemap.xml',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/sitemap.xml',
'REMOTE_PORT' => '11860',
'SCRIPT_FILENAME' => '/home/shrrteerrn/public_html/shorttrl.site/webroot/index.php',
'SERVER_ADMIN' => 'webmaster@shorttrl.site.shortestern.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/shrrteerrn/public_html/shorttrl.site',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'http',
'DOCUMENT_ROOT' => '/home/shrrteerrn/public_html/shorttrl.site',
'REMOTE_ADDR' => '216.73.216.40',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '82.180.146.215',
'SERVER_NAME' => 'shorttrl.site',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin',
'HTTP_X_FORWARDED_PROTO' => 'http',
'HTTP_CF_VISITOR' => '{"scheme":"http"}',
'HTTP_CF_IPCOUNTRY' => 'US',
'HTTP_CDN_LOOP' => 'cloudflare; loops=1',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_CF_RAY' => 'a3d6f38c29e13191-CMH',
'HTTP_X_FORWARDED_FOR' => '10.10.46.88,216.73.216.40',
'HTTP_CACHE_CONTROL' => 'max-age=259200',
'HTTP_VIA' => '1.1 squid-proxy-5b96dc6d46-7fkg2 (squid/6.13)',
'HTTP_ACCEPT_ENCODING' => 'gzip',
'HTTP_HOST' => 'shorttrl.site',
'proxy-nokeepalive' => '1',
'SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'SCRIPT_URL' => '/sitemap.xml',
'UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'REDIRECT_STATUS' => '200',
'REDIRECT_SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'REDIRECT_SCRIPT_URL' => '/sitemap.xml',
'REDIRECT_UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/sitemap.xml',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1789803722.1694,
'REQUEST_TIME' => (int) 1789803722,
'argv' => [],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET'
]
[protected] url => 'sitemap.xml'
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/sitemap.xml'
[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 => []
[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 => 'http'
[private] userInfo => ''
[private] host => 'shorttrl.site'
[private] port => null
[private] path => '/sitemap.xml'
[private] query => ''
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => (int) 1440
[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) 14
[protected] middleware => object(Cake\Http\MiddlewareQueue) {
[protected] queue => [
[maximum depth reached]
]
[protected] callables => [
[maximum depth reached]
]
}
}
|
|
$integration_type = get_option('external_integration_type', 'none'); |
|
|
|
if ($integration_type === 'none') { |
|
return $next($request, $response); |
|
} |
|
|
|
$access_url = ''; |
|
$secret_key = ''; |
object(Cake\Http\ServerRequest) {
trustProxy => false
[protected] params => [
'alias' => 'sitemap.xml',
'pass' => [
(int) 0 => 'sitemap.xml'
],
'controller' => 'Links',
'action' => 'view',
'plugin' => null,
'_name' => 'short',
'_matchedRoute' => '/:alias',
'_ext' => null
]
[protected] data => []
[protected] query => []
[protected] cookies => []
[protected] _environment => [
'USER' => 'shrrteerrn',
'HOME' => '/home/shrrteerrn',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/sitemap.xml',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/sitemap.xml',
'REMOTE_PORT' => '11860',
'SCRIPT_FILENAME' => '/home/shrrteerrn/public_html/shorttrl.site/webroot/index.php',
'SERVER_ADMIN' => 'webmaster@shorttrl.site.shortestern.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/shrrteerrn/public_html/shorttrl.site',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'http',
'DOCUMENT_ROOT' => '/home/shrrteerrn/public_html/shorttrl.site',
'REMOTE_ADDR' => '216.73.216.40',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '82.180.146.215',
'SERVER_NAME' => 'shorttrl.site',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin',
'HTTP_X_FORWARDED_PROTO' => 'http',
'HTTP_CF_VISITOR' => '{"scheme":"http"}',
'HTTP_CF_IPCOUNTRY' => 'US',
'HTTP_CDN_LOOP' => 'cloudflare; loops=1',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_CF_RAY' => 'a3d6f38c29e13191-CMH',
'HTTP_X_FORWARDED_FOR' => '10.10.46.88,216.73.216.40',
'HTTP_CACHE_CONTROL' => 'max-age=259200',
'HTTP_VIA' => '1.1 squid-proxy-5b96dc6d46-7fkg2 (squid/6.13)',
'HTTP_ACCEPT_ENCODING' => 'gzip',
'HTTP_HOST' => 'shorttrl.site',
'proxy-nokeepalive' => '1',
'SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'SCRIPT_URL' => '/sitemap.xml',
'UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'REDIRECT_STATUS' => '200',
'REDIRECT_SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'REDIRECT_SCRIPT_URL' => '/sitemap.xml',
'REDIRECT_UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/sitemap.xml',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1789803722.1694,
'REQUEST_TIME' => (int) 1789803722,
'argv' => [],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET'
]
[protected] url => 'sitemap.xml'
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/sitemap.xml'
[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 => []
[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 => 'http'
[private] userInfo => ''
[private] host => 'shorttrl.site'
[private] port => null
[private] path => '/sitemap.xml'
[private] query => ''
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => (int) 1440
[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 => [
'alias' => 'sitemap.xml',
'pass' => [
(int) 0 => 'sitemap.xml'
],
'controller' => 'Links',
'action' => 'view',
'plugin' => null,
'_name' => 'short',
'_matchedRoute' => '/:alias',
'_ext' => null
]
[protected] data => []
[protected] query => []
[protected] cookies => []
[protected] _environment => [
'USER' => 'shrrteerrn',
'HOME' => '/home/shrrteerrn',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/sitemap.xml',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/sitemap.xml',
'REMOTE_PORT' => '11860',
'SCRIPT_FILENAME' => '/home/shrrteerrn/public_html/shorttrl.site/webroot/index.php',
'SERVER_ADMIN' => 'webmaster@shorttrl.site.shortestern.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/shrrteerrn/public_html/shorttrl.site',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'http',
'DOCUMENT_ROOT' => '/home/shrrteerrn/public_html/shorttrl.site',
'REMOTE_ADDR' => '216.73.216.40',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '82.180.146.215',
'SERVER_NAME' => 'shorttrl.site',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin',
'HTTP_X_FORWARDED_PROTO' => 'http',
'HTTP_CF_VISITOR' => '{"scheme":"http"}',
'HTTP_CF_IPCOUNTRY' => 'US',
'HTTP_CDN_LOOP' => 'cloudflare; loops=1',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_CF_RAY' => 'a3d6f38c29e13191-CMH',
'HTTP_X_FORWARDED_FOR' => '10.10.46.88,216.73.216.40',
'HTTP_CACHE_CONTROL' => 'max-age=259200',
'HTTP_VIA' => '1.1 squid-proxy-5b96dc6d46-7fkg2 (squid/6.13)',
'HTTP_ACCEPT_ENCODING' => 'gzip',
'HTTP_HOST' => 'shorttrl.site',
'proxy-nokeepalive' => '1',
'SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'SCRIPT_URL' => '/sitemap.xml',
'UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'REDIRECT_STATUS' => '200',
'REDIRECT_SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'REDIRECT_SCRIPT_URL' => '/sitemap.xml',
'REDIRECT_UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/sitemap.xml',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1789803722.1694,
'REQUEST_TIME' => (int) 1789803722,
'argv' => [],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET'
]
[protected] url => 'sitemap.xml'
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/sitemap.xml'
[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 => []
[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 => 'http'
[private] userInfo => ''
[private] host => 'shorttrl.site'
[private] port => null
[private] path => '/sitemap.xml'
[private] query => ''
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => (int) 1440
[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) 14
[protected] middleware => object(Cake\Http\MiddlewareQueue) {
[protected] queue => [
[maximum depth reached]
]
[protected] callables => [
[maximum depth reached]
]
}
}
if (isset($_COOKIE['lang']) && in_array($_COOKIE['lang'], get_site_languages(true))) { |
|
I18n::setLocale($_COOKIE['lang']); |
|
} |
|
|
|
return $next($request, $response); |
|
} |
|
|
|
/** |
|
* @param \Cake\Http\ServerRequest $request |
object(Cake\Http\ServerRequest) {
trustProxy => false
[protected] params => [
'alias' => 'sitemap.xml',
'pass' => [
(int) 0 => 'sitemap.xml'
],
'controller' => 'Links',
'action' => 'view',
'plugin' => null,
'_name' => 'short',
'_matchedRoute' => '/:alias',
'_ext' => null
]
[protected] data => []
[protected] query => []
[protected] cookies => []
[protected] _environment => [
'USER' => 'shrrteerrn',
'HOME' => '/home/shrrteerrn',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/sitemap.xml',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/sitemap.xml',
'REMOTE_PORT' => '11860',
'SCRIPT_FILENAME' => '/home/shrrteerrn/public_html/shorttrl.site/webroot/index.php',
'SERVER_ADMIN' => 'webmaster@shorttrl.site.shortestern.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/shrrteerrn/public_html/shorttrl.site',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'http',
'DOCUMENT_ROOT' => '/home/shrrteerrn/public_html/shorttrl.site',
'REMOTE_ADDR' => '216.73.216.40',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '82.180.146.215',
'SERVER_NAME' => 'shorttrl.site',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin',
'HTTP_X_FORWARDED_PROTO' => 'http',
'HTTP_CF_VISITOR' => '{"scheme":"http"}',
'HTTP_CF_IPCOUNTRY' => 'US',
'HTTP_CDN_LOOP' => 'cloudflare; loops=1',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_CF_RAY' => 'a3d6f38c29e13191-CMH',
'HTTP_X_FORWARDED_FOR' => '10.10.46.88,216.73.216.40',
'HTTP_CACHE_CONTROL' => 'max-age=259200',
'HTTP_VIA' => '1.1 squid-proxy-5b96dc6d46-7fkg2 (squid/6.13)',
'HTTP_ACCEPT_ENCODING' => 'gzip',
'HTTP_HOST' => 'shorttrl.site',
'proxy-nokeepalive' => '1',
'SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'SCRIPT_URL' => '/sitemap.xml',
'UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'REDIRECT_STATUS' => '200',
'REDIRECT_SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'REDIRECT_SCRIPT_URL' => '/sitemap.xml',
'REDIRECT_UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/sitemap.xml',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1789803722.1694,
'REQUEST_TIME' => (int) 1789803722,
'argv' => [],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET'
]
[protected] url => 'sitemap.xml'
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/sitemap.xml'
[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 => []
[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 => 'http'
[private] userInfo => ''
[private] host => 'shorttrl.site'
[private] port => null
[private] path => '/sitemap.xml'
[private] query => ''
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => (int) 1440
[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 => [
'alias' => 'sitemap.xml',
'pass' => [
(int) 0 => 'sitemap.xml'
],
'controller' => 'Links',
'action' => 'view',
'plugin' => null,
'_name' => 'short',
'_matchedRoute' => '/:alias',
'_ext' => null
]
[protected] data => []
[protected] query => []
[protected] cookies => []
[protected] _environment => [
'USER' => 'shrrteerrn',
'HOME' => '/home/shrrteerrn',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/sitemap.xml',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/sitemap.xml',
'REMOTE_PORT' => '11860',
'SCRIPT_FILENAME' => '/home/shrrteerrn/public_html/shorttrl.site/webroot/index.php',
'SERVER_ADMIN' => 'webmaster@shorttrl.site.shortestern.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/shrrteerrn/public_html/shorttrl.site',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'http',
'DOCUMENT_ROOT' => '/home/shrrteerrn/public_html/shorttrl.site',
'REMOTE_ADDR' => '216.73.216.40',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '82.180.146.215',
'SERVER_NAME' => 'shorttrl.site',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin',
'HTTP_X_FORWARDED_PROTO' => 'http',
'HTTP_CF_VISITOR' => '{"scheme":"http"}',
'HTTP_CF_IPCOUNTRY' => 'US',
'HTTP_CDN_LOOP' => 'cloudflare; loops=1',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_CF_RAY' => 'a3d6f38c29e13191-CMH',
'HTTP_X_FORWARDED_FOR' => '10.10.46.88,216.73.216.40',
'HTTP_CACHE_CONTROL' => 'max-age=259200',
'HTTP_VIA' => '1.1 squid-proxy-5b96dc6d46-7fkg2 (squid/6.13)',
'HTTP_ACCEPT_ENCODING' => 'gzip',
'HTTP_HOST' => 'shorttrl.site',
'proxy-nokeepalive' => '1',
'SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'SCRIPT_URL' => '/sitemap.xml',
'UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'REDIRECT_STATUS' => '200',
'REDIRECT_SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'REDIRECT_SCRIPT_URL' => '/sitemap.xml',
'REDIRECT_UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/sitemap.xml',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1789803722.1694,
'REQUEST_TIME' => (int) 1789803722,
'argv' => [],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET'
]
[protected] url => 'sitemap.xml'
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/sitemap.xml'
[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 => []
[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 => 'http'
[private] userInfo => ''
[private] host => 'shorttrl.site'
[private] port => null
[private] path => '/sitemap.xml'
[private] query => ''
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => (int) 1440
[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) 14
[protected] middleware => object(Cake\Http\MiddlewareQueue) {
[protected] queue => [
[maximum depth reached]
]
[protected] callables => [
[maximum depth reached]
]
}
}
if ($this->forceSSL($request)) { |
|
return new RedirectResponse('https://' . env('HTTP_HOST') . env('REQUEST_URI'), 301); |
|
} |
|
|
|
return $next($request, $response); |
|
} |
|
|
|
/** |
|
* @param \Cake\Http\ServerRequest $request |
object(Cake\Http\ServerRequest) {
trustProxy => false
[protected] params => [
'alias' => 'sitemap.xml',
'pass' => [
(int) 0 => 'sitemap.xml'
],
'controller' => 'Links',
'action' => 'view',
'plugin' => null,
'_name' => 'short',
'_matchedRoute' => '/:alias',
'_ext' => null
]
[protected] data => []
[protected] query => []
[protected] cookies => []
[protected] _environment => [
'USER' => 'shrrteerrn',
'HOME' => '/home/shrrteerrn',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/sitemap.xml',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/sitemap.xml',
'REMOTE_PORT' => '11860',
'SCRIPT_FILENAME' => '/home/shrrteerrn/public_html/shorttrl.site/webroot/index.php',
'SERVER_ADMIN' => 'webmaster@shorttrl.site.shortestern.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/shrrteerrn/public_html/shorttrl.site',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'http',
'DOCUMENT_ROOT' => '/home/shrrteerrn/public_html/shorttrl.site',
'REMOTE_ADDR' => '216.73.216.40',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '82.180.146.215',
'SERVER_NAME' => 'shorttrl.site',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin',
'HTTP_X_FORWARDED_PROTO' => 'http',
'HTTP_CF_VISITOR' => '{"scheme":"http"}',
'HTTP_CF_IPCOUNTRY' => 'US',
'HTTP_CDN_LOOP' => 'cloudflare; loops=1',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_CF_RAY' => 'a3d6f38c29e13191-CMH',
'HTTP_X_FORWARDED_FOR' => '10.10.46.88,216.73.216.40',
'HTTP_CACHE_CONTROL' => 'max-age=259200',
'HTTP_VIA' => '1.1 squid-proxy-5b96dc6d46-7fkg2 (squid/6.13)',
'HTTP_ACCEPT_ENCODING' => 'gzip',
'HTTP_HOST' => 'shorttrl.site',
'proxy-nokeepalive' => '1',
'SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'SCRIPT_URL' => '/sitemap.xml',
'UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'REDIRECT_STATUS' => '200',
'REDIRECT_SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'REDIRECT_SCRIPT_URL' => '/sitemap.xml',
'REDIRECT_UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/sitemap.xml',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1789803722.1694,
'REQUEST_TIME' => (int) 1789803722,
'argv' => [],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET'
]
[protected] url => 'sitemap.xml'
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/sitemap.xml'
[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 => []
[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 => 'http'
[private] userInfo => ''
[private] host => 'shorttrl.site'
[private] port => null
[private] path => '/sitemap.xml'
[private] query => ''
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => (int) 1440
[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 => [
'alias' => 'sitemap.xml',
'pass' => [
(int) 0 => 'sitemap.xml'
],
'controller' => 'Links',
'action' => 'view',
'plugin' => null,
'_name' => 'short',
'_matchedRoute' => '/:alias',
'_ext' => null
]
[protected] data => []
[protected] query => []
[protected] cookies => []
[protected] _environment => [
'USER' => 'shrrteerrn',
'HOME' => '/home/shrrteerrn',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/sitemap.xml',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/sitemap.xml',
'REMOTE_PORT' => '11860',
'SCRIPT_FILENAME' => '/home/shrrteerrn/public_html/shorttrl.site/webroot/index.php',
'SERVER_ADMIN' => 'webmaster@shorttrl.site.shortestern.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/shrrteerrn/public_html/shorttrl.site',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'http',
'DOCUMENT_ROOT' => '/home/shrrteerrn/public_html/shorttrl.site',
'REMOTE_ADDR' => '216.73.216.40',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '82.180.146.215',
'SERVER_NAME' => 'shorttrl.site',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin',
'HTTP_X_FORWARDED_PROTO' => 'http',
'HTTP_CF_VISITOR' => '{"scheme":"http"}',
'HTTP_CF_IPCOUNTRY' => 'US',
'HTTP_CDN_LOOP' => 'cloudflare; loops=1',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_CF_RAY' => 'a3d6f38c29e13191-CMH',
'HTTP_X_FORWARDED_FOR' => '10.10.46.88,216.73.216.40',
'HTTP_CACHE_CONTROL' => 'max-age=259200',
'HTTP_VIA' => '1.1 squid-proxy-5b96dc6d46-7fkg2 (squid/6.13)',
'HTTP_ACCEPT_ENCODING' => 'gzip',
'HTTP_HOST' => 'shorttrl.site',
'proxy-nokeepalive' => '1',
'SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'SCRIPT_URL' => '/sitemap.xml',
'UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'REDIRECT_STATUS' => '200',
'REDIRECT_SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'REDIRECT_SCRIPT_URL' => '/sitemap.xml',
'REDIRECT_UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/sitemap.xml',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1789803722.1694,
'REQUEST_TIME' => (int) 1789803722,
'argv' => [],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET'
]
[protected] url => 'sitemap.xml'
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/sitemap.xml'
[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 => []
[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 => 'http'
[private] userInfo => ''
[private] host => 'shorttrl.site'
[private] port => null
[private] path => '/sitemap.xml'
[private] query => ''
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => (int) 1440
[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) 14
[protected] middleware => object(Cake\Http\MiddlewareQueue) {
[protected] queue => [
[maximum depth reached]
]
[protected] callables => [
[maximum depth reached]
]
}
}
|
|
return new RedirectResponse($redirect_url, 301); |
|
} |
|
|
|
return $next($request, $response); |
|
} |
|
|
|
/** |
|
* @param \Cake\Http\ServerRequest $request |
object(Cake\Http\ServerRequest) {
trustProxy => false
[protected] params => [
'alias' => 'sitemap.xml',
'pass' => [
(int) 0 => 'sitemap.xml'
],
'controller' => 'Links',
'action' => 'view',
'plugin' => null,
'_name' => 'short',
'_matchedRoute' => '/:alias',
'_ext' => null
]
[protected] data => []
[protected] query => []
[protected] cookies => []
[protected] _environment => [
'USER' => 'shrrteerrn',
'HOME' => '/home/shrrteerrn',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/sitemap.xml',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/sitemap.xml',
'REMOTE_PORT' => '11860',
'SCRIPT_FILENAME' => '/home/shrrteerrn/public_html/shorttrl.site/webroot/index.php',
'SERVER_ADMIN' => 'webmaster@shorttrl.site.shortestern.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/shrrteerrn/public_html/shorttrl.site',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'http',
'DOCUMENT_ROOT' => '/home/shrrteerrn/public_html/shorttrl.site',
'REMOTE_ADDR' => '216.73.216.40',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '82.180.146.215',
'SERVER_NAME' => 'shorttrl.site',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin',
'HTTP_X_FORWARDED_PROTO' => 'http',
'HTTP_CF_VISITOR' => '{"scheme":"http"}',
'HTTP_CF_IPCOUNTRY' => 'US',
'HTTP_CDN_LOOP' => 'cloudflare; loops=1',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_CF_RAY' => 'a3d6f38c29e13191-CMH',
'HTTP_X_FORWARDED_FOR' => '10.10.46.88,216.73.216.40',
'HTTP_CACHE_CONTROL' => 'max-age=259200',
'HTTP_VIA' => '1.1 squid-proxy-5b96dc6d46-7fkg2 (squid/6.13)',
'HTTP_ACCEPT_ENCODING' => 'gzip',
'HTTP_HOST' => 'shorttrl.site',
'proxy-nokeepalive' => '1',
'SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'SCRIPT_URL' => '/sitemap.xml',
'UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'REDIRECT_STATUS' => '200',
'REDIRECT_SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'REDIRECT_SCRIPT_URL' => '/sitemap.xml',
'REDIRECT_UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/sitemap.xml',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1789803722.1694,
'REQUEST_TIME' => (int) 1789803722,
'argv' => [],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET'
]
[protected] url => 'sitemap.xml'
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/sitemap.xml'
[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 => []
[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 => 'http'
[private] userInfo => ''
[private] host => 'shorttrl.site'
[private] port => null
[private] path => '/sitemap.xml'
[private] query => ''
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => (int) 1440
[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 => [
'alias' => 'sitemap.xml',
'pass' => [
(int) 0 => 'sitemap.xml'
],
'controller' => 'Links',
'action' => 'view',
'plugin' => null,
'_name' => 'short',
'_matchedRoute' => '/:alias',
'_ext' => null
]
[protected] data => []
[protected] query => []
[protected] cookies => []
[protected] _environment => [
'USER' => 'shrrteerrn',
'HOME' => '/home/shrrteerrn',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/sitemap.xml',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/sitemap.xml',
'REMOTE_PORT' => '11860',
'SCRIPT_FILENAME' => '/home/shrrteerrn/public_html/shorttrl.site/webroot/index.php',
'SERVER_ADMIN' => 'webmaster@shorttrl.site.shortestern.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/shrrteerrn/public_html/shorttrl.site',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'http',
'DOCUMENT_ROOT' => '/home/shrrteerrn/public_html/shorttrl.site',
'REMOTE_ADDR' => '216.73.216.40',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '82.180.146.215',
'SERVER_NAME' => 'shorttrl.site',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin',
'HTTP_X_FORWARDED_PROTO' => 'http',
'HTTP_CF_VISITOR' => '{"scheme":"http"}',
'HTTP_CF_IPCOUNTRY' => 'US',
'HTTP_CDN_LOOP' => 'cloudflare; loops=1',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_CF_RAY' => 'a3d6f38c29e13191-CMH',
'HTTP_X_FORWARDED_FOR' => '10.10.46.88,216.73.216.40',
'HTTP_CACHE_CONTROL' => 'max-age=259200',
'HTTP_VIA' => '1.1 squid-proxy-5b96dc6d46-7fkg2 (squid/6.13)',
'HTTP_ACCEPT_ENCODING' => 'gzip',
'HTTP_HOST' => 'shorttrl.site',
'proxy-nokeepalive' => '1',
'SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'SCRIPT_URL' => '/sitemap.xml',
'UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'REDIRECT_STATUS' => '200',
'REDIRECT_SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'REDIRECT_SCRIPT_URL' => '/sitemap.xml',
'REDIRECT_UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/sitemap.xml',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1789803722.1694,
'REQUEST_TIME' => (int) 1789803722,
'argv' => [],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET'
]
[protected] url => 'sitemap.xml'
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/sitemap.xml'
[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 => []
[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 => 'http'
[private] userInfo => ''
[private] host => 'shorttrl.site'
[private] port => null
[private] path => '/sitemap.xml'
[private] query => ''
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => (int) 1440
[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) 14
[protected] middleware => object(Cake\Http\MiddlewareQueue) {
[protected] queue => [
[maximum depth reached]
]
[protected] callables => [
[maximum depth reached]
]
}
}
{ |
|
public function __invoke(ServerRequest $request, Response $response, callable $next) |
|
{ |
|
if ((bool)get_option('maintenance_mode', false) === false) { |
|
return $next($request, $response); |
|
} |
|
|
|
if ($request->getParam('_name') === 'short') { |
|
return $next($request, $response); |
object(Cake\Http\ServerRequest) {
trustProxy => false
[protected] params => [
'alias' => 'sitemap.xml',
'pass' => [
(int) 0 => 'sitemap.xml'
],
'controller' => 'Links',
'action' => 'view',
'plugin' => null,
'_name' => 'short',
'_matchedRoute' => '/:alias',
'_ext' => null
]
[protected] data => []
[protected] query => []
[protected] cookies => []
[protected] _environment => [
'USER' => 'shrrteerrn',
'HOME' => '/home/shrrteerrn',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/sitemap.xml',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/sitemap.xml',
'REMOTE_PORT' => '11860',
'SCRIPT_FILENAME' => '/home/shrrteerrn/public_html/shorttrl.site/webroot/index.php',
'SERVER_ADMIN' => 'webmaster@shorttrl.site.shortestern.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/shrrteerrn/public_html/shorttrl.site',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'http',
'DOCUMENT_ROOT' => '/home/shrrteerrn/public_html/shorttrl.site',
'REMOTE_ADDR' => '216.73.216.40',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '82.180.146.215',
'SERVER_NAME' => 'shorttrl.site',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin',
'HTTP_X_FORWARDED_PROTO' => 'http',
'HTTP_CF_VISITOR' => '{"scheme":"http"}',
'HTTP_CF_IPCOUNTRY' => 'US',
'HTTP_CDN_LOOP' => 'cloudflare; loops=1',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_CF_RAY' => 'a3d6f38c29e13191-CMH',
'HTTP_X_FORWARDED_FOR' => '10.10.46.88,216.73.216.40',
'HTTP_CACHE_CONTROL' => 'max-age=259200',
'HTTP_VIA' => '1.1 squid-proxy-5b96dc6d46-7fkg2 (squid/6.13)',
'HTTP_ACCEPT_ENCODING' => 'gzip',
'HTTP_HOST' => 'shorttrl.site',
'proxy-nokeepalive' => '1',
'SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'SCRIPT_URL' => '/sitemap.xml',
'UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'REDIRECT_STATUS' => '200',
'REDIRECT_SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'REDIRECT_SCRIPT_URL' => '/sitemap.xml',
'REDIRECT_UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/sitemap.xml',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1789803722.1694,
'REQUEST_TIME' => (int) 1789803722,
'argv' => [],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET'
]
[protected] url => 'sitemap.xml'
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/sitemap.xml'
[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 => []
[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 => 'http'
[private] userInfo => ''
[private] host => 'shorttrl.site'
[private] port => null
[private] path => '/sitemap.xml'
[private] query => ''
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => (int) 1440
[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 => [
'alias' => 'sitemap.xml',
'pass' => [
(int) 0 => 'sitemap.xml'
],
'controller' => 'Links',
'action' => 'view',
'plugin' => null,
'_name' => 'short',
'_matchedRoute' => '/:alias',
'_ext' => null
]
[protected] data => []
[protected] query => []
[protected] cookies => []
[protected] _environment => [
'USER' => 'shrrteerrn',
'HOME' => '/home/shrrteerrn',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/sitemap.xml',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/sitemap.xml',
'REMOTE_PORT' => '11860',
'SCRIPT_FILENAME' => '/home/shrrteerrn/public_html/shorttrl.site/webroot/index.php',
'SERVER_ADMIN' => 'webmaster@shorttrl.site.shortestern.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/shrrteerrn/public_html/shorttrl.site',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'http',
'DOCUMENT_ROOT' => '/home/shrrteerrn/public_html/shorttrl.site',
'REMOTE_ADDR' => '216.73.216.40',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '82.180.146.215',
'SERVER_NAME' => 'shorttrl.site',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin',
'HTTP_X_FORWARDED_PROTO' => 'http',
'HTTP_CF_VISITOR' => '{"scheme":"http"}',
'HTTP_CF_IPCOUNTRY' => 'US',
'HTTP_CDN_LOOP' => 'cloudflare; loops=1',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_CF_RAY' => 'a3d6f38c29e13191-CMH',
'HTTP_X_FORWARDED_FOR' => '10.10.46.88,216.73.216.40',
'HTTP_CACHE_CONTROL' => 'max-age=259200',
'HTTP_VIA' => '1.1 squid-proxy-5b96dc6d46-7fkg2 (squid/6.13)',
'HTTP_ACCEPT_ENCODING' => 'gzip',
'HTTP_HOST' => 'shorttrl.site',
'proxy-nokeepalive' => '1',
'SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'SCRIPT_URL' => '/sitemap.xml',
'UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'REDIRECT_STATUS' => '200',
'REDIRECT_SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'REDIRECT_SCRIPT_URL' => '/sitemap.xml',
'REDIRECT_UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/sitemap.xml',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1789803722.1694,
'REQUEST_TIME' => (int) 1789803722,
'argv' => [],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET'
]
[protected] url => 'sitemap.xml'
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/sitemap.xml'
[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 => []
[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 => 'http'
[private] userInfo => ''
[private] host => 'shorttrl.site'
[private] port => null
[private] path => '/sitemap.xml'
[private] query => ''
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => (int) 1440
[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) 14
[protected] middleware => object(Cake\Http\MiddlewareQueue) {
[protected] queue => [
[maximum depth reached]
]
[protected] callables => [
[maximum depth reached]
]
}
}
return new RedirectResponse($protocol . $default_domain . $_SERVER['REQUEST_URI'], 301); |
|
} |
|
} |
|
|
|
return $next($request, $response); |
|
} |
|
} |
|
|
object(Cake\Http\ServerRequest) {
trustProxy => false
[protected] params => [
'alias' => 'sitemap.xml',
'pass' => [
(int) 0 => 'sitemap.xml'
],
'controller' => 'Links',
'action' => 'view',
'plugin' => null,
'_name' => 'short',
'_matchedRoute' => '/:alias',
'_ext' => null
]
[protected] data => []
[protected] query => []
[protected] cookies => []
[protected] _environment => [
'USER' => 'shrrteerrn',
'HOME' => '/home/shrrteerrn',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/sitemap.xml',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/sitemap.xml',
'REMOTE_PORT' => '11860',
'SCRIPT_FILENAME' => '/home/shrrteerrn/public_html/shorttrl.site/webroot/index.php',
'SERVER_ADMIN' => 'webmaster@shorttrl.site.shortestern.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/shrrteerrn/public_html/shorttrl.site',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'http',
'DOCUMENT_ROOT' => '/home/shrrteerrn/public_html/shorttrl.site',
'REMOTE_ADDR' => '216.73.216.40',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '82.180.146.215',
'SERVER_NAME' => 'shorttrl.site',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin',
'HTTP_X_FORWARDED_PROTO' => 'http',
'HTTP_CF_VISITOR' => '{"scheme":"http"}',
'HTTP_CF_IPCOUNTRY' => 'US',
'HTTP_CDN_LOOP' => 'cloudflare; loops=1',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_CF_RAY' => 'a3d6f38c29e13191-CMH',
'HTTP_X_FORWARDED_FOR' => '10.10.46.88,216.73.216.40',
'HTTP_CACHE_CONTROL' => 'max-age=259200',
'HTTP_VIA' => '1.1 squid-proxy-5b96dc6d46-7fkg2 (squid/6.13)',
'HTTP_ACCEPT_ENCODING' => 'gzip',
'HTTP_HOST' => 'shorttrl.site',
'proxy-nokeepalive' => '1',
'SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'SCRIPT_URL' => '/sitemap.xml',
'UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'REDIRECT_STATUS' => '200',
'REDIRECT_SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'REDIRECT_SCRIPT_URL' => '/sitemap.xml',
'REDIRECT_UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/sitemap.xml',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1789803722.1694,
'REQUEST_TIME' => (int) 1789803722,
'argv' => [],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET'
]
[protected] url => 'sitemap.xml'
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/sitemap.xml'
[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 => []
[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 => 'http'
[private] userInfo => ''
[private] host => 'shorttrl.site'
[private] port => null
[private] path => '/sitemap.xml'
[private] query => ''
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => (int) 1440
[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 => [
'alias' => 'sitemap.xml',
'pass' => [
(int) 0 => 'sitemap.xml'
],
'controller' => 'Links',
'action' => 'view',
'plugin' => null,
'_name' => 'short',
'_matchedRoute' => '/:alias',
'_ext' => null
]
[protected] data => []
[protected] query => []
[protected] cookies => []
[protected] _environment => [
'USER' => 'shrrteerrn',
'HOME' => '/home/shrrteerrn',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/sitemap.xml',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/sitemap.xml',
'REMOTE_PORT' => '11860',
'SCRIPT_FILENAME' => '/home/shrrteerrn/public_html/shorttrl.site/webroot/index.php',
'SERVER_ADMIN' => 'webmaster@shorttrl.site.shortestern.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/shrrteerrn/public_html/shorttrl.site',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'http',
'DOCUMENT_ROOT' => '/home/shrrteerrn/public_html/shorttrl.site',
'REMOTE_ADDR' => '216.73.216.40',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '82.180.146.215',
'SERVER_NAME' => 'shorttrl.site',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin',
'HTTP_X_FORWARDED_PROTO' => 'http',
'HTTP_CF_VISITOR' => '{"scheme":"http"}',
'HTTP_CF_IPCOUNTRY' => 'US',
'HTTP_CDN_LOOP' => 'cloudflare; loops=1',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_CF_RAY' => 'a3d6f38c29e13191-CMH',
'HTTP_X_FORWARDED_FOR' => '10.10.46.88,216.73.216.40',
'HTTP_CACHE_CONTROL' => 'max-age=259200',
'HTTP_VIA' => '1.1 squid-proxy-5b96dc6d46-7fkg2 (squid/6.13)',
'HTTP_ACCEPT_ENCODING' => 'gzip',
'HTTP_HOST' => 'shorttrl.site',
'proxy-nokeepalive' => '1',
'SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'SCRIPT_URL' => '/sitemap.xml',
'UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'REDIRECT_STATUS' => '200',
'REDIRECT_SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'REDIRECT_SCRIPT_URL' => '/sitemap.xml',
'REDIRECT_UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/sitemap.xml',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1789803722.1694,
'REQUEST_TIME' => (int) 1789803722,
'argv' => [],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET'
]
[protected] url => 'sitemap.xml'
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/sitemap.xml'
[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 => []
[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 => 'http'
[private] userInfo => ''
[private] host => 'shorttrl.site'
[private] port => null
[private] path => '/sitemap.xml'
[private] query => ''
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => (int) 1440
[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) 14
[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 => [
'alias' => 'sitemap.xml',
'pass' => [
(int) 0 => 'sitemap.xml'
],
'controller' => 'Links',
'action' => 'view',
'plugin' => null,
'_name' => 'short',
'_matchedRoute' => '/:alias',
'_ext' => null
]
[protected] data => []
[protected] query => []
[protected] cookies => []
[protected] _environment => [
'USER' => 'shrrteerrn',
'HOME' => '/home/shrrteerrn',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/sitemap.xml',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/sitemap.xml',
'REMOTE_PORT' => '11860',
'SCRIPT_FILENAME' => '/home/shrrteerrn/public_html/shorttrl.site/webroot/index.php',
'SERVER_ADMIN' => 'webmaster@shorttrl.site.shortestern.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/shrrteerrn/public_html/shorttrl.site',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'http',
'DOCUMENT_ROOT' => '/home/shrrteerrn/public_html/shorttrl.site',
'REMOTE_ADDR' => '216.73.216.40',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '82.180.146.215',
'SERVER_NAME' => 'shorttrl.site',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin',
'HTTP_X_FORWARDED_PROTO' => 'http',
'HTTP_CF_VISITOR' => '{"scheme":"http"}',
'HTTP_CF_IPCOUNTRY' => 'US',
'HTTP_CDN_LOOP' => 'cloudflare; loops=1',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_CF_RAY' => 'a3d6f38c29e13191-CMH',
'HTTP_X_FORWARDED_FOR' => '10.10.46.88,216.73.216.40',
'HTTP_CACHE_CONTROL' => 'max-age=259200',
'HTTP_VIA' => '1.1 squid-proxy-5b96dc6d46-7fkg2 (squid/6.13)',
'HTTP_ACCEPT_ENCODING' => 'gzip',
'HTTP_HOST' => 'shorttrl.site',
'proxy-nokeepalive' => '1',
'SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'SCRIPT_URL' => '/sitemap.xml',
'UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'REDIRECT_STATUS' => '200',
'REDIRECT_SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'REDIRECT_SCRIPT_URL' => '/sitemap.xml',
'REDIRECT_UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/sitemap.xml',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1789803722.1694,
'REQUEST_TIME' => (int) 1789803722,
'argv' => [],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET'
]
[protected] url => 'sitemap.xml'
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/sitemap.xml'
[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 => []
[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 => 'http'
[private] userInfo => ''
[private] host => 'shorttrl.site'
[private] port => null
[private] path => '/sitemap.xml'
[private] query => ''
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => (int) 1440
[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 => [
'alias' => 'sitemap.xml',
'pass' => [
(int) 0 => 'sitemap.xml'
],
'controller' => 'Links',
'action' => 'view',
'plugin' => null,
'_name' => 'short',
'_matchedRoute' => '/:alias',
'_ext' => null
]
[protected] data => []
[protected] query => []
[protected] cookies => []
[protected] _environment => [
'USER' => 'shrrteerrn',
'HOME' => '/home/shrrteerrn',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/sitemap.xml',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/sitemap.xml',
'REMOTE_PORT' => '11860',
'SCRIPT_FILENAME' => '/home/shrrteerrn/public_html/shorttrl.site/webroot/index.php',
'SERVER_ADMIN' => 'webmaster@shorttrl.site.shortestern.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/shrrteerrn/public_html/shorttrl.site',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'http',
'DOCUMENT_ROOT' => '/home/shrrteerrn/public_html/shorttrl.site',
'REMOTE_ADDR' => '216.73.216.40',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '82.180.146.215',
'SERVER_NAME' => 'shorttrl.site',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin',
'HTTP_X_FORWARDED_PROTO' => 'http',
'HTTP_CF_VISITOR' => '{"scheme":"http"}',
'HTTP_CF_IPCOUNTRY' => 'US',
'HTTP_CDN_LOOP' => 'cloudflare; loops=1',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_CF_RAY' => 'a3d6f38c29e13191-CMH',
'HTTP_X_FORWARDED_FOR' => '10.10.46.88,216.73.216.40',
'HTTP_CACHE_CONTROL' => 'max-age=259200',
'HTTP_VIA' => '1.1 squid-proxy-5b96dc6d46-7fkg2 (squid/6.13)',
'HTTP_ACCEPT_ENCODING' => 'gzip',
'HTTP_HOST' => 'shorttrl.site',
'proxy-nokeepalive' => '1',
'SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'SCRIPT_URL' => '/sitemap.xml',
'UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'REDIRECT_STATUS' => '200',
'REDIRECT_SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'REDIRECT_SCRIPT_URL' => '/sitemap.xml',
'REDIRECT_UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/sitemap.xml',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1789803722.1694,
'REQUEST_TIME' => (int) 1789803722,
'argv' => [],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET'
]
[protected] url => 'sitemap.xml'
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/sitemap.xml'
[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 => []
[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 => 'http'
[private] userInfo => ''
[private] host => 'shorttrl.site'
[private] port => null
[private] path => '/sitemap.xml'
[private] query => ''
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => (int) 1440
[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) 14
[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 => [
'USER' => 'shrrteerrn',
'HOME' => '/home/shrrteerrn',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/sitemap.xml',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/sitemap.xml',
'REMOTE_PORT' => '11860',
'SCRIPT_FILENAME' => '/home/shrrteerrn/public_html/shorttrl.site/webroot/index.php',
'SERVER_ADMIN' => 'webmaster@shorttrl.site.shortestern.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/shrrteerrn/public_html/shorttrl.site',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'http',
'DOCUMENT_ROOT' => '/home/shrrteerrn/public_html/shorttrl.site',
'REMOTE_ADDR' => '216.73.216.40',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '82.180.146.215',
'SERVER_NAME' => 'shorttrl.site',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin',
'HTTP_X_FORWARDED_PROTO' => 'http',
'HTTP_CF_VISITOR' => '{"scheme":"http"}',
'HTTP_CF_IPCOUNTRY' => 'US',
'HTTP_CDN_LOOP' => 'cloudflare; loops=1',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_CF_RAY' => 'a3d6f38c29e13191-CMH',
'HTTP_X_FORWARDED_FOR' => '10.10.46.88,216.73.216.40',
'HTTP_CACHE_CONTROL' => 'max-age=259200',
'HTTP_VIA' => '1.1 squid-proxy-5b96dc6d46-7fkg2 (squid/6.13)',
'HTTP_ACCEPT_ENCODING' => 'gzip',
'HTTP_HOST' => 'shorttrl.site',
'proxy-nokeepalive' => '1',
'SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'SCRIPT_URL' => '/sitemap.xml',
'UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'REDIRECT_STATUS' => '200',
'REDIRECT_SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'REDIRECT_SCRIPT_URL' => '/sitemap.xml',
'REDIRECT_UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/sitemap.xml',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1789803722.1694,
'REQUEST_TIME' => (int) 1789803722,
'argv' => [],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET'
]
[protected] url => 'sitemap.xml'
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/sitemap.xml'
[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 => []
[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 => 'http'
[private] userInfo => ''
[private] host => 'shorttrl.site'
[private] port => null
[private] path => '/sitemap.xml'
[private] query => ''
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => (int) 1440
[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' => 'shrrteerrn',
'HOME' => '/home/shrrteerrn',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/sitemap.xml',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/sitemap.xml',
'REMOTE_PORT' => '11860',
'SCRIPT_FILENAME' => '/home/shrrteerrn/public_html/shorttrl.site/webroot/index.php',
'SERVER_ADMIN' => 'webmaster@shorttrl.site.shortestern.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/shrrteerrn/public_html/shorttrl.site',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'http',
'DOCUMENT_ROOT' => '/home/shrrteerrn/public_html/shorttrl.site',
'REMOTE_ADDR' => '216.73.216.40',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '82.180.146.215',
'SERVER_NAME' => 'shorttrl.site',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin',
'HTTP_X_FORWARDED_PROTO' => 'http',
'HTTP_CF_VISITOR' => '{"scheme":"http"}',
'HTTP_CF_IPCOUNTRY' => 'US',
'HTTP_CDN_LOOP' => 'cloudflare; loops=1',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_CF_RAY' => 'a3d6f38c29e13191-CMH',
'HTTP_X_FORWARDED_FOR' => '10.10.46.88,216.73.216.40',
'HTTP_CACHE_CONTROL' => 'max-age=259200',
'HTTP_VIA' => '1.1 squid-proxy-5b96dc6d46-7fkg2 (squid/6.13)',
'HTTP_ACCEPT_ENCODING' => 'gzip',
'HTTP_HOST' => 'shorttrl.site',
'proxy-nokeepalive' => '1',
'SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'SCRIPT_URL' => '/sitemap.xml',
'UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'REDIRECT_STATUS' => '200',
'REDIRECT_SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'REDIRECT_SCRIPT_URL' => '/sitemap.xml',
'REDIRECT_UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/sitemap.xml',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1789803722.1694,
'REQUEST_TIME' => (int) 1789803722,
'argv' => [],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET'
]
[protected] url => 'sitemap.xml'
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/sitemap.xml'
[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 => []
[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 => 'http'
[private] userInfo => ''
[private] host => 'shorttrl.site'
[private] port => null
[private] path => '/sitemap.xml'
[private] query => ''
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => (int) 1440
[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) 14
[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' => 'shrrteerrn',
'HOME' => '/home/shrrteerrn',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/sitemap.xml',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/sitemap.xml',
'REMOTE_PORT' => '11860',
'SCRIPT_FILENAME' => '/home/shrrteerrn/public_html/shorttrl.site/webroot/index.php',
'SERVER_ADMIN' => 'webmaster@shorttrl.site.shortestern.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/shrrteerrn/public_html/shorttrl.site',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'http',
'DOCUMENT_ROOT' => '/home/shrrteerrn/public_html/shorttrl.site',
'REMOTE_ADDR' => '216.73.216.40',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '82.180.146.215',
'SERVER_NAME' => 'shorttrl.site',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin',
'HTTP_X_FORWARDED_PROTO' => 'http',
'HTTP_CF_VISITOR' => '{"scheme":"http"}',
'HTTP_CF_IPCOUNTRY' => 'US',
'HTTP_CDN_LOOP' => 'cloudflare; loops=1',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_CF_RAY' => 'a3d6f38c29e13191-CMH',
'HTTP_X_FORWARDED_FOR' => '10.10.46.88,216.73.216.40',
'HTTP_CACHE_CONTROL' => 'max-age=259200',
'HTTP_VIA' => '1.1 squid-proxy-5b96dc6d46-7fkg2 (squid/6.13)',
'HTTP_ACCEPT_ENCODING' => 'gzip',
'HTTP_HOST' => 'shorttrl.site',
'proxy-nokeepalive' => '1',
'SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'SCRIPT_URL' => '/sitemap.xml',
'UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'REDIRECT_STATUS' => '200',
'REDIRECT_SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'REDIRECT_SCRIPT_URL' => '/sitemap.xml',
'REDIRECT_UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/sitemap.xml',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1789803722.1694,
'REQUEST_TIME' => (int) 1789803722,
'argv' => [],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET'
]
[protected] url => 'sitemap.xml'
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/sitemap.xml'
[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 => []
[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 => 'http'
[private] userInfo => ''
[private] host => 'shorttrl.site'
[private] port => null
[private] path => '/sitemap.xml'
[private] query => ''
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => (int) 1440
[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' => 'shrrteerrn',
'HOME' => '/home/shrrteerrn',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/sitemap.xml',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/sitemap.xml',
'REMOTE_PORT' => '11860',
'SCRIPT_FILENAME' => '/home/shrrteerrn/public_html/shorttrl.site/webroot/index.php',
'SERVER_ADMIN' => 'webmaster@shorttrl.site.shortestern.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/shrrteerrn/public_html/shorttrl.site',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'http',
'DOCUMENT_ROOT' => '/home/shrrteerrn/public_html/shorttrl.site',
'REMOTE_ADDR' => '216.73.216.40',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '82.180.146.215',
'SERVER_NAME' => 'shorttrl.site',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin',
'HTTP_X_FORWARDED_PROTO' => 'http',
'HTTP_CF_VISITOR' => '{"scheme":"http"}',
'HTTP_CF_IPCOUNTRY' => 'US',
'HTTP_CDN_LOOP' => 'cloudflare; loops=1',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_CF_RAY' => 'a3d6f38c29e13191-CMH',
'HTTP_X_FORWARDED_FOR' => '10.10.46.88,216.73.216.40',
'HTTP_CACHE_CONTROL' => 'max-age=259200',
'HTTP_VIA' => '1.1 squid-proxy-5b96dc6d46-7fkg2 (squid/6.13)',
'HTTP_ACCEPT_ENCODING' => 'gzip',
'HTTP_HOST' => 'shorttrl.site',
'proxy-nokeepalive' => '1',
'SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'SCRIPT_URL' => '/sitemap.xml',
'UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'REDIRECT_STATUS' => '200',
'REDIRECT_SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'REDIRECT_SCRIPT_URL' => '/sitemap.xml',
'REDIRECT_UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/sitemap.xml',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1789803722.1694,
'REQUEST_TIME' => (int) 1789803722,
'argv' => [],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET'
]
[protected] url => 'sitemap.xml'
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/sitemap.xml'
[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 => []
[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 => 'http'
[private] userInfo => ''
[private] host => 'shorttrl.site'
[private] port => null
[private] path => '/sitemap.xml'
[private] query => ''
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => (int) 1440
[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) 14
[protected] middleware => object(Cake\Http\MiddlewareQueue) {
[protected] queue => [
[maximum depth reached]
]
[protected] callables => [
[maximum depth reached]
]
}
}
} elseif ($is_install_url !== false) { |
|
return new RedirectResponse($request->getAttribute("base") . '/'); |
|
} |
|
|
|
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' => 'shrrteerrn',
'HOME' => '/home/shrrteerrn',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/sitemap.xml',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/sitemap.xml',
'REMOTE_PORT' => '11860',
'SCRIPT_FILENAME' => '/home/shrrteerrn/public_html/shorttrl.site/webroot/index.php',
'SERVER_ADMIN' => 'webmaster@shorttrl.site.shortestern.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/shrrteerrn/public_html/shorttrl.site',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'http',
'DOCUMENT_ROOT' => '/home/shrrteerrn/public_html/shorttrl.site',
'REMOTE_ADDR' => '216.73.216.40',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '82.180.146.215',
'SERVER_NAME' => 'shorttrl.site',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin',
'HTTP_X_FORWARDED_PROTO' => 'http',
'HTTP_CF_VISITOR' => '{"scheme":"http"}',
'HTTP_CF_IPCOUNTRY' => 'US',
'HTTP_CDN_LOOP' => 'cloudflare; loops=1',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_CF_RAY' => 'a3d6f38c29e13191-CMH',
'HTTP_X_FORWARDED_FOR' => '10.10.46.88,216.73.216.40',
'HTTP_CACHE_CONTROL' => 'max-age=259200',
'HTTP_VIA' => '1.1 squid-proxy-5b96dc6d46-7fkg2 (squid/6.13)',
'HTTP_ACCEPT_ENCODING' => 'gzip',
'HTTP_HOST' => 'shorttrl.site',
'proxy-nokeepalive' => '1',
'SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'SCRIPT_URL' => '/sitemap.xml',
'UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'REDIRECT_STATUS' => '200',
'REDIRECT_SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'REDIRECT_SCRIPT_URL' => '/sitemap.xml',
'REDIRECT_UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/sitemap.xml',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1789803722.1694,
'REQUEST_TIME' => (int) 1789803722,
'argv' => [],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET'
]
[protected] url => 'sitemap.xml'
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/sitemap.xml'
[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 => []
[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 => 'http'
[private] userInfo => ''
[private] host => 'shorttrl.site'
[private] port => null
[private] path => '/sitemap.xml'
[private] query => ''
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => (int) 1440
[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' => 'shrrteerrn',
'HOME' => '/home/shrrteerrn',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/sitemap.xml',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/sitemap.xml',
'REMOTE_PORT' => '11860',
'SCRIPT_FILENAME' => '/home/shrrteerrn/public_html/shorttrl.site/webroot/index.php',
'SERVER_ADMIN' => 'webmaster@shorttrl.site.shortestern.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/shrrteerrn/public_html/shorttrl.site',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'http',
'DOCUMENT_ROOT' => '/home/shrrteerrn/public_html/shorttrl.site',
'REMOTE_ADDR' => '216.73.216.40',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '82.180.146.215',
'SERVER_NAME' => 'shorttrl.site',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin',
'HTTP_X_FORWARDED_PROTO' => 'http',
'HTTP_CF_VISITOR' => '{"scheme":"http"}',
'HTTP_CF_IPCOUNTRY' => 'US',
'HTTP_CDN_LOOP' => 'cloudflare; loops=1',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_CF_RAY' => 'a3d6f38c29e13191-CMH',
'HTTP_X_FORWARDED_FOR' => '10.10.46.88,216.73.216.40',
'HTTP_CACHE_CONTROL' => 'max-age=259200',
'HTTP_VIA' => '1.1 squid-proxy-5b96dc6d46-7fkg2 (squid/6.13)',
'HTTP_ACCEPT_ENCODING' => 'gzip',
'HTTP_HOST' => 'shorttrl.site',
'proxy-nokeepalive' => '1',
'SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'SCRIPT_URL' => '/sitemap.xml',
'UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'REDIRECT_STATUS' => '200',
'REDIRECT_SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'REDIRECT_SCRIPT_URL' => '/sitemap.xml',
'REDIRECT_UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/sitemap.xml',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1789803722.1694,
'REQUEST_TIME' => (int) 1789803722,
'argv' => [],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET'
]
[protected] url => 'sitemap.xml'
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/sitemap.xml'
[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 => []
[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 => 'http'
[private] userInfo => ''
[private] host => 'shorttrl.site'
[private] port => null
[private] path => '/sitemap.xml'
[private] query => ''
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => (int) 1440
[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) 14
[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' => 'shrrteerrn',
'HOME' => '/home/shrrteerrn',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/sitemap.xml',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/sitemap.xml',
'REMOTE_PORT' => '11860',
'SCRIPT_FILENAME' => '/home/shrrteerrn/public_html/shorttrl.site/webroot/index.php',
'SERVER_ADMIN' => 'webmaster@shorttrl.site.shortestern.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/shrrteerrn/public_html/shorttrl.site',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'http',
'DOCUMENT_ROOT' => '/home/shrrteerrn/public_html/shorttrl.site',
'REMOTE_ADDR' => '216.73.216.40',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '82.180.146.215',
'SERVER_NAME' => 'shorttrl.site',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin',
'HTTP_X_FORWARDED_PROTO' => 'http',
'HTTP_CF_VISITOR' => '{"scheme":"http"}',
'HTTP_CF_IPCOUNTRY' => 'US',
'HTTP_CDN_LOOP' => 'cloudflare; loops=1',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_CF_RAY' => 'a3d6f38c29e13191-CMH',
'HTTP_X_FORWARDED_FOR' => '10.10.46.88,216.73.216.40',
'HTTP_CACHE_CONTROL' => 'max-age=259200',
'HTTP_VIA' => '1.1 squid-proxy-5b96dc6d46-7fkg2 (squid/6.13)',
'HTTP_ACCEPT_ENCODING' => 'gzip',
'HTTP_HOST' => 'shorttrl.site',
'proxy-nokeepalive' => '1',
'SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'SCRIPT_URL' => '/sitemap.xml',
'UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'REDIRECT_STATUS' => '200',
'REDIRECT_SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'REDIRECT_SCRIPT_URL' => '/sitemap.xml',
'REDIRECT_UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/sitemap.xml',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1789803722.1694,
'REQUEST_TIME' => (int) 1789803722,
'argv' => [],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET'
]
[protected] url => 'sitemap.xml'
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/sitemap.xml'
[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 => []
[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 => 'http'
[private] userInfo => ''
[private] host => 'shorttrl.site'
[private] port => null
[private] path => '/sitemap.xml'
[private] query => ''
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => (int) 1440
[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(App\Middleware\InstallMiddleware) {},
(int) 1 => object(Cake\Error\Middleware\ErrorHandlerMiddleware) {},
(int) 2 => object(Cake\Routing\Middleware\AssetMiddleware) {},
(int) 3 => object(Cake\Routing\Middleware\RoutingMiddleware) {},
(int) 4 => object(App\Middleware\RedirectShortLinkMiddleware) {},
(int) 5 => object(App\Middleware\MaintenanceMiddleware) {},
(int) 6 => object(App\Middleware\RedirectMainDomainMiddleware) {},
(int) 7 => object(App\Middleware\ForceSslMiddleware) {},
(int) 8 => object(App\Middleware\LanguageMiddleware) {},
(int) 9 => object(App\Middleware\ExternalRedirectShortLinkMiddleware) {},
(int) 10 => object(App\Middleware\PasswordChangeLogoutMiddleware) {},
(int) 11 => object(Closure) {},
(int) 12 => object(ADmad\SocialAuth\Middleware\SocialAuthMiddleware) {},
(int) 13 => object(App\Application) {}
]
[protected] callables => [
(int) 0 => object(App\Middleware\InstallMiddleware) {},
(int) 1 => object(Cake\Error\Middleware\ErrorHandlerMiddleware) {},
(int) 2 => object(Cake\Routing\Middleware\AssetMiddleware) {},
(int) 3 => object(Cake\Routing\Middleware\RoutingMiddleware) {},
(int) 4 => object(App\Middleware\RedirectShortLinkMiddleware) {},
(int) 5 => object(App\Middleware\MaintenanceMiddleware) {},
(int) 6 => object(App\Middleware\RedirectMainDomainMiddleware) {},
(int) 7 => object(App\Middleware\ForceSslMiddleware) {},
(int) 8 => object(App\Middleware\LanguageMiddleware) {},
(int) 9 => object(App\Middleware\ExternalRedirectShortLinkMiddleware) {},
(int) 10 => object(App\Middleware\PasswordChangeLogoutMiddleware) {},
(int) 11 => object(Closure) {},
(int) 12 => object(ADmad\SocialAuth\Middleware\SocialAuthMiddleware) {},
(int) 13 => object(App\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' => 'shrrteerrn',
'HOME' => '/home/shrrteerrn',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/sitemap.xml',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/sitemap.xml',
'REMOTE_PORT' => '11860',
'SCRIPT_FILENAME' => '/home/shrrteerrn/public_html/shorttrl.site/webroot/index.php',
'SERVER_ADMIN' => 'webmaster@shorttrl.site.shortestern.com',
'CONTEXT_DOCUMENT_ROOT' => '/home/shrrteerrn/public_html/shorttrl.site',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'http',
'DOCUMENT_ROOT' => '/home/shrrteerrn/public_html/shorttrl.site',
'REMOTE_ADDR' => '216.73.216.40',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '82.180.146.215',
'SERVER_NAME' => 'shorttrl.site',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin',
'HTTP_X_FORWARDED_PROTO' => 'http',
'HTTP_CF_VISITOR' => '{"scheme":"http"}',
'HTTP_CF_IPCOUNTRY' => 'US',
'HTTP_CDN_LOOP' => 'cloudflare; loops=1',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_CF_RAY' => 'a3d6f38c29e13191-CMH',
'HTTP_X_FORWARDED_FOR' => '10.10.46.88,216.73.216.40',
'HTTP_CACHE_CONTROL' => 'max-age=259200',
'HTTP_VIA' => '1.1 squid-proxy-5b96dc6d46-7fkg2 (squid/6.13)',
'HTTP_ACCEPT_ENCODING' => 'gzip',
'HTTP_HOST' => 'shorttrl.site',
'proxy-nokeepalive' => '1',
'SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'SCRIPT_URL' => '/sitemap.xml',
'UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'REDIRECT_STATUS' => '200',
'REDIRECT_SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'REDIRECT_SCRIPT_URL' => '/sitemap.xml',
'REDIRECT_UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://shorttrl.site/sitemap.xml',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/sitemap.xml',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'aq48yv0PXi1e2Tp7Ga_SugAAADU',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1789803722.1694,
'REQUEST_TIME' => (int) 1789803722,
'argv' => [],
'argc' => (int) 0,
'ORIGINAL_REQUEST_METHOD' => 'GET'
]
[protected] url => 'sitemap.xml'
[protected] base => ''
[protected] webroot => '/'
[protected] here => '/sitemap.xml'
[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 => []
[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 => 'http'
[private] userInfo => ''
[private] host => 'shorttrl.site'
[private] port => null
[private] path => '/sitemap.xml'
[private] query => ''
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => (int) 1440
[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' => ''
}
// Bind your application to the server. |
|
$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
If you want to customize this error message, create src/Template/Error/error500.ctp