A minimal but flexible directory listing server
Find a file
FRIGN e9408312e1 Refactor response-constructors
Instead of providing a function for each entry-type, use a small
static lookup-table and one function to rule them all.
In the future, in case the list grows, we might think about
implementing it with a small hash-lookup, but currently,
it's easy enough synchronizing the enum and the array.

While at it, improve the logic in the code itself
by using logical OR's instead of AND's.
2014-08-06 17:47:56 +02:00
arg.h Add arg.h 2014-07-28 13:33:58 +02:00
config.def.h applied rransom's quark patch for FreeBSD compliance, thanks 2011-06-26 10:51:42 +01:00
config.mk initial commit 2009-08-15 19:56:11 +01:00
LICENSE Add arg-parser and move copyright-info to LICENSE 2014-07-28 13:42:26 +02:00
Makefile removed non-existent man page install 2010-04-10 21:34:05 +01:00
quark.c Refactor response-constructors 2014-08-06 17:47:56 +02:00
README correct information in README 2014-04-12 12:26:14 +01:00

quark - simple http get server
==============================
quark is an extremly small and simple http get-only web server. It only serves
static pages on a single host.


Installation
------------
Edit config.mk to match your local setup. quark is installed into
/usr/local/bin by default.

Afterwards enter the following command to build and install quark
(if necessary as root):

    $ make clean install


Running quark 
------------
    $ cd <web-root>
    $ sudo quark