Heim >Backend-Entwicklung >PHP-Tutorial >PHP在IIS7中部署后,外网IE打开的时候会出现404,其浏览器一切正常

PHP在IIS7中部署后,外网IE打开的时候会出现404,其浏览器一切正常

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-23 13:33:141076Durchsuche

http://gfwh.xyhis.cn/
PHP在IIS7中部署后,外网IE打开的时候会出现404,其浏览器一切正常
不知道啥情况啊.


回复讨论(解决方案)

IE 浏览时,实现出现了正常的页面(间隔时间太小,看不完整。估计是)然后才是 404。这个过程是很明显的
观察了页面代码,没有找到导致页面再次加载的地方,而通过 file_get_contents 抓回的页面是可以显示的(当然css和js文件是没有的)
所以问题应出现在你使用的 js 文件中

http://gfwh.xyhis.cn/
PHP在IIS7中部署后,外网IE打开的时候会出现404,其浏览器一切正常
不知道啥情况啊.


那有什么办法可以测出具体是那个位置吗.  我把IE的脚本给禁用了,js引用也删掉了发现还是有这种问题.所以我想不是js的问题
我想到的是服务器做了重定向.但是url没有变化.


你把这个错误先解决了

echo file_get_contents('http://gfwh.xyhis.cn/css/hover.htc');

Warning: file_get_contents(http://gfwh.xyhis.cn/css/hover.htc): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found 

对于这个问题,我换了一台服务器部署就没有问题了。

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