Fix the regex in the example - quark - quark web server
(HTM) git clone git://git.suckless.org/quark
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit b40b11a40e9b8b85c5d95ab674f0df4c35d36f62
(DIR) parent 7b7f166dd58b572989d3980f973d9ed88325ece8
(HTM) Author: Laslo Hunhold <dev@frign.de>
Date: Tue, 27 Feb 2018 13:00:23 +0100
Fix the regex in the example
Thanks Hiltjo!
Diffstat:
M config.def.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) 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 */