Manual:Short URL/wiki/Page title -- Lighttpd rewrite--root access

Lighttpd rewrite
Example configuration: Then there are two things needed to change in two files:
 * wiki is installed in /w/ direcotry in http root dir.
 * you want to avoid index.php
 * you want to access articles as /wiki/Article
 * lighttpd.conf
 * enable mod_rewrite in server modules
 * add below code as rewriting (first line should use +=, not =, if you have other rewrite-once rules, or append these to the ones you have):

url.rewrite-once = (    # What does this line do?  It seems to prevent any page with a dot in its     # name from being rewritten, unless it's preceded by a colon.     # "(^/wiki/[^:]*[\./].*)" => "$1",     "^/wiki/([^?]*)(?:\?(.*))?" => "/w/index.php?title=$1&$2",     "^/wiki" => "/w/index.php", ) After restarting lighttpd it should work. The code is not fully rewriting the code cause pages lik Linking to this page or Printable version etc are linked to /w/index.php?... anyway. So this code requires tweaking by more experienced users.
 * now edit /w/LocalSettings.php