Manual talk:Short URL/wiki/Page title

please create this
Could somebody please create this. 02:36, 16 September 2007 by


 * umm, I did this and it worked, but it stuffed up the links to the pictures I had. I am playing around with the aliases to get them back but I am not an apache guru. when I get a solution I will post, but maybe someone knows how to redo the links straight away.
 * fixed : add to httpd.conf Alias /w/images /path/to/your/Mediawiki/images

Using Mediawiki 1.11.0
Works just as it says in the instructions - for clarity, I've got apache2triad installed in C:\apache2triad. So I've added to Localsettings.php found in C:\apache2triad\htdocs\Wiki ........ $wgScriptExtension  = ".php"; $wgScriptPath = "/w"; # "in default installations this line is already present" - yeah see above - although it said 'wiki' in my installation $wgScript = "$wgScriptPath/index.php"; $wgArticlePath = "/wiki/$1";
 * 1) This lot is in the middle of the file
 * 2) "The URL base path to the directory containing the wiki;"
 * 3) "defaults for all runtime URL paths are based off of this."
 * 4) $wgScriptPath      = "/Wiki"; #commented this out higher in the file
 * 1) and then at the bottom of the file I added.....
 * 1) $wgUsePathInfo = false; - I'd tried a load of other solutions that recommended doing this - it doesn't work in this method.

Then add at the bottom of http.conf ~(found in C:\apache2triad\conf in my settup)

Alias /w/index.php /apache2triad/htdocs/Wiki/index.php Alias /wiki /apache2triad/htdocs/Wiki/index.php Alias /index.php /apache2triad/htdocs/Wiki/index.php Alias /w/skins/ /apache2triad/htdocs/Wiki/skins/ Alias /w/images/ /apache2triad/htdocs/Wiki/images/

Remember to delete any .htaccess files you might have created in your htdocs/wiki directory as a result of trying other solutions. Restart your apache.....AND IT WORKS!!!!!! hooray.. URL for mainpage now reads http://www.my.domain/wiki/Main_Page ......phew took my days.......--Mcginnly 10:51, 12 November 2007 (UTC)