Objectnotfound!TherequestedURLwasnotfoundonthisserver.Thelinkonthereferringpageseemstobewrongoroutdated.Pleaseinformtheauthorofthatpageabouttheerror.Ifyouthinkthisisaservererror,pleasecontactthewebmaster.Error404kpi.xxxxxxx.comApache/2.4.2(Win32)OpenSSL/1.0.1cPHP/5.4.4

OS:WinXPxampp:V3.2.1Apache:2.4.2PHP:5.4.4CI: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故障解决!!!