#Header unset Pragma
#FileETag None
#Header unset ETag
# BEGIN Cache-Control Headers
#
#
# Header set Cache-Control "max-age=2592000, public"
#
#
#
# Header set Cache-Control "max-age=2592000"
#
AddDefaultCharset UTF-8
AddType application/x-httpd-php .phar .tpl
RedirectMatch 404 /\.git
php_value short_open_tag 1
php_value file_uploads 1
php_value suhosin.executor.include.whitelist phar
# php_value upload_max_filesize 200M
php_value max_input_vars 10000
php_value suhosin.post.max_vars 10000
php_value suhosin.request.max_vars 10000
Order allow,deny
Deny from all
RewriteRule ^modules/.*$ /index.php?null
RewriteEngine Off
RewriteCond %{REQUEST_FILENAME} !/crossdomain.xml
# RewriteCond %{REQUEST_FILENAME} !/img/*\.(gif|png|jpeg|jpg)
RewriteCond %{REQUEST_FILENAME} !/img/.*
RewriteCond %{REQUEST_FILENAME} !/include/.*
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !/index.php.*
RewriteEngine On
#RewriteRule ^(.*)$ webroot/$1 [L]
# RewriteCond %{HTTP_HOST} ^www.{HTTP_HOST}(.*)
# RewriteRule ^(.*)$ http://{HTTP_HOST}/$1 [R=301,L]
# RewriteCond %{REQUEST_URI} ^/themes/theme:([a-z0-9]+)/null/(.*)$
# RewriteRule theme:([a-z0-9]+)/null/(.*)$ /themes/$1/$2 [L]
RewriteCond %{DOCUMENT_ROOT}/index.phar !-f
RewriteRule ^(.*)$ /index.php [L]
# RewriteCond %{REQUEST_URI} /(.*):(.*)
# RewriteRule ^(.*)$ /index.phar [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ /index.phar [L]
# Если стоит в составе другой системы в директории
# AddDefaultCharset UTF-8
# AddType application/x-httpd-php .phar .tpl
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteRule ^(brands|mimi|.*:admin|.*:img)(.+)?$ /mimi/index.phar/$1 [L]
## EXPIRES CACHING ##
ExpiresActive On
ExpiresDefault "access plus 1 month"
AddType application/vnd.ms-fontobject .eot
AddType application/x-font-ttf .ttf
AddType application/x-font-opentype .otf
AddType application/x-font-woff .woff
AddType image/svg+xml .svg
ExpiresByType application/vnd.ms-fontobject "access plus 1 year"
ExpiresByType application/x-font-ttf "access plus 1 year"
ExpiresByType application/x-font-opentype "access plus 1 year"
ExpiresByType application/x-font-woff "access plus 1 year"
ExpiresByType image/svg+xml "access plus 1 year"
ExpiresByType image/jpg "access 1 year"
ExpiresByType image/jpeg "access 1 year"
ExpiresByType image/gif "access 1 year"
ExpiresByType image/png "access 1 year"
ExpiresByType audio/mp3 "access 1 year"
ExpiresByType audio/wav "access 1 year"
ExpiresByType text/css "access 1 month"
ExpiresByType application/pdf "access 1 month"
ExpiresByType text/x-javascript "access 1 month"
ExpiresByType application/x-shockwave-flash "access 1 month"
ExpiresByType image/x-icon "access 1 year"
## EXPIRES CACHING ##