From f5c051aad5a2d07b8acf87f427bbbfaac8187b15 Mon Sep 17 00:00:00 2001 From: Emil Mikulic Date: Thu, 14 Dec 2006 10:13:55 +0000 Subject: [PATCH] [ darkhttpd-1.5 release ] (we skipped 1.4 due to a release engineering oversight) Update README to reflect Makefile changes. --- trunk/README | 19 +++++++++++-------- trunk/darkhttpd.c | 2 +- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/trunk/README b/trunk/README index 8367d29..4dac29b 100644 --- a/trunk/README +++ b/trunk/README @@ -1,16 +1,16 @@ -darkhttpd -========= +darkhttpd Operational Manual +============================ -Compiling ---------- +How to build darkhttpd +---------------------- -Run make and follow the intructions given: +Simply run make: $ make -Running -------- +How to run darkhttpd, with examples +----------------------------------- Serve /var/www/htdocs on the default port (port 80): $ ./darkhttpd /var/www/htdocs @@ -35,7 +35,6 @@ Use default.htm instead of index.html: Add mimetypes - in this case, serve .dat files as text/plain: $ cat extramime - # this is a comment text/plain dat $ ./darkhttpd /var/www/htdocs --mimetypes extramime @@ -51,3 +50,7 @@ Run in the background and create a pidfile: Commandline options can be combined: $ ./darkhttpd ~/public_html --port 8080 --addr 127.0.0.1 + +To see a full list of commandline options, +run darkhttpd without any arguments: + $ ./darkhttpd diff --git a/trunk/darkhttpd.c b/trunk/darkhttpd.c index ffac5d6..7ff9315 100644 --- a/trunk/darkhttpd.c +++ b/trunk/darkhttpd.c @@ -17,7 +17,7 @@ */ static const char - pkgname[] = "darkhttpd/1.3", + pkgname[] = "darkhttpd/1.5", copyright[] = "copyright (c) 2003, 2004, 2006 Emil Mikulic", rcsid[] = "$Id$";