[0] HttpException in Route.php line 1258

非法请求:history/index/prolistdetail/historyid/5

  1. $route = [$module, $controller, $action];
  2. // 检查地址是否被定义过路由
  3. $name = strtolower($module . '/' . Loader::parseName($controller, 1) . '/' . $action);
  4. $name2 = '';
  5. if (empty($module) || isset($bind) && $module == $bind) {
  6. $name2 = strtolower(Loader::parseName($controller, 1) . '/' . $action);
  7. }
  8. if (isset(self::$rules['name'][$name]) || isset(self::$rules['name'][$name2])) {
  9. throw new HttpException(404, 'invalid request:' . str_replace('|', $depr, $url));
  10. }
  11. }
  12. return ['type' => 'module', 'module' => $route];
  13. }
  14. /**
  15. * 解析URL的pathinfo参数和变量
  16. * @access private
  17. * @param string $url URL地址

Call Stack

  1. in Route.php line 1258
  2. at Route::parseUrl('history|index|prolis...', '/', false) in App.php line 552
  3. at App::routeCheck(object(Request), ['app_namespace' => 'app', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 106
  4. at App::run() in start.php line 18
  5. at require('/www/wwwroot/www.f1-...') in index.php line 17

Environment Variables

GET Data
empty
POST Data
empty
Files
empty
Cookies
empty
Session
empty

Server/Request Data

USER
www
HOME
/home/www
HTTP_USER_AGENT
claudebot
HTTP_ACCEPT
*/*
HTTP_ALI_CDN_REAL_IP
174.129.59.198
HTTP_X_CLIENT_SCHEME
https
HTTP_X_FORWARDED_FOR
174.129.59.198
HTTP_ALI_SWIFT_STAT_HOST
level2.www.f1-shanghai.com
HTTP_ALI_SWIFT_LOG_HOST
www.f1-shanghai.com
HTTP_EAGLEEYE_TRACEID
3daa4d1917116374495426216e
HTTP_VIA
cn6020.l1, ens-cache3.cn6020, l2cn3022.l2, cache43.l2cn3022
HTTP_HOST
www.f1-shanghai.com
PATH_INFO
/history/index/prolistdetail/historyid/5.html
REDIRECT_STATUS
200
SERVER_NAME
www.f1-shanghai.com
SERVER_PORT
443
SERVER_ADDR
10.168.0.206
REMOTE_PORT
44034
REMOTE_ADDR
180.101.204.173
SERVER_SOFTWARE
nginx/1.20.2
GATEWAY_INTERFACE
CGI/1.1
HTTPS
on
REQUEST_SCHEME
https
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/www/wwwroot/www.f1-shanghai.com
DOCUMENT_URI
/index.php
REQUEST_URI
/history/index/prolistdetail/historyid/5.html
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=/history/index/prolistdetail/historyid/5.html
SCRIPT_FILENAME
/www/wwwroot/www.f1-shanghai.com/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1711637449.5646
REQUEST_TIME
1711637449
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/www/wwwroot/www.f1-shanghai.com/application/
THINK_VERSION
5.0.7
THINK_START_TIME
1711637449.5651
THINK_START_MEM
382960
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/www.f1-shanghai.com/thinkphp/
LIB_PATH
/www/wwwroot/www.f1-shanghai.com/thinkphp/library/
CORE_PATH
/www/wwwroot/www.f1-shanghai.com/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/www.f1-shanghai.com/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/www.f1-shanghai.com/
EXTEND_PATH
/www/wwwroot/www.f1-shanghai.com/extend/
VENDOR_PATH
/www/wwwroot/www.f1-shanghai.com/vendor/
RUNTIME_PATH
/www/wwwroot/www.f1-shanghai.com/runtime/
LOG_PATH
/www/wwwroot/www.f1-shanghai.com/runtime/log/
CACHE_PATH
/www/wwwroot/www.f1-shanghai.com/runtime/cache/
TEMP_PATH
/www/wwwroot/www.f1-shanghai.com/runtime/temp/
CONF_PATH
/www/wwwroot/www.f1-shanghai.com/application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
VIEW_PATH
./themes/default/