Login   Register  
PHP Classes
elePHPant
Icontem

File: examples/.htaccess

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Igor Crevar  >  icRouter  >  examples/.htaccess  >  Download  
File: examples/.htaccess
Role: Auxiliary data
Content type: text/plain
Description: Apache Rewrite Module must be ON for example
Class: icRouter
Route accesses based on request parameters
Author: By
Last change: first commit
Date: 1 year ago
Size: 302 bytes
 

Contents

Class file image Download
<IfModule mod_rewrite.c>
  RewriteEngine On

  # uncomment the following line, if you are having trouble
  # getting no_script_name to work
  #RewriteBase /

  RewriteCond %{REQUEST_FILENAME} !-f
  
  # no, so we redirect to our front web controller
  RewriteRule ^(.*)$ index.php [QSA,L]
</IfModule>