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

Размер файла: 2.2Kb

RewriteEngine On
Options +FollowSymlinks
#RewriteBase /

RewriteRule ^([0-9]+)/*$ ./index.php?id=$1 [QSA,NC]
RewriteRule ^([0-9]+)/([0-9]+)/*$ ./index.php?id=$1&page=$2 [QSA,NC]
RewriteRule ^onpage/([0-9]+)/([0-9]+)/*$ ./index.php?onpage=$1&id=$2 [QSA,NC]
RewriteRule ^sort/([a-z]+)/([0-9]+)/*$ ./index.php?sort=$1&id=$2 [QSA,NC]
RewriteRule ^prew/([0-9]+)/([0-9]+)/*$ ./index.php?prew=$1&id=$2 [QSA,NC]

RewriteRule ^view/([0-9]+)/*$ ./view.php?id=$1 [QSA,NC]
RewriteRule ^view/([0-9]+)/frame([0-9]*)/*$ ./view.php?id=$1&frame=$2 [QSA,NC]
RewriteRule ^view/([0-9]+)/([0-9]+)/*$ ./view.php?id=$1&eval=$2 [QSA,NC]

RewriteRule ^ffmpeg/([0-9]+)/*([0-9]*)/*$ ./ffmpeg.php?id=$1&frame=$2 [QSA,NC]

RewriteRule ^im/([0-9]+)/*$ ./im.php?id=$1 [QSA,NC]
RewriteRule ^theme/([0-9]+)/*$ ./theme.php?id=$1 [QSA,NC]
RewriteRule ^load/([0-9]+)/*$ ./load.php?id=$1 [QSA,NC]
RewriteRule ^user/([0-9]+)/*$ ./user.php?id=$1 [QSA,NC]
RewriteRule ^rate/([0-9]+)/*$ ./rate.php?i=$1 [QSA,NC]
RewriteRule ^cut/([0-9]+)/*$ ./cut.php?id=$1 [QSA,NC]
RewriteRule ^txt_zip/([0-9]+)/*$ ./txt_zip.php?id=$1 [QSA,NC]
RewriteRule ^txt_jar/([0-9]+)/*$ ./txt_jar.php?id=$1 [QSA,NC]
RewriteRule ^jad/([0-9]+)/*$ ./jad.php?id=$1 [QSA,NC]

RewriteRule ^search/([0-9]+)/([0-9]+)/([0-9]+)/(.*)/*$ ./search.php?act=search&page=$1&onpage=$2&prew=$3&word=$4 [QSA,NC]

RewriteRule ^top/([a-z]+)/*([0-9]*)/*$ ./top.php?sort=$1&page=$2 [QSA,NC]

RewriteRule ^zip/([0-9]+)/*([0-9]*)/*$ ./zip.php?id=$1&page=$2 [QSA,NC]
RewriteRule ^zip/preview/([0-9]+)/(.*)/*$ ./zip.php?action=preview&id=$1&open=$2 [QSA,NC]

RewriteRule ^komm/([0-9]+)/*([0-9]*)/*(add)*/*$ ./komm.php?id=$1&page=$2&act=$3 [QSA,NC]

RewriteRule ^news_komm/([0-9]+)/*([0-9]*)/*(add)*/*$ ./news_komm.php?id=$1&page=$2&act=$3 [QSA,NC]
RewriteRule ^news/([0-9]+)/*$ ./news.php?page=$1 [QSA,NC]

RewriteRule ^read/([0-9]+)/*([0-9]*)/*$ ./read.php?id=$1&page=$2 [QSA,NC]

# Глобальные переменные!
php_flag register_globals On


Options -Indexes
AddDefaultCharset UTF-8
php_value default_charset UTF-8

#ErrorDocument 304 /?
#ErrorDocument 400 /?
#ErrorDocument 403 /?
ErrorDocument 404 /?
#ErrorDocument 406 /?
#ErrorDocument 500 /?
#ErrorDocument 502 /?