Yep, tried that. Wouldn't work. It reported, "We found a rel=EditRSD for your wiki, however the resulting document did not declare the location of a MediaWiki installation's API point in it. Are you sure you gave the url to your MediaWiki installation? If you gave the correct url your install may be customized or broken in a way that prevents us from detecting the location of your wiki's api and coming up with shorturl configuration for you."

On 1/12/2013 20.15, Tom wrote:
Go to

http://shorturls.redwerks.org/ as recommended on

http://www.mediawiki.org/wiki/Manual:Short_URL/Apache

And use it to generate everything you need to do.


Tom

On Jan 12, 2013, at 8:03 PM, Steve VanSlyck <[email protected]> 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 .

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
# 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
$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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to