[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

cgi + c + virker ikke



Hejsa jeg har et problem med mit første cgi (lavet i c)
Her er programmet som selvfølgelig bliver gcc :-)
----cut---
#include <stdio.h>
#include <stdlib.h>

int main()
{
printf("Content-type: text/plain\n\r");
printf("<html>Hallo Jan</html>");
return 0;
}
---cut---
Her er fejlen fra error.log
---cut---
[Tue Mar 19 09:59:35 2002] [error] [client 212.242.117.175] malformed header
from script. Bad header=
<html>Hallo Jan</html>: /var/www/cgi-bin/jan.cgi
---cut---

Nogle bud ??

--
   ---------------------------
    www.en.person.dk
   ---------------------------




 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 20:09 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *