Re: misconfiguration problem
Nickolay <[email protected]>
| Newsgroups | gmane.comp.web.fastcgi.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, YsF,
You should print Content-type header before you output anything:
#include <fcgi_stdio.h>
int main ()
{
FCGI_printf("Content-type: text/html\r\n\r\n");
FCGI_printf("Hello World");
return 0;
}
>
I add a main loop and it works in Anjuta but it still don't work on Apache/2.2 , it says :
The server encountered an internal error or misconfiguration and was unable to complete your request.
I think that I have to configure something but I don't know what.
Anyway thanks for your help.
--
YsF
--
Best regards, Nick.
mailto:[email protected]
___________________________________
fastcgi-developers mailing list
http://fastcgi.com/fastcgi-developers/