Login   Register  
PHP Classes
elePHPant
Icontem

File: tools/.htaccess

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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: 2 years ago
Size: 829 bytes
 

Contents

Class file image Download
# 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]