Файл: С™а®ѓв/.htaccess
Строк: 45
php_value display_errors 0
php_value display_startup_errors 0
php_value
magic_quotes_gpc 0
php_value magic_quotes_runtime 0
php_value
magic_quotes_sybase 0
php_value date.timezone Europe/Moscow
Addtype
image/jpeg .jpg
Addtype image/jpeg .jpeg
Addtype image/gif .gif
Addtype
image/png .png
Addtype image/bmp .bmp
AddDefaultCharset
UTF-8
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType
image/gif "access plus 2592000 seconds"
ExpiresByType image/jpeg
"access plus 2592000 seconds"
ExpiresByType image/png
"access plus 2592000 seconds"
ExpiresByType image/x-icon
"access plus 2592000 seconds"
</IfModule>
<IfModule
mod_headers.c>
<FilesMatch "\.(ico|jpe?g|png|gif)$">
Header set Cache-Control "max-age=2592000, private"
</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 handler ^cgi-script$
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>
IndexIgnore *.php
Options
-Indexes
DirectoryIndex index.php
IndexIgnore *.php
RewriteEngine
On
ErrorDocument 404 /index.php
RewriteRule ^home$ index.php
[L,QSA]
RewriteRule ^home/$ index.php [L,QSA]
RewriteRule ^yandex$
yandex.php [L,QSA]
RewriteRule ^yandex/$ yandex.php [L,QSA]
RewriteRule
^add$ add.php [L,QSA]
RewriteRule ^add/$ add.php [L,QSA]