Tree for my work on http://tools.suckless.org/quark/
Find a file
Hiltjo Posthuma fa113f8b47 cgi: parse Status: header
CGI applications can specify a HTTP status to output with the Status:
header. For simplicity the CGI application must use this header on the
first line. With this change cloning git repositories over HTTP with
cgit works.

in config.mk specify _GNU_SOURCE and _POSIX_C_SOURCE instead of
_GNU_SOURCE, this is for getline().
2014-08-20 12:58:10 +02:00
arg.h Add arg.h 2014-07-28 13:33:58 +02:00
config.def.h config: allow to set options as application arguments 2014-08-14 17:43:46 +02:00
config.mk cgi: parse Status: header 2014-08-20 12:58:10 +02:00
LICENSE Add arg-parser and move copyright-info to LICENSE 2014-07-28 13:42:26 +02:00
Makefile Remove "@strip $@" from the Makefile 2014-08-16 22:05:43 +02:00
quark.c cgi: parse Status: header 2014-08-20 12:58:10 +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