[0] HttpException in Url.php line 95

非法请求:index/login/index

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

Call Stack

  1. in Url.php line 95
  2. at Url->parseUrl('index|login|index') in Url.php line 23
  3. at Url->init() in App.php line 402
  4. at App->run() in index.php line 27

Environment Variables

GET Data
url index/Index/news?id=399
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_REFERER http://youming.net/index/login/index.html?url=index/Index/news?id=399
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
HTTP_HOST youming.net
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME youming.net
SERVER_PORT 443
SERVER_ADDR 172.26.201.71
REMOTE_PORT 55032
REMOTE_ADDR 44.200.169.91
SERVER_SOFTWARE nginx/1.20.2
GATEWAY_INTERFACE CGI/1.1
HTTPS on
REQUEST_SCHEME https
SERVER_PROTOCOL HTTP/2.0
DOCUMENT_ROOT /www/wwwroot/youming.net/public
DOCUMENT_URI /index.php
REQUEST_URI /index/login/index.html?url=index/Index/news?id=399
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/index/login/index.html&url=index/Index/news?id=399
SCRIPT_FILENAME /www/wwwroot/youming.net/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711644750.7767
REQUEST_TIME 1711644750
Environment Variablesempty
ThinkPHP Constants
DS /
ROOT_PATH /www/wwwroot/youming.net/public/
ROOT /www/wwwroot/youming.net/
VENFOR_PATH /www/wwwroot/youming.net/vendor/