// 检测跨域路由
$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,
]);
}
/**
/products_asp | |
id | 668 |
USER | www |
HOME | /home/www |
SCRIPT_NAME | /index.php |
REQUEST_URI | /products.asp?id=668 |
QUERY_STRING | /products.asp&id=668 |
REQUEST_METHOD | GET |
SERVER_PROTOCOL | HTTP/2.0 |
GATEWAY_INTERFACE | CGI/1.1 |
REDIRECT_QUERY_STRING | /products.asp&id=668 |
REDIRECT_URL | /products.asp |
REMOTE_PORT | 33536 |
SCRIPT_FILENAME | /www/wwwroot/puao-tech.com/public/index.php |
SERVER_ADMIN | webmaster@example.com |
CONTEXT_DOCUMENT_ROOT | /www/wwwroot/puao-tech.com/public |
CONTEXT_PREFIX | |
REQUEST_SCHEME | https |
DOCUMENT_ROOT | /www/wwwroot/puao-tech.com/public |
REMOTE_ADDR | 3.85.167.119 |
SERVER_PORT | 443 |
SERVER_ADDR | 172.17.242.57 |
SERVER_NAME | puao-tech.com |
SERVER_SOFTWARE | Apache |
SERVER_SIGNATURE | <address>Apache Server at puao-tech.com Port 443</address> |
LD_LIBRARY_PATH | /www/server/apache/lib |
PATH | /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin |
HTTP_HOST | puao-tech.com |
HTTP_REFERER | http://puao-tech.com/products.asp?id=668 |
HTTP_USER_AGENT | claudebot |
HTTP_ACCEPT | */* |
proxy-nokeepalive | 1 |
H2_STREAM_TAG | 75-3 |
H2_STREAM_ID | 3 |
H2_PUSHED_ON | |
H2_PUSHED | |
H2_PUSH | off |
H2PUSH | off |
HTTP2 | on |
SSL_TLS_SNI | puao-tech.com |
HTTPS | on |
SCRIPT_URI | https://puao-tech.com/products.asp |
SCRIPT_URL | /products.asp |
REDIRECT_STATUS | 200 |
REDIRECT_H2_STREAM_TAG | 75-3 |
REDIRECT_H2_STREAM_ID | 3 |
REDIRECT_H2_PUSHED_ON | |
REDIRECT_H2_PUSHED | |
REDIRECT_H2_PUSH | off |
REDIRECT_H2PUSH | off |
REDIRECT_HTTP2 | on |
REDIRECT_SSL_TLS_SNI | puao-tech.com |
REDIRECT_HTTPS | on |
REDIRECT_SCRIPT_URI | https://puao-tech.com/products.asp |
REDIRECT_SCRIPT_URL | /products.asp |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711711781.7149 |
REQUEST_TIME | 1711711781 |
BIND_MODULE | indexs |