Redirect on URL Match
Deprecated: ord(): Providing a string that is not one byte long is deprecated. Use ord($str[0]) instead in /project/www/devpit.org/mediawiki-1.23.8/includes/cache/MessageCache.php on line 731
Deprecated: ord(): Providing a string that is not one byte long is deprecated. Use ord($str[0]) instead in /project/www/devpit.org/mediawiki-1.23.8/includes/cache/MessageCache.php on line 739
Deprecated: Creation of dynamic property PPDStack::$accum is deprecated in /project/www/devpit.org/mediawiki-1.23.8/includes/parser/Preprocessor_DOM.php on line 754
Deprecated: Constant E_STRICT is deprecated since 8.4, the error level was removed in /project/www/devpit.org/mediawiki-1.23.8/includes/GlobalFunctions.php on line 2409
From Devpit
In order to redirect to a different page or location from within an apache virtual host
So when an URL such as http://devpit.org/ is types it will redirect to http://devpit.org/wiki/
RedirectMatch ^/$ /wiki/
Q: Why is that different from the following? The above looks better, so why do we use the style below for Installing Mediawiki?
RewriteEngine On RewriteRule ^/(.*)$ /mediawiki/index.php/$1 [L,QSA]
Bilbo 15:26, 29 December 2005 (CST)