#php_flag engine 0
#AddType "text/html" .cgi .pl .fcgi .fpl .phtml .shtml .php2 .php3 .php4 .php5 .asp .jsp
Order allow,deny
Allow from All
Deny from 82.145.221.145
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !/worldkassa/result.php
RewriteCond %{REQUEST_FILENAME} !/worldkassa/error.php
RewriteCond %{REQUEST_FILENAME} !/index.php
RewriteCond %{REQUEST_FILENAME} !/worldkassaEuro/result.php
RewriteCond %{REQUEST_FILENAME} !/worldkassaEuro/error.php
RewriteCond %{REQUEST_FILENAME} !/index.php
RewriteCond %{REQUEST_FILENAME} !/worldkassaKey/result.php
RewriteCond %{REQUEST_FILENAME} !/worldkassaKey/error.php
RewriteCond %{REQUEST_FILENAME} !/index.php
RewriteRule (.*)\.php$ /NoHack.html [L,QSA]
RewriteRule (.*)\.php4$ /NoHack.html [L,QSA]
RewriteRule (.*)\.php2$ /NoHack.html [L,QSA]
RewriteRule (.*)\.php3$ /NoHack.html [L,QSA]
RewriteRule (.*)\.php5$ /NoHack.html [L,QSA]
RewriteRule (.*)\.fpl$ /NoHack.html [L,QSA]
RewriteRule (.*)\.pl$ /NoHack.html [L,QSA]
RewriteRule (.*)\.fcgi$ /NoHack.html [L,QSA]
RewriteRule (.*)\.phtml$ /NoHack.html [L,QSA]
RewriteRule (.*)\.asp$ /NoHack.html [L,QSA]
RewriteRule (.*)\.jsp$ /NoHack.html [L,QSA]
#php_value memory_limit 2048M
#php_value register_globals 0
ExpiresActive On
ExpiresByType application/javascript "access plus 1 year"
ExpiresByType text/javascript "access plus 1 year"
ExpiresByType text/css "access plus 1 year"
ExpiresByType image/gif "access plus 1 year"
ExpiresByType image/jpeg "access plus 1 year"
ExpiresByType image/png "access plus 1 year"
#php_value session.gc_maxlifetime 259200
#php_value session.cookie_lifetime 259200
Header set Cache-control: private
Header set Cache-control: public
SetEnv force-no-vary
BrowserMatch "MSIE" force-no-vary
BrowserMatch "Mozilla/4.[0-9]{2}" force-no-vary
<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE text/html text/plain text/xml application/xml application/xhtml+xml text/javascript text/css application/x-javascript
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4.0[678] no-gzip
BrowserMatch bMSIE !no-gzip !gzip-only-text/html
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-javascript
</IfModule>

<IfModule mod_expires.c>
ExpiresActive On
ExpiresDefault "access 7 days"
ExpiresByType application/javascript "access plus 1 year"
ExpiresByType text/javascript "access plus 1 year"
ExpiresByType text/css "access plus 1 year"
ExpiresByType text/html "access plus 7 day"
ExpiresByType text/x-javascript "access 1 year"
ExpiresByType image/gif "access plus 1 year"
ExpiresByType image/jpeg "access plus 1 year"
ExpiresByType image/png "access plus 1 year"
ExpiresByType image/jpg "access plus 1 year"
ExpiresByType image/x-icon "access 1 year"
ExpiresByType application/x-shockwave-flash "access 1 year"
</IfModule>

<IfModule mod_setenvif.c>
BrowserMatch "MSIE" force-no-vary
BrowserMatch "Mozilla/4.[0-9]{2}" force-no-vary
</IfModule>

<ifmodule mod_gzip.c>
mod_gzip_on Yes
mod_gzip_item_include file \.js$
mod_gzip_item_include file \.css$ </ifmodule>
</IfModule>
<IfModule mod_headers.c>
<FilesMatch .(ico|pdf|flv|jpg|jpeg|png|gif|swf)$="">
Header set Cache-Control "public"
Header set Expires "Wed, 13 Dec 2014 01:00:00 GMT"
FileETag None
</FilesMatch>
<FilesMatch "\.(ico|pdf|flv|jpg|jpeg|png|gif|swf)$">
Header set Cache-Control "max-age=29030400, public"
</FilesMatch>
<FilesMatch "\.(xml|txt|css|js)$">
Header set Cache-Control "max-age=29030400, proxy-revalidate"
</FilesMatch>
<FilesMatch "\.(html|htm|txt)$">
Header set Cache-Control "max-age=29030400, must-revalidate"
</FilesMatch>
</IfModule>