From 35f58f50e75f0ae8ee36a1304db82e32cac9857b Mon Sep 17 00:00:00 2001 From: Solderpunk Date: Tue, 30 Jun 2020 20:23:50 +0200 Subject: [PATCH] Correct README to indicate that redirects are not done using regular expressions but literal path matches. --- README.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 2f718eb..77b47a0 100644 --- a/README.md +++ b/README.md @@ -206,11 +206,12 @@ directory listing: ### Redirects -* `TempRedirects`: In this section of the config file, keys are path - regexs and values are strings. If the path component of a received - request matches one of the regexs, Molly Brown will serve a redirect - to a modified URL using the value string as a path, using status - code 30. +* `TempRedirects`: In this section of the config file, keys and values + are both path strings. If the path component of a received request + matches one of the keys, Molly Brown will serve a redirect to the + corresponding value, using status code 30. Note that currently + redirects cannot be specified using regular exressions, only literal + path strings. * `PermRedirects`: As per `TempRedirects` above, but Molly Brown will use the 31 status code instead of 30.