[redirects-web] Additional gnome.gr vhosts
- From: Andrea Veri <averi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [redirects-web] Additional gnome.gr vhosts
- Date: Tue, 1 Feb 2022 15:33:15 +0000 (UTC)
commit 302ba5e47a3a16e7d9e5f674252ecab2bc899d90
Author: Andrea Veri <averi redhat com>
Date: Tue Feb 1 16:33:07 2022 +0100
Additional gnome.gr vhosts
app_data/httpd-cfg/gnome.gr.conf | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
---
diff --git a/app_data/httpd-cfg/gnome.gr.conf b/app_data/httpd-cfg/gnome.gr.conf
new file mode 100644
index 0000000..eb41c56
--- /dev/null
+++ b/app_data/httpd-cfg/gnome.gr.conf
@@ -0,0 +1,32 @@
+<VirtualHost *:8080>
+ ServerName lists.gnome.gr
+
+ RewriteEngine on
+ RewriteCond %{HTTPS} on
+ RewriteCond %{REQUEST_URI} !/.well-known/acme-challenge
+ RewriteRule ^/(.*)$ https://www.gnome.gr/$1 [R=302,L]
+
+ <LocationMatch "^/.well-known/acme-challenge">
+ RedirectMatch ^(.*) https://letsencrypt.gnome.org$1
+ </LocationMatch>
+</VirtualHost>
+
+<VirtualHost *:8080>
+ ServerName wiki.gnome.gr
+
+ RewriteEngine On
+ RewriteCond %{QUERY_STRING} ^id=translation:translationtips$
+ RewriteRule ^/doku\.php$ https://wiki.gnome.org/el/Translation/Tips? [L]
+
+ RewriteCond %{QUERY_STRING} ^id=translation:tools$
+ RewriteRule ^/doku\.php$ https://wiki.gnome.org/el/Translation/Tools? [L]
+
+ RewriteCond %{QUERY_STRING} !^id=translation:translationtips$
+ RewriteCond %{QUERY_STRING} !^id=translation:translationtips$
+ RewriteCond %{REQUEST_URI} !/.well-known/acme-challenge
+ RewriteRule ^(.*)$ https://wiki.gnome.org/el
+
+ <LocationMatch "^/.well-known/acme-challenge">
+ RedirectMatch ^(.*) https://letsencrypt.gnome.org$1
+ </LocationMatch>
+</VirtualHost>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]