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