Tree for my work on http://tools.suckless.org/quark/
Find a file
Laslo Hunhold 000553d8c5 Add vhost support
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.
2017-07-11 12:55:39 +02:00
arg.h Initial commit of quark rewrite 2016-09-02 09:59:02 +02:00
config.def.h Add vhost support 2017-07-11 12:55:39 +02:00
config.mk config.mk: fix warning about strptime on glibc 2017-06-28 20:20:10 +02:00
LICENSE add myself to the license (contributor) 2017-06-27 23:31:08 +02:00
Makefile Rewrite quark from the ground up again 2017-06-20 21:40:00 +02:00
quark.1 make directory listing a run-time flag 2017-06-27 23:31:08 +02:00
quark.c Add vhost support 2017-07-11 12:55:39 +02:00