Tree for my work on http://tools.suckless.org/quark/
Find a file
Hiltjo Posthuma 2822488312 improve CGI support
- set some more environment variables (PATH_INFO for example is used by
  cgit). Also set REMOTE_ADDR, SERVER_PORT, SERVER_SOFTWARE.
- when a file is requested in cgi mode serve it, if it doesn't exist,
  pass it to the CGI script (needed for cgit image/CSS).
2014-08-14 17:57:03 +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 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 improve CGI support 2014-08-14 17:57:03 +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