// 檢測跨域路由
$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 | host6969178 |
HOME | /webHome//host6969178 |
FCGI_ROLE | RESPONDER |
REDIRECT_REDIRECT_STATUS | 200 |
REDIRECT_PATH_INFO | index.php/javascript:void(0) |
REDIRECT_HANDLER | php-fpm |
REDIRECT_STATUS | 200 |
HTTP_HOST | www.fcd777.com |
HTTP_REFERER | https://www.baidu.com/search/spider.htm |
HTTP_X_APPLE_TZ | 0 |
HTTP_X_APPLE_STORE_FRONT | 143444,12 |
HTTP_ACCEPT | text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 |
HTTP_ACCEPT_ENCODING | gzip, deflate |
HTTP_ACCEPT_LANGUAGE | en-US,en;q=0.5 |
HTTP_CACHE_CONTROL | no-cache |
CONTENT_TYPE | application/x-www-form-urlencoded; charset=utf-8 |
HTTP_USER_AGENT | Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.167 Safari/537.36 |
HTTP_X_MICROSOFTAJAX | Delta=true |
PATH | /sbin:/usr/sbin:/bin:/usr/bin |
SERVER_SIGNATURE | |
SERVER_SOFTWARE | Apache |
SERVER_NAME | www.fcd777.com |
SERVER_ADDR | 10.61.168.28 |
SERVER_PORT | 80 |
REMOTE_ADDR | 196.63.152.98 |
DOCUMENT_ROOT | /webHome/host6969178/www |
SERVER_ADMIN | root@localhost |
SCRIPT_FILENAME | /webHome/host6969178/www/index.php |
REMOTE_PORT | 41720 |
REDIRECT_URL | /index.php/javascript:void(0) |
GATEWAY_INTERFACE | CGI/1.1 |
SERVER_PROTOCOL | HTTP/1.1 |
REQUEST_METHOD | GET |
QUERY_STRING | |
REQUEST_URI | /javascript:void(0) |
SCRIPT_NAME | /index.php |
PATH_INFO | /javascript:void(0) |
PATH_TRANSLATED | /webHome/host6969178/www/javascript:void(0) |
ORIG_PATH_INFO | /index.php/javascript:void(0) |
ORIG_SCRIPT_NAME | /php5-fcgi/php-fpm-host6969178 |
ORIG_SCRIPT_FILENAME | /php-1.1/phpfarm-0.1.0/inst/bin/php-fpm-host6969178 |
ORIG_PATH_TRANSLATED | /webHome/host6969178/www/index.php/javascript:void(0) |
PHP_SELF | /index.php/javascript:void(0) |
REQUEST_TIME_FLOAT | 1737176991.5232 |
REQUEST_TIME | 1737176991 |
USER | host6969178 |
HOME | /webHome//host6969178 |
FCGI_ROLE | RESPONDER |
REDIRECT_REDIRECT_STATUS | 200 |
REDIRECT_PATH_INFO | index.php/javascript:void(0) |
REDIRECT_HANDLER | php-fpm |
REDIRECT_STATUS | 200 |
HTTP_HOST | www.fcd777.com |
HTTP_REFERER | https://www.baidu.com/search/spider.htm |
HTTP_X_APPLE_TZ | 0 |
HTTP_X_APPLE_STORE_FRONT | 143444,12 |
HTTP_ACCEPT | text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 |
HTTP_ACCEPT_ENCODING | gzip, deflate |
HTTP_ACCEPT_LANGUAGE | en-US,en;q=0.5 |
HTTP_CACHE_CONTROL | no-cache |
CONTENT_TYPE | application/x-www-form-urlencoded; charset=utf-8 |
HTTP_USER_AGENT | Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.167 Safari/537.36 |
HTTP_X_MICROSOFTAJAX | Delta=true |
PATH | /sbin:/usr/sbin:/bin:/usr/bin |
SERVER_SIGNATURE | |
SERVER_SOFTWARE | Apache |
SERVER_NAME | www.fcd777.com |
SERVER_ADDR | 10.61.168.28 |
SERVER_PORT | 80 |
REMOTE_ADDR | 196.63.152.98 |
DOCUMENT_ROOT | /webHome/host6969178/www |
SERVER_ADMIN | root@localhost |
SCRIPT_FILENAME | /webHome/host6969178/www/index.php |
REMOTE_PORT | 41720 |
REDIRECT_URL | /index.php/javascript:void(0) |
GATEWAY_INTERFACE | CGI/1.1 |
SERVER_PROTOCOL | HTTP/1.1 |
REQUEST_METHOD | GET |
QUERY_STRING | |
REQUEST_URI | /javascript:void(0) |
SCRIPT_NAME | /index.php |
PATH_INFO | /javascript:void(0) |
PATH_TRANSLATED | /webHome/host6969178/www/javascript:void(0) |
ORIG_PATH_INFO | /index.php/javascript:void(0) |
ORIG_SCRIPT_NAME | /php5-fcgi/php-fpm-host6969178 |
ORIG_SCRIPT_FILENAME | /php-1.1/phpfarm-0.1.0/inst/bin/php-fpm-host6969178 |
ORIG_PATH_TRANSLATED | /webHome/host6969178/www/index.php/javascript:void(0) |
PHP_SELF | /index.php/javascript:void(0) |
REQUEST_TIME_FLOAT | 1737176991.5232 |
REQUEST_TIME | 1737176991 |
APP_PATH | /webHome/host6969178/www/application/ |