Tree for my work on http://tools.suckless.org/quark/
f142064a17
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. |
||
---|---|---|
arg.h | ||
config.def.h | ||
config.mk | ||
LICENSE | ||
Makefile | ||
quark.c | ||
README |
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