4 #ifdef HAVE_FASTCGI_FASTCGI_H
5 #include <fastcgi/fcgi_stdio.h>
7 #include <fcgi_stdio.h>
16 while (FCGI_Accept() >= 0) {
17 /* wait for fastcgi authorizer request */
19 printf("Content-type: text/html\r\n");
21 if (((p
= getenv("QUERY_STRING")) == NULL
) ||
22 strcmp(p
, "ok") != 0) {
23 printf("Status: 403 Forbidden\r\n\r\n");
26 /* default Status is 200 - allow access */