Thread:Project:Support desk/How do I change "index" to "wiki"?/reply (2)

Make sure you can edit LocalSettings.php. Also note that it is the  module that you need.

Apache configuration lines.

Alias /wiki "/var/www/w/mediawiki-1.18.3/index.php" Alias /w "/var/www/w/mediawiki-1.18.3"

LocalSettings.php configuration lines.

$wgScriptPath      = "/w"; # Alias of /var/www/mediawiki-1.17.0 $wgScriptExtension = ".php"; $wgArticlePath     = "/wiki/$1"; # Alias of /var/www/mediawiki-1.17.0/index.php $wgUsePathInfo     = true;
 * 1) The URL base path to the directory containing the wiki;
 * 2) defaults for all runtime URL paths are based off of this.
 * 3) For more information on customizing the URLs please see:
 * 4) http:/ /www.mediawiki.org/wiki/Manual:Short_URL

(Note the old MediaWiki version number.)