* @param Exception $e * @return void */ protected function handleRoutingException(\Exception $e) { if ($e instanceof ResourceNotFoundException) { throw new NotFoundHttpException($e->getMessage()); }
} // The Symfony routing component's exceptions implement this interface we // can type-hint it to make sure we're only providing special handling // for those exceptions, and not other random exceptions that occur. catch (ExceptionInterface $e) { $this->handleRoutingException($e); }
} // Once we have the route, we can just run it to get the responses, which will // always be instances of the Response class. Once we have the responses we // will execute the global "after" middlewares to finish off the request. else { $this->currentRoute = $route = $this->findRoute($request); $response = $route->run($request);
if ($this->isDownForMaintenance()) { $response = $this['events']->until('illuminate.app.down'); if ( ! is_null($response)) return $this->prepareResponse($response, $request); } return $this['router']->dispatch($this->prepareRequest($request)); }
/** * Handles the given request and delivers the response. * * @return void */ public function run() { $response = $this->dispatch($this['request']); $this['router']->callCloseFilter($this['request'], $response);
| Once we have the application, we can simply call the run method, | which will execute the request and send the response back to | the client's browser allowing them to enjoy the creative | and wonderful applications we have created for them. | */ $app->run(); /*
Key | Value |
MAGICK_TEMPORARY_PATH | /usr/home/lanetw/.tmp |
TMPDIR | /usr/home/lanetw/.tmp |
PHP_FCGI_MAX_REQUESTS | 100000 |
PATH | /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
PHPRC | /home/httpd/php56-ini/lanetw |
PWD | /home/httpd/cgi-bin |
MAGICK_TMPDIR | /usr/home/lanetw/.tmp |
CONTENT_LENGTH | 0 |
HTTP_CONNECTION | close |
SCRIPT_NAME | /index.php |
REQUEST_URI | /files/uploads/5c10eb906a5662.906777472019-01-12_AS-Halle_Senioren.pdf |
QUERY_STRING | |
REQUEST_METHOD | GET |
SERVER_PROTOCOL | HTTP/2.0 |
GATEWAY_INTERFACE | CGI/1.1 |
REDIRECT_URL | /files/uploads/5c10eb906a5662.906777472019-01-12_AS-Halle_Senioren.pdf |
REMOTE_PORT | 60566 |
SCRIPT_FILENAME | /usr/www/users/lanetw/public/index.php |
SERVER_ADMIN | webmaster@lanet2.de |
CONTEXT_DOCUMENT_ROOT | /usr/www/users/lanetw/public |
CONTEXT_PREFIX | |
REQUEST_SCHEME | https |
DOCUMENT_ROOT | /usr/www/users/lanetw/public |
REMOTE_ADDR | 3.234.143.63 |
SERVER_PORT | 443 |
SERVER_ADDR | 78.47.54.151 |
SERVER_NAME | www.lanet2.de |
SERVER_SOFTWARE | Apache |
SERVER_SIGNATURE | <address>Apache Server at www.lanet2.de Port 443</address> |
HTTP_HOST | www.lanet2.de |
HTTP_USER_AGENT | claudebot |
HTTP_ACCEPT | */* |
SSL_TLS_SNI | www.lanet2.de |
HTTPS | on |
H2_STREAM_TAG | 39275-3130-3 |
H2_STREAM_ID | 3 |
H2_PUSHED_ON | |
H2_PUSHED | |
H2_PUSH | off |
H2PUSH | off |
HTTP2 | on |
REDIRECT_STATUS | 200 |
REDIRECT_SSL_TLS_SNI | www.lanet2.de |
REDIRECT_HTTPS | on |
REDIRECT_H2_STREAM_TAG | 39275-3130-3 |
REDIRECT_H2_STREAM_ID | 3 |
REDIRECT_H2_PUSHED_ON | |
REDIRECT_H2_PUSHED | |
REDIRECT_H2_PUSH | off |
REDIRECT_H2PUSH | off |
REDIRECT_HTTP2 | on |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711698314.492 |
REQUEST_TIME | 1711698314 |
argv | Array ( ) |
argc | 0 |
Key | Value |
_sf2_attributes | Array ( [_token] => 7NUI58AYaHTRtyXPCSzhY9Kn253NRcYOgwGhjQ4a ) |
_sf2_flashes | Array ( ) |
_sf2_meta | Array ( [u] => 1711698314 [c] => 1711698314 [l] => 7200 ) |
Key | Value |
MAGICK_TEMPORARY_PATH | /usr/home/lanetw/.tmp |
TMPDIR | /usr/home/lanetw/.tmp |
PHP_FCGI_MAX_REQUESTS | 100000 |
PATH | /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
PHPRC | /home/httpd/php56-ini/lanetw |
PWD | /home/httpd/cgi-bin |
MAGICK_TMPDIR | /usr/home/lanetw/.tmp |
CONTENT_LENGTH | 0 |
HTTP_CONNECTION | close |
SCRIPT_NAME | /index.php |
REQUEST_URI | /files/uploads/5c10eb906a5662.906777472019-01-12_AS-Halle_Senioren.pdf |
QUERY_STRING | |
REQUEST_METHOD | GET |
SERVER_PROTOCOL | HTTP/2.0 |
GATEWAY_INTERFACE | CGI/1.1 |
REDIRECT_URL | /files/uploads/5c10eb906a5662.906777472019-01-12_AS-Halle_Senioren.pdf |
REMOTE_PORT | 60566 |
SCRIPT_FILENAME | /usr/www/users/lanetw/public/index.php |
SERVER_ADMIN | webmaster@lanet2.de |
CONTEXT_DOCUMENT_ROOT | /usr/www/users/lanetw/public |
CONTEXT_PREFIX | |
REQUEST_SCHEME | https |
DOCUMENT_ROOT | /usr/www/users/lanetw/public |
REMOTE_ADDR | 3.234.143.63 |
SERVER_PORT | 443 |
SERVER_ADDR | 78.47.54.151 |
SERVER_NAME | www.lanet2.de |
SERVER_SOFTWARE | Apache |
SERVER_SIGNATURE | <address>Apache Server at www.lanet2.de Port 443</address> |
HTTP_HOST | www.lanet2.de |
HTTP_USER_AGENT | claudebot |
HTTP_ACCEPT | */* |
SSL_TLS_SNI | www.lanet2.de |
HTTPS | on |
H2_STREAM_TAG | 39275-3130-3 |
H2_STREAM_ID | 3 |
H2_PUSHED_ON | |
H2_PUSHED | |
H2_PUSH | off |
H2PUSH | off |
HTTP2 | on |
REDIRECT_STATUS | 200 |
REDIRECT_SSL_TLS_SNI | www.lanet2.de |
REDIRECT_HTTPS | on |
REDIRECT_H2_STREAM_TAG | 39275-3130-3 |
REDIRECT_H2_STREAM_ID | 3 |
REDIRECT_H2_PUSHED_ON | |
REDIRECT_H2_PUSHED | |
REDIRECT_H2_PUSH | off |
REDIRECT_H2PUSH | off |
REDIRECT_HTTP2 | on |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711698314.492 |
REQUEST_TIME | 1711698314 |
argv | Array ( ) |
argc | 0 |