#0 [0]HttpException in Url.php line 89

非法请求:news/index

  1. }
  2. // 设置当前请求的参数
  3. $this->param = $var;
  4. // 封装路由
  5. $route = [$controller, $action];
  6. if ($this->hasDefinedRoute($route)) {
  7. throw new HttpException(404, 'invalid request:' . str_replace('|', $depr, $url));
  8. }
  9. return $route;
  10. }
  11. /**
  12. * 检查URL是否已经定义过路由
  13. * @access protected
  14. * @param array $route 路由信息

Call Stack

  1. in Url.php line 89
  2. at Url->parseUrl() in Url.php line 31
  3. at Url->__construct() in Route.php line 857
  4. at Route->url() in Route.php line 815
  5. at Route->check() in Route.php line 775
  6. at Route->dispatch() in Http.php line 216
  7. at Http->dispatchToRoute() in Http.php line 206
  8. at Http->think\{closure}() in Pipeline.php line 59
  9. at Pipeline->think\{closure}() in Multiple.php line 72
  10. at Multiple->think\admin\multiple\{closure}() in Pipeline.php line 59
  11. at Pipeline->think\{closure}() in Pipeline.php line 66
  12. at Pipeline->then() in Multiple.php line 73
  13. at Multiple->handle()
  14. at call_user_func() in Middleware.php line 142
  15. at Middleware->think\{closure}() in Pipeline.php line 85
  16. at Pipeline->think\{closure}() in LoadLangPack.php line 57
  17. at LoadLangPack->handle()
  18. at call_user_func() in Middleware.php line 142
  19. at Middleware->think\{closure}() in Pipeline.php line 85
  20. at Pipeline->think\{closure}() in SessionInit.php line 67
  21. at SessionInit->handle()
  22. at call_user_func() in Middleware.php line 142
  23. at Middleware->think\{closure}() in Pipeline.php line 85
  24. at Pipeline->think\{closure}() in Pipeline.php line 66
  25. at Pipeline->then() in Http.php line 207
  26. at Http->runWithRequest() in Http.php line 170
  27. at Http->run() in SystemService.php line 500
  28. at SystemService::doInit() in index.php line 12

Environment Variables

GET Data
type
per_page 3
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_HOST www.ouenbei.cc
HTTP_8C1B680763E7A8A5225D56DECF25E094 tag
HTTP_X_NWS_LOG_UUID 7711754632186831897
HTTP_TENCENT_ACCELERATION_DOMAIN_NAME www.ouenbei.cc
HTTP_CAB22D9278788981E51FFF32C2BD9363 tag
HTTP_882D6D22B618E586E3D13B8DB5482080 tag
HTTP_X_FORWARDED_PROTO http
HTTP_X_TENCENT_UA Qcloud
HTTP_CONNECTION keep-alive
HTTP_40D0838728239F38191BC54DF293AA2A tag
HTTP_X_FORWARDED_FOR 3.227.252.87
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
PATH_INFO /news/index
REDIRECT_STATUS 200
SERVER_NAME www.ouenbei.cc
SERVER_PORT 80
SERVER_ADDR 172.21.126.143
REMOTE_PORT 54268
REMOTE_ADDR 36.250.243.171
SERVER_SOFTWARE nginx/1.20.2
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /www/wwwroot/ouenbei/public
DOCUMENT_URI /index.php/news/index
REQUEST_URI /index.php/news/index?type=&per_page=3
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING type=&per_page=3
SCRIPT_FILENAME /www/wwwroot/ouenbei/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php/news/index
REQUEST_TIME_FLOAT 1711635703.6295
REQUEST_TIME 1711635703