Tiny Web server
Dave O'Hallaron
Carnegie Mellon University

This is the home directory for the Tiny Web server, a minimal Web
server that we use in "15-213: Intro to Computer Systems" at Carnegie
Mellon University.  It uses the GET method to serve static content
(text, HTML, GIF, and JPG files) out of ./ and to serve dynamic
content by running CGI programs out of ./cgi-bin.

Tiny is neither secure, complete, nor modular. Tested on
Red Hat Linux 5.2 systems. Use for instructional purposes only.

To install Tiny:
   Type "tar xvf tiny.tar" in a clean directory. 

To run Tiny:
   Run "tiny <port>" on the server machine, 
	e.g., "tiny 8000".
   Point your browser at Tiny: 
	static content: http://<host>:8000
	dynamic content: http://<host>:8000/cgi-bin/adder?1&2

Files:
  tiny.tar		Archive of everything in this directory
  tiny.c		The Tiny server
  makefile		Makefile for tiny.c
  index.html		Test HTML page
  godzilla.gif		Image embedded in index.html
  README		This file	
  cgi-bin/adder.c	CGI program that adds two numbers
  cgi-bin/makefile	Makefile for adder.c

