FRITA-infra/roles/mediawiki/templates/mediawiki.conf.j2

16 lines
409 B
Plaintext
Raw Permalink Normal View History

2020-01-31 01:06:53 +00:00
<VirtualHost *:80>
ServerName {{ mw_domain }}
ServerAdmin {{ mw_admin_email }}
DocumentRoot {{ mw_dir }}/public_html
2020-01-31 03:32:40 +00:00
RewriteEngine On
RewriteRule ^/?wiki(/.*)?$ %{DOCUMENT_ROOT}/w/index.php [L]
RewriteRule ^/?$ %{DOCUMENT_ROOT}/w/index.php [L]
2020-01-31 01:06:53 +00:00
ErrorLog {{ mw_dir }}/logs/error.log
CustomLog {{ mw_dir }}/logs/access.log combined
</VirtualHost>
# vim: syntax=apache ts=4 sw=4 sts=4 sr noet