[0] HttpException in Route.php line 1272

非法请求:index/services/detail/

  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 1272
  2. at Route::parseUrl('index|services|detai...', '/', false) in App.php line 659
  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('/data0/web/www.qyt.c...') in index.php line 19

Environment Variables

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

Server/Request Data

USER
www
HOME
/home/www
HTTP_ACCEPT_ENCODING
deflate, gzip
HTTP_ACCEPT
*/*
HTTP_HOST
www.qyt.com
HTTP_USER_AGENT
Mozilla/5.0+(compatible;+Baiduspider/2.0;++http://www.baidu.com/search/spider.html)
PATH_INFO
/services/detail/
SCRIPT_FILENAME
/data0/web/www.qyt.com/public/index.php
REDIRECT_STATUS
200
SERVER_NAME
www.qyt.com
SERVER_PORT
443
SERVER_ADDR
172.16.19.143
REMOTE_PORT
20001
REMOTE_ADDR
154.213.180.13
SERVER_SOFTWARE
nginx/1.10.2
GATEWAY_INTERFACE
CGI/1.1
HTTPS
on
REQUEST_SCHEME
https
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/data0/web/www.qyt.com/public
DOCUMENT_URI
/index.php/services/detail/
REQUEST_URI
/services/detail/
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php/services/detail/
REQUEST_TIME_FLOAT
1576193816.3204
REQUEST_TIME
1576193816
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/data0/web/www.qyt.com/public/../apps/
BIND_MODULE
index
THINK_VERSION
5.0.24
THINK_START_TIME
1576193816.3208
THINK_START_MEM
403728
EXT
.php
DS
/
THINK_PATH
/data0/web/www.qyt.com/thinkphp/
LIB_PATH
/data0/web/www.qyt.com/thinkphp/library/
CORE_PATH
/data0/web/www.qyt.com/thinkphp/library/think/
TRAIT_PATH
/data0/web/www.qyt.com/thinkphp/library/traits/
ROOT_PATH
/data0/web/www.qyt.com/
EXTEND_PATH
/data0/web/www.qyt.com/extend/
VENDOR_PATH
/data0/web/www.qyt.com/vendor/
RUNTIME_PATH
/data0/web/www.qyt.com/runtime/
LOG_PATH
/data0/web/www.qyt.com/runtime/log/
CACHE_PATH
/data0/web/www.qyt.com/runtime/cache/
TEMP_PATH
/data0/web/www.qyt.com/runtime/temp/
CONF_PATH
/data0/web/www.qyt.com/public/../apps/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
RUNTIME_ENV
online
SUB_DOMAIN
www