Thread:Manual talk:Short URL/Apache/AllowOverride All/reply (3)

Installing MediaWiki with an OS package like you have is generally a really bad idea. You are going to run into bugs and issues that you wouldn't usually run into. Like this one.

But anyways, the issues:
 * doesn't exist since mediawiki is an alias for.
 * Don't put the RewriteRules inside that directory block. That directory block only applies to things in  which is relative to the root won't be applied at all.

There are three things you can do:
 * Reinstall files from source the normal way
 * or, swap  for
 * or, try swapping  for   and changing   for