Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/apache/9.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
jQuery load()仅在同一服务器中出现问题_Jquery_Apache_Configuration_Load - Fatal编程技术网

jQuery load()仅在同一服务器中出现问题

jQuery load()仅在同一服务器中出现问题,jquery,apache,configuration,load,Jquery,Apache,Configuration,Load,所以, 我们有4台服务器 aruba shared: http://www.nogarabingo.it/test2.php aruba dedicato: http://community.my-personaltrainer.it/test2.php godaddy: http://stefanosilvestrini.com/test2.php produzioneintegratori: http://www.produzioneintegratori.it/test2.php 在第一

所以, 我们有4台服务器

aruba shared: http://www.nogarabingo.it/test2.php
aruba dedicato: http://community.my-personaltrainer.it/test2.php
godaddy: http://stefanosilvestrini.com/test2.php
produzioneintegratori: http://www.produzioneintegratori.it/test2.php
在第一、第二和第三台服务器中,所有浏览器都可以正常工作。在第四个服务器中,jQuery加载在IE 6、7、8、9中不起作用,但在FFOX和Chrome中效果良好

您知道是否存在一些问题或特定的服务器配置来修复此问题吗

[解决,修复,感谢所有]:解决方案:

httpd.conf e php.ini

EnableMMAP:控制是否使用内存映射来传递文件,前提是底层操作系统支持它。 默认值为on;如果从NFS安装的文件系统提供服务,请关闭此选项。在某些系统上,不管文件系统如何关闭它都可以提高性能;详情请参阅 启用映射关闭 EnableSendfile:控制sendfile内核支持是否用于交付文件(假设操作系统支持它)。 默认值为on;如果从NFS安装的文件系统提供服务,请关闭此选项。请看 EnableSendfile off查看

由于浏览器的安全性限制,大多数Ajax请求都受到限制 同一原产地政策;请求无法成功检索 来自不同域、子域或协议的数据


我打开了4个URL,看起来都是ok@Claude:在IE 6、7、8或9中?不幸的是,IE7中的问题显示让我困惑不解。由于您将其限制在服务器上,我将在produzioneintegratori.it上使用apache.conf配置,以便它与另一个服务器上的配置匹配/非常相似。使用Firefox中Chrome/Firebug的控制台查看响应标题的不同之处。看起来他是从同一个域向我加载页面。