Revision 549262 of "Manual talk:Short URL/wiki/Page title" on mediawikiwiki==please create this==
Could somebody please create this. 02:36, 16 September 2007 by {{unsigned|72.68.198.134}}
: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 {{unsigned|203.173.197.182}}
==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 ........<br>
##This lot is in the middle of the file
## "The URL base path to the directory containing the wiki;"<br>
## "defaults for all runtime URL paths are based off of this."<br>
#$wgScriptPath = "/Wiki"; #commented this out higher in the file<br>
$wgScriptExtension = ".php";<br>
## and then at the bottom of the file I added.....<br>
$wgScriptPath = "/w"; # "in default installations this line is already present" - yeah see above - although it said 'wiki' in my installation<br>
$wgScript = "$wgScriptPath/index.php";<br>
$wgArticlePath = "/wiki/$1";<br>
#$wgUsePathInfo = false; - I'd tried a load of other solutions that recommended doing this - it doesn't work in this method.<br>
Then add at the bottom of http.conf ~(found in C:\apache2triad\conf in my settup)<br>
Alias /w/index.php C:/apache2triad/htdocs/Wiki/index.php<br>
Alias /wiki C:/apache2triad/htdocs/Wiki/index.php<br>
Alias /w C:/apache2triad/htdocs/Wiki/<br>
Alias /index.php C:/apache2triad/htdocs/Wiki/index.php<br>
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 <nowiki>http://www.my.domain/wiki/Main_Page</nowiki> ......phew took my days.......--[[User:Mcginnly|Mcginnly]] 10:51, 12 November 2007 (UTC)
==Using Mediawiki >1.19==
I had to add <br>
ScriptAlias /mediawiki/load.php /srv/www/mediawiki/load.php
to get the css working. Still haven't got the images working.All content in the above text box is licensed under the Creative Commons Attribution-ShareAlike license Version 4 and was originally sourced from https://mediawiki.org/w/index.php?oldid=549262.
![]() ![]() This site is not affiliated with or endorsed in any way by the Wikimedia Foundation or any of its affiliates. In fact, we fucking despise them.
|