[0] HttpException in Route.php line 1263

非法请求:mzpc/index/index

  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 1263
  2. at Route::parseUrl('mzpc/index/index', '/', false) in App.php line 646
  3. at App::routeCheck(object(Request), ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 116
  4. at App::run() in start.php line 19
  5. at require('/var/www/html/thinkp...') in index.php line 22

Environment Variables

GET Data

keywords
单品牌店
POST Data
empty
Files
empty
Cookies
empty
Session
empty

Server/Request Data

USER
www
HOME
/home/www
FCGI_ROLE
RESPONDER
SCRIPT_FILENAME
/var/www/html/public/index.php
QUERY_STRING
s=/mzpc/index/index.html&keywords=%E5%8D%95%E5%93%81%E7%89%8C%E5%BA%97
REQUEST_METHOD
GET
CONTENT_TYPE
CONTENT_LENGTH
SCRIPT_NAME
/index.php
REQUEST_URI
/mzpc/index/index.html?keywords=%E5%8D%95%E5%93%81%E7%89%8C%E5%BA%97
DOCUMENT_URI
/index.php
DOCUMENT_ROOT
/var/www/html/public
SERVER_PROTOCOL
HTTP/2.0
REQUEST_SCHEME
https
HTTPS
on
GATEWAY_INTERFACE
CGI/1.1
SERVER_SOFTWARE
nginx/1.18.0
REMOTE_ADDR
54.173.214.79
REMOTE_PORT
55178
SERVER_ADDR
172.18.32.122
SERVER_PORT
443
SERVER_NAME
www.chinabeauty.cn
REDIRECT_STATUS
200
PATH_INFO
/mzpc/index/index.html
HTTP_HOST
www.chinabeauty.cn
HTTP_ACCEPT
*/*
HTTP_USER_AGENT
claudebot
HTTP_REFERER
http://www.chinabeauty.cn/mzpc/index/index.html?keywords=%E5%8D%95%E5%93%81%E7%89%8C%E5%BA%97
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1711664791.6755
REQUEST_TIME
1711664791
Environment Variables
empty

ThinkPHP Constants

APP_DEBUG
true
APP_PATH
/var/www/html/public/../app/
THINK_VERSION
5.0.14
THINK_START_TIME
1711664791.676
THINK_START_MEM
263616
EXT
.php
DS
/
THINK_PATH
/var/www/html/thinkphp/
LIB_PATH
/var/www/html/thinkphp/library/
CORE_PATH
/var/www/html/thinkphp/library/think/
TRAIT_PATH
/var/www/html/thinkphp/library/traits/
ROOT_PATH
/var/www/html/
EXTEND_PATH
/var/www/html/extend/
VENDOR_PATH
/var/www/html/vendor/
RUNTIME_PATH
/var/www/html/runtime/
LOG_PATH
/var/www/html/runtime/log/
CACHE_PATH
/var/www/html/runtime/cache/
TEMP_PATH
/var/www/html/runtime/temp/
CONF_PATH
/var/www/html/public/../app/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false