openbizx/cubix/master/.htaccess
##
# Openbizx Cubi Application Platform
#
# LICENSE http://code.google.com/p/openbiz-cubi/wiki/CubiLicense
#
# @package /
# @copyright Copyright (c) 2005-2011, Openbiz Technology LLC
# @license http://code.google.com/p/openbiz-cubi/wiki/CubiLicense
# @link http://code.google.com/p/openbiz-cubi/
# @version $Id: .htaccess 5294 2013-02-12 14:03:42Z fsliit@gmail.com $
##
Options FollowSymLinks
<IfModule mod_php5.c>
php_flag magic_quotes_gpc Off
php_value upload_max_filesize 1000M
php_value post_max_size 1000M
php_value max_execution_time 900
php_value max_input_time 900
</IfModule>
<IfModule mod_php4.c>
php_flag magic_quotes_gpc Off
php_value upload_max_filesize 1000M
php_value post_max_size 1000M
php_value max_execution_time 900
php_value max_input_time 900
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /openbizx-cubix/cubix/
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteCond %{REQUEST_URI} !.
RewriteRule ^(.*)$ index.php?$1
</IfModule>
<FilesMatch "application.xml$">
Order deny,allow
Deny from all
</FilesMatch>
<FilesMatch ".inc$">
Order deny,allow
Deny from all
</FilesMatch>
<IfModule mod_expires.c>
ExpiresActive On
ExpiresDefault "access plus 1 seconds"
ExpiresByType text/html "access plus 7 days"
ExpiresByType image/gif "access plus 7 days"
ExpiresByType image/jpeg "access plus 7 days"
ExpiresByType image/png "access plus 7 days"
ExpiresByType text/css "access plus 7 days"
ExpiresByType text/javascript "access plus 7 days"
ExpiresByType application/x-javascript "access plus 7 days"
ExpiresByType application/javascript "access plus 7 days"
</IfModule>
<IfModule mod_headers.c>
<filesMatch "\.(css)$">
Header set Cache-Control "max-age=604800, public"
</filesMatch>
<filesMatch "\.(js)$">
Header set Cache-Control "max-age=216000, public"
</filesMatch>
</IfModule>
On Github License
Files
Download PDF of Htaccess file