[0] HttpException in Route.php line 1253

非法请求:cms/page/detail/id/13

  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 1253
  2. at Route::parseUrl('cms/page/detail/id/1...', '/', false) in App.php line 557
  3. at App::routeCheck(object(Request), ['app_namespace' => 'app', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 116
  4. at App::run() in start.php line 18
  5. at require('/home/bae/app/thinkp...') in index.php line 24

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER bae
HOME /home/bae
FCGI_ROLE RESPONDER
SCRIPT_FILENAME /home/bae/app/index.php
SCRIPT_NAME /index.php
PATH_INFO /cms/page/detail/id/13.html
SERVER_PORT 80
QUERY_STRING s=/cms/page/detail/id/13.html
REQUEST_METHOD GET
CONTENT_TYPE
CONTENT_LENGTH
REQUEST_URI /cms/page/detail/id/13.html
DOCUMENT_URI /index.php
DOCUMENT_ROOT /home/bae/app
SERVER_PROTOCOL HTTP/1.1
GATEWAY_INTERFACE CGI/1.1
SERVER_SOFTWARE nginx/1.10.1
REMOTE_ADDR 45.199.95.150
REMOTE_PORT
SERVER_ADDR 172.17.0.165
SERVER_NAME www.whryfs.com
REDIRECT_STATUS 200
HTTP_X_FORWARDED_PROTO http
HTTP_X_FORWARDED_FOR 45.199.95.150
HTTP_CLIENTIP 45.199.95.150
HTTP_HOST www.whryfs.com
HTTP_ACCEPT */*
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1537914999.2084
REQUEST_TIME 1537914999
Environment Variablesempty
ThinkPHP Constants
SERVER_SOFTWARE bae/3.0
BAE_ENV_APPID apphko7b34724wg
BAE_ENV_LOG_HOST 172.17.0.1
BAE_ENV_LOG_PORT 7000
BAE_MEMORY 128
APP_PATH /home/bae/app/application/
THEME_PATH /home/bae/app/theme
ELUXIU home
THINK_VERSION 5.0.3
THINK_START_TIME 1537914999.2092
THINK_START_MEM 266936
EXT .php
DS /
THINK_PATH /home/bae/app/thinkphp/
LIB_PATH /home/bae/app/thinkphp/library/
CORE_PATH /home/bae/app/thinkphp/library/think/
TRAIT_PATH /home/bae/app/thinkphp/library/traits/
ROOT_PATH /home/bae/app/
EXTEND_PATH /home/bae/app/extend/
VENDOR_PATH /home/bae/app/vendor/
RUNTIME_PATH /home/bae/app/runtime/
LOG_PATH /home/bae/app/runtime/log/
CACHE_PATH /home/bae/app/runtime/cache/
TEMP_PATH /home/bae/app/runtime/temp/
CONF_PATH /home/bae/app/application/
CONF_EXT .php
ENV_PREFIX PHP_
IS_CLI false
IS_WIN false
IS_CGI 1
_PHP_FILE_ /index.php
__ROOT__