PHP Classes

File: .htaccess

Recommend this page to a friend!
  Classes of Shaikh Sonny Aman   PHP-PAPA   .htaccess   Download  
File: .htaccess
Role: Auxiliary data
Content type: text/plain
Description: htacces
Class: PHP-PAPA
Framework with MVC support
Author: By
Last change:
Date: 15 years ago
Size: 500 bytes
 

Contents

Class file image Download
<IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteCond $1 !^(community|crossdomain\.xml) RewriteRule ^(.*)$ index.php?/$1 [QSA,L] #RewriteCond $1 ^(app) #RewriteCond $1(\.css) #RewriteRule ^(.*)$ applet/$1 [QSA,L] </IfModule> <FilesMatch "\.(ico|pdf|flv|jpg|jpeg|png|gif|js|css|swf)$"> Header set Cache-Control "max-age=290304000, public" FileETag none </FilesMatch> SetOutputFilter DEFLATE