Commit | Line | Data |
---|---|---|
04a13a6f | 1 | #define USE_LIBRARY_FASTCGI |
2 | #include "cll1.h" | |
3 | ||
4 | program | |
5 | { | |
6 | int count = 0; | |
7 | while_fastcgi_accept | |
8 | { | |
9 | printf("Content-type: text/html\r\n" | |
10 | "\r\n" | |
11 | "<title>FastCGI Hello!</title>" | |
12 | "<h1>FastCGI Hello!</h1>" | |
13 | "Request number %d running on host <i>%s</i>\n", | |
14 | ++count, getenv("SERVER_NAME")); | |
15 | } | |
16 | } |