Your $wgScriptPath should be where your script files are which is not the
same as your article path. Typically $wgScriptPath = "/w". Where have you
installed your files relative to the root of your web server?
On 12 January 2013 20:03, Steve VanSlyck <s.vanslyck(a)spamcop.net> wrote:
OK, this is my first attempt to use rewrite rules.
I've done the best I can to follow the instructions at
http://www.mediawiki.org/wiki/**Manual:Short_URL/Apache<http://www.media…he>.
I've created an .htaccess file and put it at root at
http://www.vanslyck.us as follows:
##
http://www.mediawiki.org/wiki/**Manual:Short_URL/Apache<http://www.media…
# Follow symbolic links(dunno if this is needed or not)
Options +FollowSymLinks
# Enable the rewrite engine
RewriteEngine On
# Short url for wiki pages(dunno if [PT,L] is required instead)
RewriteRule ^/?wiki(/.*)?$ %{DOCUMENT_ROOT}/wiki/index.**php [L]
# Redirect / to Main Page(dunno if [PT,L] is required instead)
RewriteRule ^/*$ %{DOCUMENT_ROOT}/w/index.php [L]
then I added the following lines to the end of LocalSettings.php:
# Enable Short URLs
#
http://www.mediawiki.org/wiki/**Manual:Short_URL<http://www.mediawiki.or…
$wgUsePathInfo = true; # added this after getting the redirect loop error.
$wgScriptPath = "/wiki";
$wgArticlePath = "/wiki/$1";
Can anyone see something obviouis that I know how to recognize?
______________________________**_________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.**org <MediaWiki-l(a)lists.wikimedia.org>
https://lists.wikimedia.org/**mailman/listinfo/mediawiki-l<https://lists…
--
Dave Humphrey -- dave(a)uesp.net
Founder/Server Admin of the Unofficial Elder Scrolls Pages --
www.uesp.net