if ($this->param['auto_search']) {
$controller = $this->autoFindController($module, $path);
} else {
// 解析控制器
$controller = !empty($path) ? array_shift($path) : null;
}
if ($controller && !preg_match('/^[A-Za-z](\w|\.)*$/', $controller)) {
throw new HttpException(404, 'controller not exists:' . $controller);
}
// 解析操作
$action = !empty($path) ? array_shift($path) : null;
// 解析额外参数
if ($path) {
if ($this->rule->getConfig('url_param_type')) {
$var += $path;
REDIRECT_STATUS | 200 |
HTTP_ACCEPT | */* |
HTTP_USER_AGENT | claudebot |
HTTP_HOST | www.gtycn.com |
PATH | /sbin:/usr/sbin:/bin:/usr/bin |
LD_LIBRARY_PATH | /alidata/server/httpd/lib |
SERVER_SIGNATURE | |
SERVER_SOFTWARE | Apache |
SERVER_NAME | www.gtycn.com |
SERVER_ADDR | 59.110.52.60 |
SERVER_PORT | 80 |
REMOTE_ADDR | 54.163.200.109 |
DOCUMENT_ROOT | /alidata/www/gty/public/ |
REQUEST_SCHEME | http |
CONTEXT_PREFIX | |
CONTEXT_DOCUMENT_ROOT | /alidata/www/gty/public/ |
SERVER_ADMIN | webmaster@dummy-host.example.com |
SCRIPT_FILENAME | /alidata/www/gty/public/index.php |
REMOTE_PORT | 55148 |
REDIRECT_URL | /dianzitulu/201212/201212-2/index.html |
GATEWAY_INTERFACE | CGI/1.1 |
SERVER_PROTOCOL | HTTP/1.1 |
REQUEST_METHOD | GET |
QUERY_STRING | |
REQUEST_URI | /dianzitulu/201212/201212-2/index.html |
SCRIPT_NAME | /index.php |
PATH_INFO | /dianzitulu/201212/201212-2/index.html |
PATH_TRANSLATED | redirect:/index.php/dianzitulu/201212/201212-2/index.html/201212/201212-2/index.html |
PHP_SELF | /index.php/dianzitulu/201212/201212-2/index.html |
REQUEST_TIME_FLOAT | 1711660683.773 |
REQUEST_TIME | 1711660683 |
APP_PATH | /alidata/www/gty/public/../app/ |