[redirects-web] Use a plain Redirect instead



commit 902abd5496ed2538a5543ddae2d7dafc41bc5e53
Author: Andrea Veri <averi redhat com>
Date:   Thu Aug 22 13:18:56 2019 +0200

    Use a plain Redirect instead

 app_data/httpd-cfg/gnome.io.conf | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/app_data/httpd-cfg/gnome.io.conf b/app_data/httpd-cfg/gnome.io.conf
index 2801380..cf5569c 100644
--- a/app_data/httpd-cfg/gnome.io.conf
+++ b/app_data/httpd-cfg/gnome.io.conf
@@ -2,7 +2,5 @@
     ServerName gnome.io
     ServerAlias www.gnome.io
 
-    RewriteEngine On
-    RewriteCond %{SERVER_PORT} =8080
-    RewriteRule ^(.*)$ https://www.gnome.org$1 [R=301]
+    RedirectPermanent / https://www.gnome.org
 </VirtualHost>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]