我正在用litespeed运行magento。
我面临的问题是,正在调用的是哪个头被设置为x-json,而光速是设置另一个文本/ html内容types的头
我已经检查与Apache的页面,一切工作正常。
我用apache和litespeed检查了响应头,他们是:
用apache:
HTTP / 1.1 200 OKdate:2012年9月7日星期五05:58:47 GMT服务器:Apache过期时间:星期四,19十一月1981 08:52:00 GMT Cache-Control:no-store,no-cache,must-revalidate, post-check = 0,pre-check = 0 Pragma:no-cache Set-Cookie:frontend = 164b21c64808a05e806027bdbd4d745d; 到期日=星期五,07-Sep-2012 06:58:48 GMT; path= /; 域= mydomain.com; httponly连接:closures传输编码:分块的Content-Type:application / x-json
litespeed:
HTTP / 1.1 200 OKdate:2012年9月7日星期五06:10:55 GMT服务器:LiteSpeed连接:close过期时间:星期四,1981年11月19日08:52:00 GMT Cache-Control:no-store,no-cache,must -revalidate,post-check = 0,pre-check = 0 Pragma:no-cache Set-Cookie:frontend = 164b21c64808a05e806027bdbd4d745d; expires = Fri,07-Sep-2012 07:10:55 GMT; path= /; 域= mydomain.com; httponly Content-Type:text / html; charset = UTF-8 Content-Length:474 Vary:User-Agent
我也添加了应用程序/ json mime.properties litespeed,重新启动它,但没有奏效。
这是截图 