diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2018-08-12 19:31:33 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2018-08-12 19:34:05 +0200 |
commit | 919fb012058e375e7a570aea3be8efe102d22e74 (patch) | |
tree | 6a940aa2df809e1479d144375de45ee27301e5a9 /ansible/roles/mw-backend/files/etc/apache2/sites-enabled/000-default.conf | |
parent | fe67b23917a17ec111788db6520ea3b6ca7a5422 (diff) | |
download | infra-919fb012058e375e7a570aea3be8efe102d22e74.tar.gz infra-919fb012058e375e7a570aea3be8efe102d22e74.tar.bz2 infra-919fb012058e375e7a570aea3be8efe102d22e74.tar.xz infra-919fb012058e375e7a570aea3be8efe102d22e74.zip |
Refreshing mw setup:
o Moving under /wiki.
o Fixing broken poweredby-logo for SMW.
o Fixing broken /etc/hosts.
o Adding Board namespace.
Diffstat (limited to 'ansible/roles/mw-backend/files/etc/apache2/sites-enabled/000-default.conf')
-rw-r--r-- | ansible/roles/mw-backend/files/etc/apache2/sites-enabled/000-default.conf | 6 |
1 files changed, 5 insertions, 1 deletions
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 + <Directory /var/lib/mediawiki/> Options +FollowSymLinks AllowOverride All |