C CGI problima.
Mark Papadakis
markp at pathfinder.gr
Fri Feb 26 16:33:57 EET 1999
An den valeis Content-type tha su petaksei Internal Error ( mporeis na valeis kai Location: gia redirection )
fprintf(fli,"Content-type: text/html\n");
..blah blah
Mark
Bassoukos Tassos wrote:
>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?)
>
>Tassos
>--
>Bassoukos Tassos
>
>The world will end in 5 minutes. Please log out.
>
>--
>====================================================================
>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
>====================================================================
>
--
====================================================================
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