Login   Register  
PHP Classes
elePHPant
Icontem

File: .htaccess

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of martin barker  >  lightweight MVC  >  .htaccess  >  Download  
File: .htaccess
Role: Auxiliary data
Content type: text/plain
Description: htaccess to check for file and rewrite to index.php if dose not exist
Class: lightweight MVC
Implements the MVC design pattern
Author: By
Last change: Updated for Version 2.1
Date: 4 years ago
Size: 162 bytes
 

Contents

Class file image Download
Options +FollowSymlinks
RewriteEngine on
RewriteBase /

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php [L]