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

Размер файла: 4.36Kb
php_flag register_globals off
ErrorDocument 400 http://klemo.ru/?error=400
ErrorDocument 401 http://klemo.ru/?error=401
ErrorDocument 403 http://klemo.ru/?error=403
ErrorDocument 404 http://klemo.ru/?error=404
ErrorDocument 500 http://klemo.ru/?error=500

Addtype audio/wav .wav
Addtype audio/midi .midi
Addtype audio/midi .mid
AddType audio/amr .amr
AddType audio/mpeg .mp3
AddType application/vnd.smaf .mmf
Addtype image/jpeg .jpg
Addtype image/jpeg .jpeg
Addtype image/gif .gif
Addtype image/png .png
Addtype image/bmp .bmp
AddType video/mp4 .mp4
Addtype video/3gpp .3gp
AddType application/java-archive .jar
Addtype text/vnd.sun.j2me.app-descriptor .jad
Addtype application/vnd.symbian.install .sis
AddType text/x-bookmark .url
AddType application/x-httpd-php .php
Addtype application/zip .zip
Addtype application/x-rar-compressed .rar
php_value file_uploads on
php_value post_max_filesize 2M
php_value default_charset UTF-8
php_value arg_separator.output "&"
php_value session.cookie_lifetime 604800

AddDefaultCharset UTF-8
DirectoryIndex index.php

Options -Indexes

RewriteEngine On
RewriteRule ^user/([0-9]+)/$ /pages/about.php?id=$1 [R]


RewriteRule ^library/user/([0-9]+)/$ /library/index.php?act=user&id=$1 [L,QSA]
RewriteRule ^library/user/([0-9]+)/page=([0-9]+)$ /library/index.php?act=user&id=$1&page=$2 [L,QSA]
RewriteRule ^library/view/([0-9]+)/$ /library/index.php?act=view&id=$1 [L,QSA]
RewriteRule ^library/view/([0-9]+)/page=([0-9]+)$ /library/index.php?act=view&id=$1&page=$2 [L,QSA]
RewriteRule ^library/read/([0-9]+)/$ /library/index.php?act=read&id=$1 [L,QSA]
RewriteRule ^groups/user/([0-9]+)/$ /groups/index.php?act=user&id=$1 [L,QSA]
RewriteRule ^groups/([0-9]+)/$ /groups/index.php?act=view&id=$1 [L,QSA]
RewriteRule ^groups/([0-9]+)/page=([0-9]+)$ /groups/index.php?act=view&id=$1&page=$2 [L,QSA]
RewriteRule ^loads/([0-9]+)\.info$ /loads/index.php?mod=1&id_file=$1 [L,QSA]
RewriteRule ^downs/([0-9]+)\.info$ /downs/index.php?mod=1&id_file=$1 [L,QSA]
RewriteRule ^obmen/([0-9]+)\.info$ /obmen/index.php?mod=4&id_file=$1 [L,QSA]
RewriteRule ^sport/([a-z0-9/]+)$ /sport/index.php?fid=$1 [L,QSA]
RewriteRule ^sport/([a-z0-9/]+)/([a-z0-9/]+)$ /sport/index.php?fid=$1/$2 [L,QSA]
RewriteRule ^sport/([a-z0-9]+)/([a-z0-9]+)/([a-z0-9]+)$ /sport/index.php?fid=$1/$2/$3 [L,QSA]
RewriteRule ^sport/([a-z0-9]+)/([a-z0-9]+)/([a-z0-9]+)/([a-z0-9]+)$ /sport/index.php?fid=$1/$2/$3/$4 [L,QSA]
RewriteRule ^animals/([0-9]+)\.info$ /animals/info.php?id=$1 [L,QSA]
RewriteRule ^stati/([0-9]+)\.info$ /stati/index.php?act=view&id=$1 [L,QSA]
RewriteRule ^blog/view/([0-9]+)/$ /blog/index.php?act=view&id=$1 [L,QSA]
RewriteRule ^blog/all/?page=([0-9]+)$ /blog/index.php?page=$1 [L,QSA]
RewriteRule ^blog/user/([0-9]+)/$ /blog/index.php?act=user&id=$1 [L,QSA]
RewriteRule ^blog/user/([0-9]+)/?page=([0-9]+)$ /blog/index.php?act=user&id=$1&page=$2 [L,QSA]
RewriteRule ^forum/view/([0-9]+)/$ /forum/index.php?mod=1&id_forum=$1 [L,QSA]
RewriteRule ^forum/([0-9]+)/$ /forum/index.php?id_forum=$1 [L,QSA]
RewriteRule ^forum/view/([0-9]+)/page=([0-9]+)$ /forum/index.php?mod=1&id_forum=$1&page=$2 [L,QSA]
RewriteRule ^forum/theme/([0-9]+)/([0-9]+)/$ /forum/index.php?mod=4&id_forum=$1&id_them=$2 [L,QSA]
RewriteRule ^forum/theme/([0-9]+)/([0-9]+)/vote/$ /forum/index.php?mod=4&id_forum=$1&id_them=$2&act=vote [L,QSA]
RewriteRule ^forum/theme/([0-9]+)/([0-9]+)/page=([0-9]+)$ /forum/index.php?mod=4&id_forum=$1&id_them=$2&page=$3 [L,QSA]
RewriteRule ^forum/theme/([0-9]+)/([0-9]+)/page=([0-9]+)&isset=yesmess$ /forum/index.php?mod=4&id_forum=$1&id_them=$2&page=$3&isset=yesmess [L,QSA]
RewriteRule ^forum/theme/([0-9]+)/([0-9]+)/isset=yestheme$ /forum/index.php?mod=4&id_forum=$1&id_them=$2&isset=yestheme [L,QSA]
RewriteRule ^pages/raiting/([0-9]+)/$ /pages/about.php?mod=7&id=$1 [L,QSA]
RewriteRule ^pages/raiting/([0-9]+)/page=([0-9]+)$ /pages/about.php?mod=7&id=$1&page=$2 [L,QSA]
RewriteRule ^forum/theme/([0-9]+)/([0-9]+)/page=([0-9]+)&isset=yesedit$ /forum/index.php?mod=4&id_forum=$1&id_them=$2&page=$3&isset=yesedit [L,QSA]
RewriteRule ^forum/theme/([0-9]+)/([0-9]+)/isset=yesedit$ /forum/index.php?mod=4&id_forum=$1&id_them=$2&isset=yesedit [L,QSA]
RewriteRule ^forum/view/([0-9]+)/page=([0-9]+)$ /forum/index.php?mod=1&id_forum=$1&page=$2 [L,QSA]
RewriteRule ^chat/room/([0-9]+)/page=([0-9]+)$ /chat/room.php?r=$1&page=$2 [L,QSA]
RewriteRule ^chat/room/([0-9]+)/$ /chat/room.php?r=$1 [L,QSA]

<Files 403.shtml>
order allow,deny
allow from all
</Files>