File: htaccess.txt

Recommend this page to a friend!
  Classes of Minh Tien  >  Codeme PHP Framework  >  htaccess.txt  >  Download  
File: htaccess.txt
Role: Auxiliary data
Content type: text/plain
Description: Documentation
Class: Codeme PHP Framework
MVC Web application development framework
Author: By
Last change: Add Captcha Class
Date: 6 years ago
Size: 578 bytes
 

Contents

Class file image Download
php_flag zlib.output_compression On
php_value zlib.output_compression_level 5
<IfModule mod_deflate.c>
<FilesMatch "\.(js|css|html|htm|php|txt)$">
SetOutputFilter DEFLATE
</FilesMatch>
</IfModule>
Options +FollowSymLinks
ErrorDocument 404 index.php
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?load=$1 [L]

<IfModule mod_expires.c>
	ExpiresActive On
	<FilesMatch "\.(ico|gif|jpe?g|png|svg|svgz|js|css|swf|ttf|otf|woff|eot)$">
		ExpiresDefault "access plus 1 month"
	</FilesMatch>
</IfModule>
For more information send a message to info at phpclasses dot org.