commit b40b11a40e9b8b85c5d95ab674f0df4c35d36f62
Author: Laslo Hunhold <[email protected]>
AuthorDate: Tue Feb 27 13:00:23 2018 +0100
Commit: Laslo Hunhold <[email protected]>
CommitDate: Tue Feb 27 13:00:23 2018 +0100
Fix the regex in the example
Thanks Hiltjo!
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 */