Файл: public_html/.htaccess
Строк: 109
DirectoryIndex index.php
<IfModule
mod_security.c>
Sec------Engine Off
Sec------ScanPOST
Off
</IfModule>
<IfModule mod_php.c>
php_flag
display_errors on
php_value default_charset UTF-8
php_flag
display_startup_errors 1
php_flag display_errors 1
php_flag
html_errors on
php_flag error_reporting E_ALL
</IfModule>
#######################################################################################################################
##------------------------------------------------------
Кешируем
---------------------------------------------------##
#######################################################################################################################
###
<ifModule mod_expires.c>
### ExpiresActive On
###
ExpiresDefault "access plus 5 seconds"
#по умолчанию кеш в 5 секунд
### ExpiresByType
image/x-icon "access plus 2592000 seconds"
#кэшировать флэш и изображения на
месяц
### ExpiresByType image/jpeg "access plus 2592000
seconds"
### ExpiresByType image/png "access plus
2592000 seconds"
### ExpiresByType image/gif "access plus
2592000 seconds"
### ExpiresByType application/x-shockwave-flash
"access plus 2592000 seconds"
### ExpiresByType text/css
"access plus 604800 seconds"
### ExpiresByType
text/javascript "access plus 604800 seconds"
#кэшировать css, javascript и текстовые файлы на
одну неделю
### ExpiresByType application/javascript
"access plus 604800 seconds"
### ExpiresByType
application/x-javascript "access plus 604800 seconds"
###
ExpiresByType text/html "access plus 43200 seconds"
#кэшировать html и htm файлы на один день
### ExpiresByType application/xhtml+xml "access plus 600
seconds" #кэшировать xml файлы на десять
минут
### </ifModule>
<ifModule mod_deflate.c>
AddOutputFilterByType DEFLATE text/html text/plain text/xml
application/xml application/xhtml+xml text/css text/javascript
application/javascript application/x-javascript
</ifModule>
### <ifModule mod_headers.c>
#кэшировать html и htm файлы на один день
###
<FilesMatch "\.(html|htm)$"> Header set Cache-Control
"max-age=43200" </FilesMatch> #кэшировать css,
javascript и текстовые файлы на одну неделю
### <FilesMatch "\.(js|css|txt)$"> Header set
Cache-Control "max-age=604800" </FilesMatch>
#кэшировать флэш и изображения на месяц
### <FilesMatch "\.(flv|swf|ico|gif|jpg|jpeg|png)$">
Header set Cache-Control "max-age=2592000" </FilesMatch>
#отключить кэширование
### <FilesMatch
"\.(pl|php|cgi|spl|scgi|fcgi)$"> Header unset Cache-Control
</FilesMatch>
### </IfModule>
<IfModule
mod_gzip.c>
mod_gzip_on Yes
mod_gzip_dechunk Yes
mod_gzip_item_include file \.(html?|txt|css|js|php|pl)$
mod_gzip_item_include mime ^text\.*
mod_gzip_item_include
mime ^application/x-javascript.*
mod_gzip_item_exclude mime ^image\.*
mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
</IfModule>
#######################################################################################################################
##------------------------------------------------------
Кешируем
---------------------------------------------------##
#######################################################################################################################
Options
-Indexes
ErrorDocument 400 /include/error.php?e=400
ErrorDocument 403
/include/error.php?e=403
ErrorDocument 404
/include/404_hata.php
ErrorDocument 405
/include/error.php?e=404
ErrorDocument 408
/include/error.php?e=408
ErrorDocument 500
/include/error.php?e=500
ErrorDocument 502
/include/error.php?e=502
ErrorDocument 503
/include/error.php?e=503
ErrorDocument 504
/include/error.php?e=504
<IfModule mod_rewrite.c>
RewriteEngine
On
RewriteRule ^LoadPNG\/([A-Za-zА-Яа-я_0-9-/]*)?$
/LoadPNG.php?images=$1.png [L,QSA]
RewriteRule ^([0-9-/]*)?$
/index.php?r=index&ref=$1 [L,QSA]
RewriteRule ^r\/([0-9-/]*)?$
/index.php?r=index&ref=$1 [L,QSA]
RewriteRule ^ref\/([0-9-/]*)?$
/index.php?r=index&ref=$1 [L,QSA]
RewriteRule ^bonus\/([0-9-/]*)?$
/index.php?r=index&ref=$1 [L,QSA]
RewriteRule
^([0-9-/]*)-([0-9-/]*).zip?$ /index.php [L,QSA]
# RewriteRule
^bitva_hata.php?$ /index.php [L,QSA]
# RewriteRule ^faq_hata.php?$
/index.php [L,QSA]
# RewriteRule ^fortuna_hata.php?$ /index.php [L,QSA]
#
RewriteRule ^forum_hata.php?$ /index.php [L,QSA]
# RewriteRule
^hata_hata.php?$ /index.php [L,QSA]
# RewriteRule ^include.php?$
/index.php [L,QSA]
# RewriteRule ^boss_hata.php?$ /index.php [L,QSA]
#
RewriteRule ^online_hata.php?$ /index.php [L,QSA]
# RewriteRule
^pay_hata.php?$ /index.php [L,QSA]
# RewriteRule ^pers_hata.php?$
/index.php [L,QSA]
# RewriteRule ^pusher_hata.php?$ /index.php [L,QSA]
#
RewriteRule ^reg_hata.php?$ /index.php [L,QSA]
# RewriteRule
^rules_hata.php?$ /index.php [L,QSA]
# RewriteRule ^toch_mod_hata.php?$
/index.php [L,QSA]
# RewriteRule ^tiket_hata.php?$ /index.php [L,QSA]
#
RewriteRule ^chat_hata.php?$ /index.php [L,QSA]
# RewriteRule
^gang_hata.php?$ /index.php [L,QSA]
# RewriteRule ^msg_hata.php?$
/index.php [L,QSA]
# RewriteRule ^smiles_hata.php?$ /index.php [L,QSA]
#
RewriteRule ^toch_hata.php?$ /index.php [L,QSA]
# RewriteRule
^([A-Za-z?-??-?_0-9-/]*)\/([A-Za-zА-Яа-я_0-9-/]*)?$
/go_hata.php?login=$1&pas=$2 [L,QSA]
</IfModule>