A minimal but flexible directory listing server
Find a file
FRIGN f142064a17 Simplify logging
For a server, a solid logging-facility is very important.
Reading quark's logs isn't very pleasant, given it prints out
more vocabulary than necessary.
This patch fixes this problem by bringing the logs into a
readable and even parsable form:

-timestamp-   -keyword-  [-message-]

Keywords now take the role as carriers of information.
Instead of writing that we're redirecting, we just
print a line with a status 304 and what the requested
location was. The subsequent 200-response shows the
redirected location.
This also makes clearer what happens in the background.

The tab-separation allows easy parsing.
2014-08-09 18:32:48 +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 Simplify logging 2014-08-09 18:32:48 +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