1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-24 05:17:03 +00:00
This commit is contained in:
Gerasimos (Makis) Maropoulos
2020-08-21 20:48:41 +03:00
parent 95c3c2a951
commit 27686d7c1c
3 changed files with 3 additions and 2 deletions

View File

@@ -11,7 +11,7 @@ RedirectMatch: # REDIRECT_CODE_DIGITS | PATTERN_REGEX | TARGET_REPL
# Redirects http or https://test.* to http or https://newtest.*
- 301 ^(http|https)://test.(.*) $1://newtest.$2
# Handle /*.json or .xml as *?format=json or xml,
# Handles /*.json or .xml as *?format=json or xml,
# without redirect. See /users route.
# When Code is 0 then it does not redirect the request,
# instead it changes the request URL