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故障解决!!!
另外有需要云服务器可以了解下创新互联scvps.cn,海内外云服务器15元起步,三天无理由+7*72小时售后在线,公司持有idc许可证,提供“云服务器、裸金属服务器、高防服务器、香港服务器、美国服务器、虚拟主机、免备案服务器”等云主机租用服务以及企业上云的综合解决方案,具有“安全稳定、简单易用、服务可用性高、性价比高”等特点与优势,专为企业上云打造定制,能够满足用户丰富、多元化的应用场景需求。