502 Bad Gateway The CGI was not CGI/1.1 compliant
来源:互联网 发布:西门子300编程手册 编辑:程序博客网 时间:2024/06/05 08:51
用cgi程序进行交互时,浏览器端出现了如下的错误信息:
502 Bad Gateway
The CGI was not CGI/1.1 compliant
在终端上还会显示这样的提示信息:
cgi_header:unable to find LFIF
这样的错误一般是格式的问题,我写的头是
printf("Content-type: text/html");
正确的应该是:
printf("Content- type: text/html\n\n");
也就是后面有两个空行,这也是默认的格式,必须这样写才行,一定要注意哦。
- 502 Bad Gateway The CGI was not CGI/1.1 compliant
- 嵌入式boa服务器:502 Bad Gateway The CGI was not CGI/1.1 compliant.
- Boa应用中报错:502 Bad Gateway The CGI was not CGI/1.1 compliant.
- Boa服务器返回 502 Bad Gateway .The CGI was not CGI/1.1 compliant. 错误,解决方案
- The CGI was not CGI/1.1 compliant. 解决之道
- php-cgi导致的502 Bad Gateway错误
- The requested URL /nagios/cgi-bin/statusmap.cgi was not found on this server
- The requested URL /nagios/cgi-bin/statusmap.cgi was not found on this server
- CGI 问题:502 bad gateway以及生成文件过大的处理
- 解决php-cgi假死导致页面出现502 Bad gateway问题
- Common Gateway Interface(CGI)
- CGI(Common Gateway Interface)
- CGI(Common Gateway Interface)
- CGI : Common Gateway Interface
- CGI
- CGI
- CGI
- cgi
- Javascript操作excel知识点
- jQuery插件开发全解析
- error LNK2019:unresolved external symbol *** referenced in function ***的解决方案
- Xenu Link Sleuth死链接检测工具(SEO工具)
- 快捷键技巧
- 502 Bad Gateway The CGI was not CGI/1.1 compliant
- java零碎
- 【计算机网络】基础知识--套接字socket的组成及作用
- C++ Primer学习笔记——$19 多重继承与虚继承 (
- Yii使用中小知识点积累
- iPhone应用程序的启动过程
- ASP.NET MVC3 Custom ErrorPages 500/404
- jsp中如何获取客户端的浏览器和操作系统信息
- 会员策略