Changes
Jump to navigation
Jump to search
m
Test Web Server Documentation (view source)
Revision as of 15:18, 1 February 2016
, 15:18, 1 February 2016→Short URLs (1/27/16)
You can also check that mod_rewrite has been enabled by creating a phpinfo page and looking for mod_rewrite under the apache "Loaded Modules" section as described in [http://stackoverflow.com/a/10891317 this Stack Overflow answer].
As described on the Mediawiki manual page (and also by [http://shorturls.redwerks.org/ the web utility] that the manual page recommends), add these lines to the end of the VirtualHost block in the Apache configuration file that defines the wiki's DocumentRoot (I added them to /etc/apache2/sites-availabeavailable/000-default.conf): (You may also want to make a backup of the original configuration file in case you want to revert)
## http://www.mediawiki.org/wiki/Manual:Short_URL/Apache