[Previo por Fecha] [Siguiente por Fecha] [Previo por Hilo] [Siguiente por Hilo]

[Hilos de Discusión] [Fecha] [Tema] [Autor]

Re: OFF-Topic: CGI



te falta un \n
es decir:

print "Content-type: text/html\n\n";

bye...

*****************************************************
*  Anibal Jesus Avelar Rosales            (=        *
*                                                   *
* E-mail :anibal en charanda super unam mx             *
*                                                   *        
*   Facultad de Ingenieria                          * 
*   Adm Supercomputo DGSCA                          * 
*   UNAM Tel ; 5-622-83-58                          * 
*****************************************************

On Sat, 24 Apr 1999, =?ISO-8859-1?Q?Jos=E9 Miguel Ronquillo Rivera?= wrote:

> 
> Tengo un problema tratando de correr un cgi, no he cambiado la configuración del
> apache. Si trato de correr un cgi escrito en Perl, por más tonto que sea:
> 
> -------------------------------------
> #!/usr/bin/perl
> 
> print "Content-type: text/html\n";
> 
> print "<html>\n";
> print "Hola\n";
> print "</html>\n"
> -------------------------------------
> 
> netscape me regresa en siguiente error:
> 
> ------------------------------
> Internal Server Error
> 
> The server encountered an internal error or misconfiguration and was unable to complete your request.
> 
> Please contact the server administrator, root@localhost and inform them of the time the error occurred, and
> anything you might have done that may have caused the error.
> ------------------------------
> 
> Si corro un cgi, el que viene con apache: cachemgr.cgi, si funciona.
> 
> José.
> 
> Gracias.
> 
> 



[Hilos de Discusión] [Fecha] [Tema] [Autor]