Thread View: comp.os.ms-windows.programmer.misc
2 messages
2 total messages
Started by Rafael
Mon, 12 May 1997 00:00
SOS "http headers & CGI scripts"
Author: Rafael
Date: Mon, 12 May 1997 00:00
Date: Mon, 12 May 1997 00:00
113 lines
4594 bytes
4594 bytes
This is a multi-part message in MIME format. ------=_NextPart_000_01BC5F07.353AFF80 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <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: "CGI Error The specified CGI application misbehaved by not returning a complete set = of HTTP headers. The headers it did return are:" Si alguien sabe que es lo que sucede, que por favor se ponga en contanco conmigo en la siguiente direcci=F3n: ads@arrakis.es La direcci=F3n de la p=E1gina es: http://www.car-pi.es/md/prueba1.exe ------=_NextPart_000_01BC5F07.353AFF80 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML 3.2//EN"> <HTML> <HEAD> <META content=3D"text/html; charset=3Diso-8859-1" = http-equiv=3DContent-Type> <META content=3D'"Trident 4.71.0544.0"' name=3DGENERATOR> </HEAD> <BODY> <P><FONT face=3DArial size=3D2><FONT face=3DArial size=3D2><FONT=20 size=3D2><STRONG><ENGLISH></STRONG></FONT></FONT></FONT> <P><FONT face=3DArial size=3D2><FONT face=3DArial size=3D2><FONT=20 size=3D2></FONT></FONT></FONT><FONT face=3DArial size=3D2><FONT = face=3DArial=20 size=3D2><FONT size=3D2>I´m trying to implement a simple cgi = script in=20 "C" and when I try to<BR> execute it I always get the same reply which is the following:<BR> <BR> "CGI Error<BR> The specified CGI application misbehaved by not returning a complete set = of<BR> HTTP headers. The headers it did return are:"<BR> <BR> If anyone can help please get in touch <A=20 href=3D"mailto:ads@arrakis.es">ads@arrakis.es</A><BR> </FONT></FONT></FONT> <P><FONT face=3DArial size=3D2><FONT face=3DArial size=3D2><FONT = size=3D2>The program is=20 at the following URL <A=20 href=3D"http://www.car-pi.es/md/prueba1.exe">http://www.car-pi.es/md/prue= ba1.exe</A><BR> </FONT></FONT></FONT> <P><FONT face=3DArial size=3D2><FONT face=3DArial size=3D2><FONT = size=3D2><BR> <STRONG><ESPAÑOL></STRONG></FONT></FONT></FONT> <P><FONT face=3DArial size=3D2><FONT face=3DArial size=3D2><FONT = size=3D2><STRONG><BR> </STRONG></FONT></FONT></FONT><FONT face=3DArial size=3D2><FONT = face=3DArial=20 size=3D2><FONT size=3D2>Estoy intentando de implementar un programa CGI, = pero=20 siempre que lo<BR> ejecuto me contesta:<BR> <BR> "CGI Error<BR> The specified CGI application misbehaved by not returning a complete set = of<BR> HTTP headers. The headers it did return are:"<BR> <BR> <BR> Si alguien sabe que es lo que sucede, que por favor se ponga en = contanco<BR> conmigo en la siguiente dirección: <A=20 href=3D"mailto:ads@arrakis.es">ads@arrakis.es</A><BR> <BR> La dirección de la página es: <A=20 href=3D"http://www.car-pi.es/md/prueba1.exe">http://www.car-pi.es/md/prue= ba1.exe</A><BR> </FONT></FONT></FONT></P> </BODY></HTML> ------=_NextPart_000_01BC5F07.353AFF80--
Re: SOS "http headers & CGI scripts"
Author: 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> ---------------------------
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads