[0] HttpException in Route.php line 1272

非法请求:index/article/show

  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|article|show', '/', 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('/home/nstrobotic7nis...') in index.php line 10

Environment Variables

GET Data

id
188
POST Data
empty
Files
empty
Cookies
empty
Session
empty

Server/Request Data

REDIRECT_REDIRECT_UNIQUE_ID
X71B4CHoskGmoL5VE3cydwAAAAM
REDIRECT_REDIRECT_PHPRC
/home/nstrobotic7nisatzrcoabwoatdidc/others
REDIRECT_REDIRECT_STATUS
200
REDIRECT_UNIQUE_ID
X71B4CHoskGmoL5VE3cydwAAAAM
REDIRECT_PHPRC
/home/nstrobotic7nisatzrcoabwoatdidc/others
REDIRECT_HANDLER
php-cgi
REDIRECT_STATUS
200
UNIQUE_ID
X71B4CHoskGmoL5VE3cydwAAAAM
PHPRC
/home/nstrobotic7nisatzrcoabwoatdidc/others
HTTP_X_FORWARDED_FOR
154.209.141.132
HTTP_X_REAL_IP
154.209.141.132
HTTP_HOST
www.nstrobotics.com
HTTP_CONNECTION
close
HTTP_USER_AGENT
Mozilla/5.0+(compatible;+Baiduspider/2.0;++http://www.baidu.com/search/spider.html)
HTTP_ACCEPT
*/*
HTTP_ACCEPT_ENCODING
deflate, gzip
PATH
/sbin:/usr/sbin:/bin:/usr/bin
SERVER_SIGNATURE
<address>Apache Server at www.nstrobotics.com Port 80</address>
SERVER_SOFTWARE
Apache
SERVER_NAME
www.nstrobotics.com
SERVER_ADDR
127.0.0.1
SERVER_PORT
80
REMOTE_ADDR
154.209.141.132
DOCUMENT_ROOT
/home/nstrobotic7nisatzrcoabwoatdidc/wwwroot
REQUEST_SCHEME
http
CONTEXT_PREFIX
/php-run-as-cgi
CONTEXT_DOCUMENT_ROOT
/usr/php7.0/bin
SERVER_ADMIN
webmaster@nstrobotic
SCRIPT_FILENAME
/home/nstrobotic7nisatzrcoabwoatdidc/wwwroot/index.php
REMOTE_PORT
36024
REDIRECT_URL
/index.php/index/article/show.html
REDIRECT_QUERY_STRING
id=188
GATEWAY_INTERFACE
CGI/1.1
SERVER_PROTOCOL
HTTP/1.0
REQUEST_METHOD
GET
QUERY_STRING
id=188
REQUEST_URI
/index/article/show.html?id=188
SCRIPT_NAME
/index.php
PATH_INFO
/index/article/show.html
PATH_TRANSLATED
/home/nstrobotic7nisatzrcoabwoatdidc/wwwroot/index/article/show.html
ORIG_PATH_INFO
/index.php/index/article/show.html
ORIG_SCRIPT_NAME
/php-run-as-cgi/php-cgi
ORIG_SCRIPT_FILENAME
/usr/php7.0/bin/php-cgi
ORIG_PATH_TRANSLATED
/home/nstrobotic7nisatzrcoabwoatdidc/wwwroot/index.php/index/article/show.html
PHP_SELF
/index.php/index/article/show.html
REQUEST_TIME_FLOAT
1606238688.7694
REQUEST_TIME
1606238688
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/home/nstrobotic7nisatzrcoabwoatdidc/wwwroot/application/
__FIVEROOT__
THINK_VERSION
5.0.24
THINK_START_TIME
1606238688.7718
THINK_START_MEM
359456
EXT
.php
DS
/
THINK_PATH
/home/nstrobotic7nisatzrcoabwoatdidc/wwwroot/thinkphp/
LIB_PATH
/home/nstrobotic7nisatzrcoabwoatdidc/wwwroot/thinkphp/library/
CORE_PATH
/home/nstrobotic7nisatzrcoabwoatdidc/wwwroot/thinkphp/library/think/
TRAIT_PATH
/home/nstrobotic7nisatzrcoabwoatdidc/wwwroot/thinkphp/library/traits/
ROOT_PATH
/home/nstrobotic7nisatzrcoabwoatdidc/wwwroot/
EXTEND_PATH
/home/nstrobotic7nisatzrcoabwoatdidc/wwwroot/extend/
VENDOR_PATH
/home/nstrobotic7nisatzrcoabwoatdidc/wwwroot/vendor/
RUNTIME_PATH
/home/nstrobotic7nisatzrcoabwoatdidc/wwwroot/runtime/
LOG_PATH
/home/nstrobotic7nisatzrcoabwoatdidc/wwwroot/runtime/log/
CACHE_PATH
/home/nstrobotic7nisatzrcoabwoatdidc/wwwroot/runtime/cache/
TEMP_PATH
/home/nstrobotic7nisatzrcoabwoatdidc/wwwroot/runtime/temp/
CONF_PATH
/home/nstrobotic7nisatzrcoabwoatdidc/wwwroot/application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false