Tree for my work on http://tools.suckless.org/quark/
e42bb27846
Change the behavior of docroot, which is now used as a prefix path for
all file operations related to static files. And add chrootdir, which is
just the old docroot behavior and allows to control the path into which
quark will chroot.
Not having properly distinct configuration variables for chroot,
document root and CGI root was specially annoying since commit
|
||
---|---|---|
arg.h | ||
config.def.h | ||
config.mk | ||
LICENSE | ||
Makefile | ||
quark.1 | ||
quark.c | ||
README |
quark - simple HTTP server ========================== quark is a small and simple HTTP web server. It serves static pages on a single host and has basic CGI support. 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; make $ sudo make install Running quark ------------ $ cd <web-root> $ sudo quark