Файл: public_html/ex/.htaccess
Строк: 32
Options -Indexes
ErrorDocument 402 /?err402
ErrorDocument 403
/?err403
ErrorDocument 404 /?err404
ErrorDocument 500
/?err500
DirectoryIndex index.php
RemoveHandler .phtml .php3 .php4
.php5 .php6 .phps .cgi .pl .asp .aspx .shtml .shtm .fcgi .fpl .jsp
.py
AddType application/x-httpd-php-source .phtml .php3 .php4 .php5 .php6
.phps .cgi .pl .asp .aspx .shtml .shtm .fcgi .fpl .jsp .py
php_flag
display_errors 1
php_value error_reporting 7
php_value register_globals
0
php_flag session.use_trans_sid off
php_value magic_quotes_gpc
0
php_value magic_quotes_runtime 0
php_value magic_quotes_sybase
0
php_value allow_url_fopen 0
php_value arg_separator.output
"&"
AddDefaultCharset UTF-8
<IfModule
mod_expires.c>
ExpiresActive On
ExpiresDefault A1209600
<FilesMatch \.php$>
ExpiresActive Off
</FilesMatch>
</IfModule>
RewriteEngine On
RewriteCond
%{REQUEST_METHOD} ^TRACE
RewriteCond %{HTTP:range}
!(^bytes=[^,]+(,[^,]+){0,4}$|^$)
RewriteRule .* - [F]
RewriteRule
^dir/([0-9]+)$ dirs.php?id=$1 [L,QSA]
RewriteRule ^file/([0-9]+)$
files.php?id=$1 [L,QSA]
RewriteRule ^download/([0-9]+)$
download_files.php?id_file=$1 [L,QSA]
RewriteRule ^dir/([0-9]+)/([0-9]+)$
dirs.php?id=$1&page=$2 [L,QSA]
RewriteRule ^dir/([0-9]+)/$
dirs.php?id=$1 [L,QSA]
RewriteRule ^file/([0-9]+)/$ files.php?id=$1
[L,QSA]
RewriteRule ^download/([0-9]+)/$ download_files.php?id_file=$1
[L,QSA]
RewriteRule ^dir/([0-9]+)/([0-9]+)/$ dirs.php?id=$1&page=$2
[L,QSA]
RewriteRule ^loads$ dirs.php [L,QSA]
RewriteRule ^online$
count_online.php [L,QSA]
RewriteRule ^top/([0-9]+)$ dirs.php?id=$1&top
[L,QSA]
RewriteRule ^top/([0-9]+)/$ dirs.php?id=$1&top
[L,QSA]
RewriteRule ^top/([0-9]+)/([0-9]+)$
dirs.php?id=$1&page=$2&top [L,QSA]
RewriteRule
^top/([0-9]+)/([0-9]+)/$ dirs.php?id=$1&page=$2&top [L,QSA]