From 919fb012058e375e7a570aea3be8efe102d22e74 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Sun, 12 Aug 2018 19:31:33 +0200 Subject: Refreshing mw setup: o Moving under /wiki. o Fixing broken poweredby-logo for SMW. o Fixing broken /etc/hosts. o Adding Board namespace. --- .../mw-backend/files/etc/apache2/sites-enabled/000-default.conf | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'ansible/roles/mw-backend/files/etc') diff --git a/ansible/roles/mw-backend/files/etc/apache2/sites-enabled/000-default.conf b/ansible/roles/mw-backend/files/etc/apache2/sites-enabled/000-default.conf index 3823cf1..0af172a 100644 --- a/ansible/roles/mw-backend/files/etc/apache2/sites-enabled/000-default.conf +++ b/ansible/roles/mw-backend/files/etc/apache2/sites-enabled/000-default.conf @@ -4,11 +4,15 @@ ServerName mw.trygvis.io ServerAdmin webmaster@trygvis.io - DocumentRoot /var/lib/mediawiki + DocumentRoot /var/www/mw.trygvis.io ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined + Alias /w /var/lib/mediawiki + Alias /wiki /var/lib/mediawiki/index.php + RedirectMatch permanent ^/$ /wiki/Main_Page + Options +FollowSymLinks AllowOverride All -- cgit v1.2.3