Файл: .htaccess
Строк: 177
AddDefaultCharset UTF-8
Options -Indexes
DirectoryIndex
index.php
RewriteEngine on
RewriteRule ^sign_in/?$ /user/sign_in.php
[L,QSA]
RewriteRule ^sign_up/?$ /user/sign_up.php [L,QSA]
RewriteRule
^exit/?$ /user/sign_out.php [L,QSA]
RewriteRule ^user/panel/?$
/user/panel.php [L,QSA]
RewriteRule ^user/edit/?$ /user/edit.php
[L,QSA]
RewriteRule ^mail/([0-9]+)/?$ /mail/mail_r.php?id=$1
[L,QSA]
RewriteRule ^mail/chat/([0-9]+)/?$ /mail/chat.php?user_id=$1
[L,QSA]
RewriteRule ^mail/write/?$ /mail/write.php [L,QSA]
RewriteRule
^user/settings/?$ /user/settings.php [L,QSA]
RewriteRule ^user/privacy/?$
/user/privacy.php [L,QSA]
RewriteRule ^user/security/?$ /user/security.php
[L,QSA]
RewriteRule ^user/avatar/?$ /user/avatar.php [L,QSA]
RewriteRule
^user/load_avatar/?$ /user/load_avatar.php [L,QSA]
RewriteRule
^user/delete_avatar/?$ /user/delete_avatar.php [L,QSA]
RewriteRule
^padmin/settings/?$ /padmin/settings.php [L,QSA]
RewriteRule
^padmin/balans/?$ /padmin/balans.php [L,QSA]
RewriteRule ^padmin/tags/?$
/padmin/tags.php [L,QSA]
RewriteRule ^padmin/settings_modules/?$
/padmin/settings_modules.php [L,QSA]
RewriteRule
^padmin/installed_modules/?$ /padmin/installed_modules.php
[L,QSA]
RewriteRule ^padmin/info/?$ /padmin/info.php [L,QSA]
RewriteRule
^padmin/ads/?$ /padmin/ads.php [L,QSA]
RewriteRule ^padmin/ads/add/?$
/padmin/add_link.php [L,QSA]
RewriteRule ^padmin/ads/edit/?$
/padmin/edit_link.php [L,QSA]
RewriteRule ^padmin/ads/delete/?$
/padmin/delete_link.php [L,QSA]
RewriteRule ^padmin/mail/?$
/padmin/mail.php [L,QSA]
RewriteRule ^padmin/pages/?$ /padmin/pages.php
[L,QSA]
RewriteRule ^padmin/add-page/?$ /padmin/add_page.php
[L,QSA]
RewriteRule ^padmin/edit-page/([0-9]+)/?$
/padmin/edit_page.php?page_id=$1 [L,QSA]
RewriteRule
^padmin/delete-page/([0-9]+)/?$ /padmin/delete_page.php?page_id=$1
[L,QSA]
RewriteRule ^padmin/ban/([0-9]+)/?$ /padmin/ban.php?user_id=$1
[L,QSA]
RewriteRule ^padmin/change-dest/([0-9]+)/?$
/padmin/change_dest.php?user_id=$1 [L,QSA]
RewriteRule ^padmin/ban-list/?$
/padmin/ban-list.php [L,QSA]
RewriteRule ^padmin/mainpage/?$
/padmin/mainpage.php [L,QSA]
RewriteRule ^users/?$ /user/list.php
[L,QSA]
RewriteRule ^domens/add_dir/?$ /domens/add_dir.php
[L,QSA]
RewriteRule ^domens/([0-9]+)/?$ /domens/dirs.php?rid=$1
[L,QSA]
RewriteRule ^domens/add_folder/([0-9]+)/?$
/domens/add_folder.php?rid=$1 [L,QSA]
RewriteRule
^domens/folder/([0-9]+)/?$ /domens/folder.php?cat_id=$1
[L,QSA]
RewriteRule ^domens/add_file/([0-9]+)/?$
/domens/add_file.php?cat_id=$1 [L,QSA]
RewriteRule
^domens/file/([0-9]+)/?$ /domens/file.php?id=$1 [L,QSA]
RewriteRule
^domens/download/([0-9]+)/?$ /domens/download.php?file_id=$1
[L,QSA]
RewriteRule ^domens/([0-9]+)/comments/?$
/domens/comments.php?share_id=$1 [L,QSA]
RewriteRule
^domens/add_comment/?$ /domens/add_comment.php [L,QSA]
RewriteRule
^domens/delete_comment/([0-9]+)/?$ /domens/delete_comment.php?share_id=$1
[L,QSA]
RewriteRule ^domens/delete_file/?$ /domens/delete_file.php
[L,QSA]
RewriteRule ^domens/delete_dir/([0-9]+)/?$
/domens/delete_dir.php?rid=$1 [L,QSA]
RewriteRule
^domens/delete_folder/([0-9]+)/([0-9]+)/?$
/domens/delete_folder.php?cid=$1&rid=$2 [L,QSA]
RewriteRule
^domens/edit_dir/([0-9]+)/?$ /domens/edit_dir.php?rid=$1
[L,QSA]
RewriteRule ^domens/edit_folder/([0-9]+)/?$
/domens/edit_folder.php?cat_id=$1 [L,QSA]
RewriteRule
^domens/edit_file/([0-9]+)/?$ /domens/edit_file.php?id=$1
[L,QSA]
RewriteRule ^domens/new_files/?$ /domens/new_files.php
[L,QSA]
RewriteRule ^domens/search/?$ /domens/search.php
[L,QSA]
RewriteRule ^online/?$ /user/online.php [L,QSA]
RewriteRule
^guests/?$ /pages/guests.php [L,QSA]
RewriteRule ^user/([0-9]+)/?$
/user/profile.php?user_id=$1 [L,QSA]
RewriteRule
^pages/([0-9]+)-([a-zA-Z0-9\-]+).html?$
/pages/page.php?page_id=$1&page_name=$2 [L,QSA]
RewriteRule
^pages/redirect/?$ /pages/redirect.php [L,QSA]
RewriteRule
^([a-zA-Z0-9\-_]+)/([a-zA-Z0-9\-_]+)/?$ /$1/$2.php [L,QSA]
RewriteRule
^([a-zA-Z0-9\-_]+)/([a-zA-Z0-9\-_]+)/([a-zA-Z0-9\-]+)/([0-9]+)/?$
/$1/$2.php?$3_id=$4 [L,QSA]
RewriteRule
^([a-zA-Z0-9\-_]+)/([a-zA-Z0-9\-_]+)/([0-9]+)/?$ /$1/$2.php?id=$3
[L,QSA]
RewriteRule ^([a-zA-Z0-9\-_]+)/([0-9]+)/comments?$
/$1/comments.php?id=$2 [L,QSA]
RewriteRule
^([a-zA-Z0-9\-_]+)/delete_comment/([0-9]+)/?$ /$1/comments.php?$3_id=$2
[L,QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond
%{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?route=$1
[L,QSA]
AddType text/vnd.wap.wml;charset=utf-8 .wml
AddType
application/vnd.sonyericsson.mms-template .tpl
AddType
application/vnd.wap.wmlc .wmlc
AddType text/vnd.wap.wmlscript
.wmls
AddType application/vnd.wap.wmlscriptc .wmlsc
AddType
image/vnd.wap.wbmp .wbmp
AddType application/vnd.eri.thm .thm
AddType
application/vnd.mophun.application .mpn
AddType
application/vnd.mophun.certificate .mpc
AddType
text/vnd.sun.j2me.app-descriptor .jad
Addtype text/x-vmel .mel
Addtype
audio/imelody .imy
AddType application/vnd.smaf .mmf
Addtype text/x-vmel
.emy
AddType audio/amr .amr
AddType audio/x-wav .wav
AddType
application/x-tar .hid
Addtype image/jpeg .jpg
Addtype image/jpeg .jpeg
Addtype image/gif .gif
Addtype image/png .png
Addtype image/bmp .bmp
Addtype text/x-imelody .imy
Addtype text/x-emelody .emy
Addtype
text/x-vcard .vcf
Addtype text/x-vcalendar .vcs
Addtype text/calendar
.ics
Addtype application/smil .smil
Addtype application/smil .smi
Addtype application/java-archive .jar
Addtype
application/vnd.symbian.install .sis
Addtype audio/wav .wav
Addtype
audio/midi .midi
Addtype audio/midi .mid
Addtype audio/rmf .rmf
Addtype application/vnd.wap.mms-message .mms
AddType video/flv
.flv
AddType video/mp4 .mp4
Addtype video/3gpp .3gp
Addtype
application/zip .zip
Addtype application/apk .apk
Addtype audio/mpeg .mp3