Tree for my work on http://tools.suckless.org/quark/
000553d8c5
As given in the config, we match a regex of hosts to a canonical host which points to an internal directory. Regexes are compiled on initialization, so we can error out early. The rest is just modifications to use relative directories rather than absolute ones, as we chdir() into the vhost directories dynamically. Given we normalize the targets beforehand, there is no danger of malformed requests escaping the vhost-context. |
||
---|---|---|
arg.h | ||
config.def.h | ||
config.mk | ||
LICENSE | ||
Makefile | ||
quark.1 | ||
quark.c |