Файл: .htaccess
Строк: 46
RemoveType .php3 .phtml .php4 .php5 .cgi .pl
php_value error_reporting
7
php_value register_globals 0
php_value session.use_trans_sid
1
php_value safe_mode_gid 1
php_value safe_mode_include_dir 1
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 "&"
DirectoryIndex
index.php
AddDefaultCharset UTF8
<IfModule mod_rewrite.c>
Options
-Indexes
RewriteEngine On
RewriteCond %{REQUEST_METHOD}
^TRACE
RewriteRule .* - [F]
RewriteRule ^id([0-9]*)$ my/user.php?id=$1
[L,QSA]
RewriteRule ^mail/$ my/mail.php [L,QSA]
RewriteRule ^mail$
my/mail.php [L,QSA]
RewriteRule ^system/config.php$ /error.php?err=404
[L,QSA]
RewriteRule ^download([0-9]*)$ system/download.php?id=$1
[L,QSA]
RewriteRule ^faq([0-9]*)$ faq.php?mode=view&sid=$1
[L,QSA]
RewriteRule ^lost([0-9])&([A-Za-z0-9]*)$
lost.php?do=relost&id=$1&mode=$2 [L,QSA]
RewriteRule
^photo([0-9]*)$ system/download.php?id=$1&do=view_photo
[L,QSA]
RewriteRule ^(.*)&([A-Za-z]{2})$
language.php?do=code&act=$2&mode=$1 [L,QSA]
RewriteCond
%{REQUEST_URI} ^/index$ [OR]
RewriteCond %{REQUEST_URI}
^/index[.]+(\w+)$
RewriteRule . / [R=301,L]
RewriteCond %{REQUEST_URI}
^/my/index$ [OR]
RewriteCond %{REQUEST_URI}
^/my/index[.]+(\w+)$
RewriteRule . /my/ [R=301,L]
RewriteCond
%{REQUEST_URI} ^/sysadm/index$ [OR]
RewriteCond %{REQUEST_URI}
^/sysadm/index[.]+(\w+)$
RewriteRule . /sysadm/ [R=301,L]
Options
+FollowSymLinks
RewriteEngine On
RewriteCond %{QUERY_STRING}
(\<|%3C).*script.*(\>|%3E) [NC,OR]
RewriteCond %{QUERY_STRING}
GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
RewriteCond %{QUERY_STRING}
_REQUEST(=|\[|\%[0-9A-Z]{0,2})
RewriteRule ^(.*)$ index.php
[F,L]
</IfModule>
ErrorDocument 401
/error.php?err=401
ErrorDocument 402 /error.php?err=402
ErrorDocument 403
/error.php?err=403
ErrorDocument 404 /error.php?err=404
ErrorDocument 500
/error.php?err=500
AddType video/ogg .ogv
AddType video/mp4
.mp4
AddType video/webm .webm