$path = $this->rule->parseUrlPath($url);if (empty($path)) {return [null, null];}// 解析控制器$controller = !empty($path) ? array_shift($path) : null;if ($controller && !preg_match('/^[A-Za-z0-9][\w|\.]*$/', $controller)) {throw new HttpException(404, 'controller not exists:' . $controller);}// 解析操作$action = !empty($path) ? array_shift($path) : null;$var = [];// 解析额外参数if ($path) {preg_replace_callback('/(\w+)\|([^\|]+)/', function ($match) use (&$var) {
| lang | zh-cn |
| ssid | 3664f589a3fc92ae551d7daa1bf3bb03 |
| LoginCaptcha | 202601032956997262 |
| USER | www |
| HOME | /var/www |
| HTTP_COOKIE | lang=zh-cn; ssid=3664f589a3fc92ae551d7daa1bf3bb03 |
| HTTP_ACCEPT_ENCODING | gzip |
| HTTP_ACCEPT | */* |
| HTTP_HOST | www.zjamp.com |
| HTTP_USER_AGENT | Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) |
| REDIRECT_STATUS | 200 |
| SERVER_NAME | www.zjamp.com |
| SERVER_PORT | 443 |
| SERVER_ADDR | 10.2.0.89 |
| REMOTE_PORT | 57374 |
| REMOTE_ADDR | 104.253.131.2 |
| SERVER_SOFTWARE | nginx/1.27.1 |
| GATEWAY_INTERFACE | CGI/1.1 |
| HTTPS | on |
| REQUEST_SCHEME | https |
| SERVER_PROTOCOL | HTTP/1.1 |
| DOCUMENT_ROOT | /var/www/zjamp/public |
| DOCUMENT_URI | /index.php |
| REQUEST_URI | /tags-%E5%8F%B0%E7%B1%8D%E5%91%98%E5%B7%A5%E8%A2%AB%E6%8C%87%E5%9C%A8%E7%A4%BE%E4%BA%A4%E5%AA%92%E4%BD%93%E5%8F%91%E8%A1%A8%E4%B8%8D%E5%BD%93%E8%A8%80%E8%AE%BA%20%E7%91%9E%E5%B9%B8%E5%92%96%E5%95%A1%E5%9B%9E%E5%BA%94.html |
| SCRIPT_NAME | /index.php |
| CONTENT_LENGTH | |
| CONTENT_TYPE | |
| REQUEST_METHOD | GET |
| QUERY_STRING | s=//tags-%E5%8F%B0%E7%B1%8D%E5%91%98%E5%B7%A5%E8%A2%AB%E6%8C%87%E5%9C%A8%E7%A4%BE%E4%BA%A4%E5%AA%92%E4%BD%93%E5%8F%91%E8%A1%A8%E4%B8%8D%E5%BD%93%E8%A8%80%E8%AE%BA%20%E7%91%9E%E5%B9%B8%E5%92%96%E5%95%A1%E5%9B%9E%E5%BA%94.html |
| SCRIPT_FILENAME | /var/www/zjamp/public/index.php |
| FCGI_ROLE | RESPONDER |
| PHP_SELF | /index.php |
| REQUEST_TIME_FLOAT | 1767475813.2806 |
| REQUEST_TIME | 1767475813 |