[redirects-web] Move gis.gnome.org over to OCP



commit 6bbe9683a6d3f73ab7ac713619edc6332e857a3d
Author: Andrea Veri <averi redhat com>
Date:   Tue Feb 1 18:01:20 2022 +0100

    Move gis.gnome.org over to OCP

 app_data/httpd-cfg/gis.gnome.org.conf | 11 +++++++++++
 1 file changed, 11 insertions(+)
---
diff --git a/app_data/httpd-cfg/gis.gnome.org.conf b/app_data/httpd-cfg/gis.gnome.org.conf
new file mode 100644
index 0000000..6d1f41b
--- /dev/null
+++ b/app_data/httpd-cfg/gis.gnome.org.conf
@@ -0,0 +1,11 @@
+<VirtualHost *:8080>
+   ServerName gis.gnome.org
+
+   RewriteEngine on
+   RewriteCond %{REQUEST_URI} !/services/v1/service.json
+   RewriteRule (.*) https://www.gnome.org [R,L]
+
+   # https://bugzilla.gnome.org/show_bug.cgi?id=765704
+   RewriteCond %{REQUEST_URI} =/services/v1/service.json
+   RewriteRule (.*) https://static.gnome.org/gis.gnome.org/v1/service.json [R,L]
+</VirtualHost>


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