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 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
 

Contents

Class file image Download
DirectoryIndex /index.php

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

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