User:Gryllida/TLDR of Manual:Short URL

On DEBIAN

RewriteEngine On RewriteRule ^/?wiki(/.*)?$ %{DOCUMENT_ROOT}/w/index.php [L]
 * 1) Make sure the wiki is in /var/www/html/w
 * 2) add AllowOverride All to /etc/apache2/apache2.conf
 * 3) add this to  /etc/apache2/sites-available/000-default.conf
 * 1) Short URL for wiki pages


 * 1) RewriteRule ^/?wiki(/.*)?$ %{DOCUMENT_ROOT}:2018/wiki/index.php [L]
 * 1) restart apache
 * 2) add $wgArticlePath = "/wiki/$1"; to LocalSettings.php