Login   Register  
PHP Classes

File: .htaccess

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Epsilon Alexey  >  uClassDir  >  .htaccess  >  Download  
File: .htaccess
Role: Application script
Content type: text/plain
Description: config to run index.php on any URL
Class: uClassDir
Locate and load PHP classes
Author: By
Last change:
Date: 5 years ago
Size: 374 bytes


Class file image Download
DirectoryIndex /index.php

<Files ~ "\\.log">
    Order allow,deny
    Deny from all
<Files ~ "\\.ini">
    Order allow,deny
    Deny from all
<Files ~ "\\.class">
    Order allow,deny
    Deny from all

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^.*$ index.php [QSA,L]