Object not found! The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error. If you think this is a server error, please contact the webmaster. Error 404 kpi.xxxxxxx.com Apache/2.4.2 (Win32) OpenSSL/1.0.1c PHP/5.4.4
OS: WinXP xampp: V3.2.1 Apache:2.4.2 PHP: 5.4.4 CI:3.0
在Liux运行正常的代码,在这个环境里面出现了上面的错误提示,很是郁闷,网上找了很多资料没有解决办法。
于是看错误日志:[Sat Aug 08 21:54:01.265625 2015] [negotiation:error] [pid 6696:tid 284] [client 127.0.0.1:3371] AH00687: Negotiation: discovered file(s) matching request: E:/www/kpi.xxxxx.com/kpi (None could be negotiated)., referer: http://kpi.xxxxx.com/skpi/index/gf
郁闷的是 ..../kpi/.... 运行不正常,改成..../skpi/.... 就能正常运行了。
查阅资料发现mod_negotiation 是设置代理服务器Cache的模块,问题就出现在这里。
解决方式就是注释掉这个模块:LoadModule negotiation_module modules/mod_negotiation.so
重启apache故障解决!!!
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。