varnish esi出现no esi processing, first char not ‘<’的错误处理方式
2013-11-04 14:31
239 查看
大致意思是varnish的ESI使用mod_deflate来处理可以接受含有请求头Accept-Encoding的请求,这样转发到后端服务器后,后端服务器返回的响应内容就不是一个格式良好的XML或html内容,即第一个字符不是'<',因此会报错,处理这种问题的方式是去掉Accept-Encoding和Vary的请求头,这样强制后端服务器不压缩内容而直接返回。同时在启动varnishd的时候要加入参数 -p esi_syntax=0x1
相关文章推荐
- ubuntu下安装eclipse出现Could not load SWT library错误处理方式
- Ubuntu16.04中出现错误, Epson Driver Install "Failed to satisfy all dependencies"的处理方式.
- 安装QTE的过程中出现 no such file qconfig-qvfb.h 的错误处理
- python处理字符串时出现的错误'ascii' codec can't decode byte 0xe9 in position 0: ordinal not in range(128)" 解决方法
- XMPP 连续注册出现用户限制:500错误 处理方式
- 出现could not find java 2 Runtime Environment错误的处理
- 数据启动出现错误1063 正确处理方式
- fcntl 遇到 No locks available 错误的处理方式
- 【随笔记录】python 处理中文时出现的错误'ascii' codec can't decode byte 0xe9 in position 0: ordinal not in range(128)" 解决方法
- hibernate3中出现 could not initialize proxy - no Session 错误的解决办法以及lazy load的介绍
- hibernate3中出现 could not initialize proxy - no Session 错误的解决办法以及lazy load的介绍
- 支付宝出现“错误代码 HAS_NO_PRIVILEGE”的错误解决方式
- git 出现The current branch is not configured for pull No value for key branch.master.merge found in configuration错误的解决办法
- asp.net发布到IIS中出现错误:处理程序“PageHandlerFactory-Integrated”在其模块列表中有一个错误模块“ManagedPipelineHandler” <转>
- hibernate3中出现 could not initialize proxy - no Session 错误的解决办法以及lazy load的介绍
- windows 安装mysql出现 could not start the service mysql error:0 错误处理
- eclipse出现诡异错误时候的处理方式
- 在struts2中整合ajax时出现Template /template/ajax/head.ftl not found错误时的处理方法
- hibernate3中出现 could not initialize proxy - no Session 错误的解决办法以及lazy load的介绍
- MySQL 编译出现 error: 'SSL_OP_NO_COMPRESSION' undeclared (first use in this function) 错误