// 检测跨域路由
$result = $this->cross->check($this->request, $url, $completeMatch);
}
if (false !== $result) {
// 路由匹配
return $result;
} elseif ($must) {
// 强制路由不匹配则抛出异常
throw new RouteNotFoundException();
}
// 默认路由解析
return new UrlDispatch($this->request, $this->group, $url, [
'auto_search' => $this->autoSearchController,
]);
}
/**
USER | www |
HOME | /home/www |
SCRIPT_NAME | /index.php |
REQUEST_URI | /index.php?s=/news/30.html |
QUERY_STRING | s=/news/30.html |
REQUEST_METHOD | GET |
SERVER_PROTOCOL | HTTP/2.0 |
GATEWAY_INTERFACE | CGI/1.1 |
REMOTE_PORT | 35688 |
SCRIPT_FILENAME | /www/wwwroot/molloguitar/public/index.php |
SERVER_ADMIN | webmaster@example.com |
CONTEXT_DOCUMENT_ROOT | /www/wwwroot/molloguitar/public/ |
CONTEXT_PREFIX | |
REQUEST_SCHEME | https |
DOCUMENT_ROOT | /www/wwwroot/molloguitar/public/ |
REMOTE_ADDR | 44.202.90.91 |
SERVER_PORT | 443 |
SERVER_ADDR | 172.26.26.245 |
SERVER_NAME | www.molloguitar.com |
SERVER_SOFTWARE | Apache |
SERVER_SIGNATURE | <address>Apache Server at www.molloguitar.com Port 443</address> |
LD_LIBRARY_PATH | /www/server/apache/lib |
PATH | /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin |
HTTP_HOST | www.molloguitar.com |
HTTP_REFERER | http://molloguitar.com/news/30.html |
HTTP_USER_AGENT | claudebot |
HTTP_ACCEPT | */* |
proxy-nokeepalive | 1 |
H2_STREAM_TAG | 128-3 |
H2_STREAM_ID | 3 |
H2_PUSHED_ON | |
H2_PUSHED | |
H2_PUSH | off |
H2PUSH | off |
HTTP2 | on |
SSL_TLS_SNI | www.molloguitar.com |
HTTPS | on |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711623634.7514 |
REQUEST_TIME | 1711623634 |
EXTEND_PATH | /www/wwwroot/molloguitar/extend |
ROOT_PATH | /www/wwwroot/molloguitar |
__STATIC__ | /www/wwwroot/molloguitar/static/ |
INDEX_PATH | /www/wwwroot/molloguitar/public |
DS | / |