且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在IE上使用Ajax调用时遇到403错误

更新时间:2023-12-05 16:49:16

将其放入您的HTML标头中:

Put this into your HTML header:

<meta http-equiv="X-UA-Compatible" content="IE=9"></meta>

没有限制,IE< 9兼容模式将在Linux Apache服务器上运行,并且许多功能将无法在IE中正常工作(即使它们与Windows localhost或其他浏览器上的应用程序一起使用也是如此).

Without the line, IE < 9 compatibility mode will be running on Linux Apache server and many functions will not work correctly in IE (even if they work with application on Windows localhost, or in different browser.