View file .htaccess

File size: 1.02Kb
Addtype application/x-zip-compressed .zip
Addtype application/x-rar-compressed .rar
Addtype image/jpeg .jpg
Addtype image/jpeg .jpeg
Addtype image/gif .gif
Addtype image/png .png
Addtype image/bmp .bmp

<Files ~ "includes|local">
   Order allow,deny
    Deny from all
</Files>
<Files ~ ".(dat|sfx)$">
   Order allow,deny
   Deny from all
</Files>

php_value register_globals 0
php_value url_rewriter.tags 1
php_value session.use_trans_sid 1
php_value magic_quotes_gpc 0
php_value magic_quotes_runtime 0
php_value magic_quotes_sybase 0
php_value file_uploads 1
php_value date.timezone "Europe/Moscow"

DirectoryIndex index.php
AddDefaultCharset UTF-8
Options -Indexes

ErrorDocument 403 /pages/error.php?error=403
ErrorDocument 404 /pages/error.php?error=404

RewriteEngine On
RewriteCond %{REQUEST_METHOD} ^TRACE
RewriteRule .* - [F]

FileETag MTime Size
<ifmodule mod_expires.c>
<filesmatch ".(ico|jpg|gif|png|css|js)$">
ExpiresActive on
ExpiresDefault "access plus 1 month"
</filesmatch>
</ifmodule>