PHP Classes

File: htaccess.txt

Recommend this page to a friend!
  Classes of Minh Tien  >  Noblesse CMS  >  htaccess.txt  >  Download  
File: htaccess.txt
Role: Auxiliary data
Content type: text/plain
Description: .htaccess
Class: Noblesse CMS
Content management system with custom plugins
Author: By
Last change:
Date: 6 years ago
Size: 578 bytes


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
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"
For more information send a message to info at phpclasses dot org.