[moinmoin] Enable RewriteEngine, drop DocumentRoot, un-needed for anything that is not wiki.g.o
- From: Andrea Veri <averi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [moinmoin] Enable RewriteEngine, drop DocumentRoot, un-needed for anything that is not wiki.g.o
- Date: Wed, 20 Apr 2022 09:36:00 +0000 (UTC)
commit 4c210882ea688bc89ffc099c355c5c98b1336323
Author: Andrea Veri <averi redhat com>
Date: Wed Apr 20 11:35:53 2022 +0200
Enable RewriteEngine, drop DocumentRoot, un-needed for anything that is not wiki.g.o
app_data/httpd-cfg/01_www.pango.org.conf | 3 ---
app_data/httpd-cfg/02_es.gnome.org.conf | 4 +---
2 files changed, 1 insertion(+), 6 deletions(-)
---
diff --git a/app_data/httpd-cfg/01_www.pango.org.conf b/app_data/httpd-cfg/01_www.pango.org.conf
index e150904..8dad24e 100644
--- a/app_data/httpd-cfg/01_www.pango.org.conf
+++ b/app_data/httpd-cfg/01_www.pango.org.conf
@@ -1,9 +1,6 @@
<VirtualHost *:8080>
ServerName pango.gnome.org
- DocumentRoot /srv/http/data/pango.gnome.org/root
- DirectoryIndex index.html
-
WSGIDaemonProcess moin_pango user=apache group=apache processes=8 threads=10 maximum-requests=300
umask=0007
WSGIProcessGroup moin_pango
diff --git a/app_data/httpd-cfg/02_es.gnome.org.conf b/app_data/httpd-cfg/02_es.gnome.org.conf
index ed96a9c..abd94a5 100644
--- a/app_data/httpd-cfg/02_es.gnome.org.conf
+++ b/app_data/httpd-cfg/02_es.gnome.org.conf
@@ -2,9 +2,7 @@
ServerName es.gnome.org
ServerAlias www.es.gnome.org
- DocumentRoot /srv/http/data/es.gnome.org/root
- DirectoryIndex index.html
-
+ RewriteEngine On
RewriteRule ^/moin_static1911/(.*)$ https://static.gnome.org/wiki.gnome.org/$1
RewriteRule ^/robots.txt$ https://static.gnome.org/wiki.gnome.org/robots.txt
RewriteRule ^/favicon.ico$ https://static.gnome.org/wiki.gnome.org/favicon.ico
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]