890
edits
==== Short URLs ====
Short story: place two aliases into the apache2 conf-file(s) that define the mediawiki host and define the $wgArticlePath:<syntaxhighlight>
/etc/apache2/conf-enabled/mediawiki.conf, resp. /etc/apache2/sites-enabled/mediawiki.conf:
Alias /mediawiki /var/lib/mediawiki
Alias /wiki /var/lib/mediawiki/index.php
/etc/mediawiki/Localhost.php:
$wgArticlePath = '/wiki/$1';
</syntaxhighlight>
|