Просмотр файла .htaccess

Размер файла: 795B
#AddHandler application/x-httpd-php-5.6 .php
#AddType application/x-httpd-php .html

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

php_value date.timezone "Europe/Moscow"

DirectoryIndex index.php
AddDefaultCharset UTF-8
Options -Indexes

ErrorDocument 403 /pages/index.php?action=403
ErrorDocument 404 /pages/index.php?action=404

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

# Скрытие расширений всех index.php
RewriteEngine on
RewriteRule ^index\.php$ / [R=301,L]
RewriteRule ^(.*)/index\.php$ /$1/ [R=301,L] 

# с www на без
RewriteEngine On 
RewriteCond %{HTTP_HOST} ^www\.(.*)$
RewriteRule ^(.*)$ http://%1/$1 [L,R=301]