Thread:Project:Support desk/Creating a wiki in a sub directory of another wiki/reply (2)

You can have more than one wiki per domain name. You should have the following examples checked by someone with more experience.


 * LocalSettings.php and Apache code for http:/ /en.sturmkrieg.com/wiki/$1

$wgScriptPath      = "/w"; # Alias /w "/var/www/w/mediawiki-1.19.1" $wgScriptExtension = ".php"; $wgArticlePath     = "/wiki/$1"; # Alias /wiki "/var/www/w/mediawiki-1.19.1/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


 * LocalSettings.php and Apache code for http:/ /en.sturmkrieg.com/40k/$1

$wgScriptPath      = "/w"; # Alias /40k /var/www/k/mediawiki-1.19.1 $wgScriptExtension = ".php"; $wgArticlePath     = "/40k/$1"; # Alias /k /var/www/k/mediawiki-1.19.1/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

Both examples assume that you will take the opprotunity to do a version upgrade.