preliminary work on version 0.7.1 - WARNING, HIGHLY UNSTABLE !
[svn/Cll1h/.git] / fastcgi / fastcgi.c
diff --git a/fastcgi/fastcgi.c b/fastcgi/fastcgi.c
new file mode 100644 (file)
index 0000000..2d141d8
--- /dev/null
@@ -0,0 +1,16 @@
+#define USE_LIBRARY_FASTCGI
+#include "cll1.h"
+        
+program
+{
+ int count = 0;
+ while_fastcgi_accept
+ {
+  printf("Content-type: text/html\r\n"
+         "\r\n"
+         "<title>FastCGI Hello!</title>"
+         "<h1>FastCGI Hello!</h1>"
+         "Request number %d running on host <i>%s</i>\n",
+          ++count, getenv("SERVER_NAME"));
+ }
+}
This page took 0.206545 seconds and 4 git commands to generate.