From 8b2630a82fbecfd57fa38aebb397a755936690e5 Mon Sep 17 00:00:00 2001 From: stbuehler Date: Fri, 18 Sep 2015 15:15:18 +0000 Subject: add README to point to lighttpd-1.4.x as stable git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@3041 152afb58-edef-0310-8abb-c4023f1b3aa9 --- tests/fcgi-auth.c | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 tests/fcgi-auth.c (limited to 'tests/fcgi-auth.c') diff --git a/tests/fcgi-auth.c b/tests/fcgi-auth.c deleted file mode 100644 index 92cd3731..00000000 --- a/tests/fcgi-auth.c +++ /dev/null @@ -1,31 +0,0 @@ -#include "config.h" -#ifdef HAVE_FASTCGI_FASTCGI_H -#include -#else -#include -#endif -#include -#include -#include - -int main () { - char* p; - - while (FCGI_Accept() >= 0) { - /* wait for fastcgi authorizer request */ - - printf("Content-type: text/html\r\n"); - - if (((p = getenv("QUERY_STRING")) == NULL) || - strcmp(p, "ok") != 0) { - printf("Status: 403 Forbidden\r\n\r\n"); - } else { - printf("\r\n"); - /* default Status is 200 - allow access */ - } - - printf("foobar\r\n"); - } - - return 0; -} -- cgit v1.2.1