Heim  >  Artikel  >  Backend-Entwicklung  >  The specified URL cannot be found.解决方法

The specified URL cannot be found.解决方法

WBOY
WBOYOriginal
2016-06-13 13:32:022551Durchsuche

The specified URL cannot be found.
PHP页面test.php是个上传页面 能够直接打开 但是接受上传就提示The specified URL cannot be found. 代码绝对没有错误!
require_once dirname(__FILE__).'/config.php';
require_once ROOT.'checklogin.php'; //检查登陆状态
if (isset($_FILES['file'])){
  echo 5;exit;
}else{
  require_once ROOT.'templates/upload.htm';
}
.
服务器部署是 服务器a和b 做了负载均衡 同时test.php 做了linux软链接到另外物理机的硬盘上 为什么能直接打开test.php 却不能POST呢?.. 服务器WEBSERVER用的是NGINX 不知道哪里出问题了 纠结 ...

------解决方案--------------------
打开错误显示功能。包含路径是否正确。
------解决方案--------------------
The specified URL cannot be found
是php反馈回信息说这个要执行的php页面没有找到。核对路径,另外可以查看一下php的 log/www.access.log 和nginx的访问日志。

Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn