From b40b11a40e9b8b85c5d95ab674f0df4c35d36f62 Mon Sep 17 00:00:00 2001 From: Laslo Hunhold Date: Tue, 27 Feb 2018 13:00:23 +0100 Subject: [PATCH] Fix the regex in the example Thanks Hiltjo! --- config.def.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.def.h b/config.def.h index 8791951..c7e84d8 100644 --- 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 */