From 14b1310734bc5c37ade52d5d5eb63a8a75bd8d6e Mon Sep 17 00:00:00 2001 From: "max.mehl" Date: Mon, 11 Jun 2018 10:01:43 +0200 Subject: [PATCH] move redirect to correct virtualhost --- 000-default.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/000-default.conf b/000-default.conf index 7911966..5935f58 100644 --- a/000-default.conf +++ b/000-default.conf @@ -1,11 +1,12 @@ ServerName www.publiccode.eu Redirect permanent / https://publiccode.eu/ - RedirectMatch permanent ^/zh_tw/?(.*)$ https://publiccode.eu/zh-tw/$1 ServerName publiccode.eu + + RedirectMatch permanent "^/zh_tw/?(.*)$" "/zh-tw/$1" ServerAdmin contact@fsfe.org DocumentRoot /usr/share/blog/public/