PHP Classes

File: tools/.htaccess

Recommend this page to a friend!
  Classes of Kristo Vaher  >  Wave Framework  >  tools/.htaccess  >  Download  
File: tools/.htaccess
Role: Auxiliary data
Content type: text/plain
Description: Apache Directives for Tools
Class: Wave Framework
MVC framework for building Web sites and APIs
Author: By
Last change: Removed author information from project-specific files, updated other documentation inconsistencies.
Date: 10 years ago
Size: 829 bytes


Class file image Download
# Wave Framework <>
# URL Rewrite Tester
# This script is simply used to test whether mod_rewrite works for compatibility script
# @package    Index Gateway
# @author     Kristo Vaher <>
# @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]
For more information send a message to info at phpclasses dot org.