C CGI problima.
Mihalis Tsoukalos
mike at intrasoft.gr
Fri Feb 26 15:15:36 EET 1999
On Fri, 26 Feb 1999, Bassoukos Tassos wrote:
> Date: Fri, 26 Feb 1999 12:51:30 +0200 (WET)
> From: Bassoukos Tassos <abas at aix.meng.auth.gr>
> Reply-To: linux-greek-users at hellug.gr
> To: Linux Greek Users <linux-greek-users at hellug.gr>
> Subject: Re: C CGI problima.
>
> On Fri, 26 Feb 1999, Mihalis Tsoukalos wrote:
>
> > Geia xara se olous.
> >
> > Exo to parakato kommati kodika mesa se ena C CGI programma.
> > Otan trexo to programma apo command line leitourgei kanonika.
> > Otan to trexo apo ton WEB san CGI tote bgazei Internal Server Error.
> >
> > FILE *fli;
> > fli=fopen("/home/ets/debuf.log", "w+");
> > fprintf(fli, "content length: %s \n \n", p) ;
> > fflush(fli);
> > fclose(fli);
> >
> > kserei kapoios ti ftaiei;
> > Exo RedHat Linux 5.1 me ton antistoixo apache.
> >
> > efxaristo ek ton proteron,
> > mixalis.
> >
> > PS. Kai mia alli erotisi: Sto idio programma den mporo na diabaso tin
> > metabliti QUERY_STRING eno tin CONTENT_LENGTH tin diabazo kala. Kserei
> > kapoios to giati;
>
> kane to
> fprintf(fli, "Content-Length: %s\n\n", p) ;
>
> ... kai profanws ypo8etw oti einai akribws to idio kommati kai gia ton
> webserver (poio to nohma na mas dineis to logging segment e?)
File Tasso,
efxaristo poli gia tin apantisi.
Exo omos tin entiposi oti den me katalabes. Ego ena aplo log arxeio pao na
grapso me debugging info. Den exei simasia ti tou grafo...
Gia afto einai poli periergo to oti den doulebei.
kalo apogebma,
mixalis.
--
====================================================================
Gia boithia (h na diagrafhte) e-mail sto majordomo at hellug.gr
Ta archives tis listas einai sto http://lists.hellug.gr
prin steilete kapoia erothsh psakte mipos exei hdh apanththei.
Gia opoiodipote problima stilte e-mail ston owner-linux-greek-users
====================================================================
More information about the Linux-greek-users
mailing list