# Wave Framework <http://www.waveframework.com>
# URL Rewrite Tester
#
# This script is simply used to test whether mod_rewrite works for compatibility script
#
# @package Index Gateway
# @author Kristo Vaher <kristo@waher.net>
# @copyright Copyright (c) 2012, Kristo Vaher
# @license GNU Lesser General Public License Version 3
# @tutorial /doc/pages/rewrites.htm
# @since 1.0.0
# @version 3.1.4
# This is required on some server setups for RewriteEngine to work properly
# But this can also throw 500 errors on some hosting environments, if it does then remove it
Options +FollowSymLinks
# Adding a GET variable to compatibility.php request
RewriteEngine on
RewriteCond %{QUERY_STRING} !=rewrite_enabled
RewriteRule (compatibility.php)$ ./compatibility.php?rewrite_enabled [L]