quark

quark web server
git clone git://git.suckless.org/quark
Log | Files | Refs | LICENSE

commit b40b11a40e9b8b85c5d95ab674f0df4c35d36f62
parent 7b7f166dd58b572989d3980f973d9ed88325ece8
Author: Laslo Hunhold <dev@frign.de>
Date:   Tue, 27 Feb 2018 13:00:23 +0100

Fix the regex in the example

Thanks Hiltjo!

Diffstat:
Mconfig.def.h | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/config.def.h b/config.def.h @@ -22,7 +22,7 @@ static struct { } vhost[] = { /* canonical host host regex directory prefix */ { "example.org", "^(www\\.)?example\\.org$", "/example.org", NULL }, - { "example.org", "old\\.example\\.org", "/", "/old" }, + { "example.org", "^old\\.example\\.org$", "/", "/old" }, }; /* target prefix mapping */