PHP Classes

File: web/.htaccess

Recommend this page to a friend!
  Classes of Luke Rotherfield   Nibble PHP Framework   web/.htaccess   Download  
File: web/.htaccess
Role: Auxiliary data
Content type: text/plain
Description: htaccess file for Nibble Framework
Class: Nibble PHP Framework
Web application framework based in plug-ins
Author: By
Last change:
Date: 13 years ago
Size: 428 bytes
 

Contents

Class file image Download
Options +FollowSymLinks +ExecCGI <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^([^/]*)/?.*$ - [E=FILE:%{DOCUMENT_ROOT}/$1.php] RewriteCond %{ENV:FILE} !^$ RewriteCond %{ENV:FILE} -f RewriteRule ^([^/]*)/?(.*)$ $1.php?url=$2 [QSA,L] RewriteCond %{ENV:FILE} !^$ RewriteCond %{ENV:FILE} !-f RewriteRule ^(.*)$ index.php?url=$1 [QSA,L] </IfModule>