16 lines
409 B
Django/Jinja
16 lines
409 B
Django/Jinja
<VirtualHost *:80>
|
|
ServerName {{ mw_domain }}
|
|
|
|
ServerAdmin {{ mw_admin_email }}
|
|
DocumentRoot {{ mw_dir }}/public_html
|
|
|
|
RewriteEngine On
|
|
RewriteRule ^/?wiki(/.*)?$ %{DOCUMENT_ROOT}/w/index.php [L]
|
|
RewriteRule ^/?$ %{DOCUMENT_ROOT}/w/index.php [L]
|
|
|
|
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
|