Article View: comp.os.ms-windows.programmer.misc
Article #2950Re: SOS "http headers & CGI scripts"
From: Marcin Laszewski
Date: Sat, 17 May 1997 00:00
Date: Sat, 17 May 1997 00:00
28 lines
2114 bytes
2114 bytes
Rafael (ads@arrakis.es) wrote: : <ENGLISH> : I=B4m trying to implement a simple cgi script in "C" and when I try to : execute it I always get the same reply which is the following: : "CGI Error : The specified CGI application misbehaved by not returning a complete set = : of : HTTP headers. The headers it did return are:" : If anyone can help please get in touch ads@arrakis.es : The program is at the following URL http://www.car-pi.es/md/prueba1.exe : <ESPA=D1OL> : : Estoy intentando de implementar un programa CGI, pero siempre que lo : ejecuto me contesta: (...) Hola. No has olvidado do "Content-type" en la primera linea de tu documento? Si usas servidor de HTTP 1.1 tu TIENES que escribirlo, despues una linea libre y despues el texto del documento. Por ejemplo: --------------------------- Content-type: text/html <h1>Hola</h1> ---------------------------
Technical Details
Message-ID:
<5lkp5n$nkq$1@helios.man.lublin.pl>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<5l7i9q$2to$1@diana.ibernet.es>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 110a07,ceddfa5a20e10db3 X-Google-Attributes: gid110a07,public X-Google-Thread: 1006bf,ceddfa5a20e10db3 X-Google-Attributes: gid1006bf,public X-Google-Thread: 10d088,ceddfa5a20e10db3 X-Google-Attributes: gid10d088,public X-Google-Thread: 105df1,ceddfa5a20e10db3 X-Google-Attributes: gid105df1,public X-Google-Thread: 115ec3,ceddfa5a20e10db3 X-Google-Attributes: gid115ec3,public X-Google-Thread: fe105,ceddfa5a20e10db3 X-Google-Attributes: gidfe105,public X-Google-Thread: 108717,ceddfa5a20e10db3 X-Google-Attributes: gid108717,public From: laser@priam.umcs.lublin.pl (Marcin Laszewski) Subject: Re: SOS "http headers & CGI scripts" Date: 1997/05/17 Message-ID: <5lkp5n$nkq$1@helios.man.lublin.pl> X-Deja-AN: 242109100 References: <5l7i9q$2to$1@diana.ibernet.es> Followup-To: comp.os.ms-windows.programmer.misc,comp.programming,es.comp.os.ms-windows.programacion,fj.os.ms-windows.programming,pl.comp.programming,ucd.cs.programming,viwa.programming Newsgroups: comp.os.ms-windows.programmer.misc,comp.programming,es.comp.os.ms-windows.programacion,fj.os.ms-windows.programming,pl.comp.programming,ucd.cs.programming,viwa.programming