用delphi开发cgi程序时的错误码,如何解决(300分)

  • 主题发起人 浪里白条
  • 开始时间

浪里白条

Unregistered / Unconfirmed
GUEST, unregistred user!
错误提示如下:
CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:

请问如何解决
 
首先你告诉我是怎么出现这种问题的,是否你用Pws/iis发布的有问题你在ie的地址栏中
写对路径没有,而且你是否在你的cgi程序中的×。exe后加上了你自己定义的路径没
比如 Http://10.0.0.4/tex.exe/step1 呢??具体操作说来看看
 
我是用的iis建的虚拟目录,我想iis的配置应没有问题的,因为有别的cgi程序我用过
可以的,我做的是一个数据查询的程序,路径指的肯定是对的,而且我也在datasetproducer1.header里增加了'<html>'
用书上的一个例子程序也有此问题
 


This error can occur in instances where you are sending "multiple"
instances of a header.
Take for example, the following sample.
<html>
<head><title>My title</title></head>
<body><? phpinfo();
?></body>
</html>

 
多人接受答案了。
 

Similar threads

D
回复
0
查看
792
DelphiTeacher的专栏
D
D
回复
0
查看
746
DelphiTeacher的专栏
D
D
回复
0
查看
732
DelphiTeacher的专栏
D
D
回复
0
查看
2K
DelphiTeacher的专栏
D
顶部