------------------------------
Version 2.0b2, 04 April 1997
- $Id: README,v 1.6 1999/07/26 04:45:52 roberts Exp $
+ $Id: README,v 1.7 1999/07/26 05:06:09 roberts Exp $
Copyright (c) 1996 Open Market, Inc.
See the file "LICENSE.TERMS" for information on usage and redistribution
of this file, and for a DISCLAIMER OF ALL WARRANTIES.
Changes with devkit 2.1.1
-------------------------
+ *) Removed examples/tiny-cgi.c (it wasn't a FastCGI application?!).
+
*) Remove some debugging code and clean up some gcc warnings in cgi-fcgi.c.
*) Add multithread support to the fcgiapp lib and an example multithreaded
#
# Open Market, Inc.
#
-# $Id: Makefile.in,v 1.2 1999/07/26 04:28:08 roberts Exp $
+# $Id: Makefile.in,v 1.3 1999/07/26 05:06:10 roberts Exp $
#
SHELL = @SHELL@
$(INCLUDEDIR)/fcgi_stdio.h
LIBDIR = ../libfcgi
LIBFCGI = $(LIBDIR)/libfcgi.${L}
-TARGETS = tiny-cgi.cgi tiny-fcgi tiny-fcgi2 tiny-authorizer \
+TARGETS = tiny-fcgi tiny-fcgi2 tiny-authorizer \
echo echo2 sample-store sockets echo.fcg perl tclsh \
SampleStore.state.0 SampleStore.state.1 log-dump threaded.fcg
threaded.fcg: threaded.c $(INCLUDES)
$(CC) $(CFLAGS) -D_REENTRANT threaded.c -o threaded.fcg $(LIBFCGI) -lpthread
-tiny-cgi.cgi: tiny-cgi.${O}
- $(CC) $(CFLAGS) tiny-cgi.${O} -o tiny-cgi.cgi
-
tiny-fcgi: tiny-fcgi.${O} $(LIBFCGI)
$(CC) $(CFLAGS) tiny-fcgi.${O} -o tiny-fcgi $(LIBFCGI) $(LIBS)
# ----------------------------------------------------------------------------
-tiny-cgi.${O}: tiny-cgi.c $(INCLUDES)
-
tiny-fcgi.${O}: tiny-fcgi.c $(INCLUDES)
tiny-fcgi2.${O}: tiny-fcgi2.c $(INCLUDES)
+++ /dev/null
-/*
- * tiny-cgi.c --
- *
- * CGI example program
- *
- *
- * Copyright (c) 1996 Open Market, Inc.
- *
- * See the file "LICENSE.TERMS" for information on usage and redistribution
- * of this file, and for a DISCLAIMER OF ALL WARRANTIES.
- *
- */
-
-#ifndef lint
-static const char rcsid[] = "$Id: tiny-cgi.c,v 1.1 1997/09/16 15:36:28 stanleyg Exp $";
-#endif /* not lint */
-
-#include <stdio.h>
-#include <stdlib.h>
-
-void main(void)
-{
- int count = 0;
- printf("Content-type: text/html\r\n"
- "\r\n"
- "<title>CGI Hello!</title>"
- "<h1>CGI Hello!</h1>"
- "Request number %d running on host <i>%s</i>\n",
- ++count, getenv("SERVER_NAME"));
-}