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

Размер файла: 3.49Kb
DirectoryIndex index.php
AddDefaultCharset UTF-8
php_flag register_globals off


RewriteEngine On

RewriteRule ^s([0-9]+)/?$ index.php?c=letter&k=$1
RewriteRule ^s([0-9]+)/([Aa-zZ]+)/?$ index.php?c=letter&k=$1&option=$2&
RewriteRule ^s([0-9]+)/&page=([0-9]+)$ index.php?c=letter&k=$1&page=$2
RewriteRule ^s([0-9]+)/([Aa-zZ]+)&page=([0-9]+)$ index.php?c=letter&k=$1&option=$2&page=$3

RewriteRule ^new/?$ index.php?c=new
RewriteRule ^new&page=([0-9]+)$ index.php?c=new&page=$1
RewriteRule ^popular/?$ index.php?c=popular
RewriteRule ^popular&page=([0-9]+)$ index.php?c=popular&page=$1

RewriteRule ^new([0-9]+)/?$ index.php?c=new&id=$1
RewriteRule ^new([0-9]+)&page=([0-9]+)$ index.php?c=new&page=$2&id=$1
RewriteRule ^popular([0-9]+)/?$ index.php?c=popular&id=$1
RewriteRule ^popular([0-9]+)&page=([0-9]+)$ index.php?c=popular&page=$2&id=$1

RewriteRule ^genre([0-9]+)/?$ index.php?c=genre&id=$1
RewriteRule ^genre([0-9]+)&page=([0-9]+)$ index.php?c=genre&page=$2&id=$1

RewriteRule ^artist([0-9]+)/?$ index.php?c=artist&id=$1
RewriteRule ^artist([0-9]+)&page=([0-9]+)$ index.php?c=artist&page=$2&id=$1


RewriteRule ^search/?$ index.php?c=search
RewriteRule ^search/go/?$ index.php?c=search&go
RewriteRule ^search/go&page=([0-9]+)$ index.php?c=search&go&page=$1
RewriteRule ^search/go/([0-9]+)/?$ index.php?c=search&go&id=$1
RewriteRule ^search/go/([0-9]+)&page=([0-9]+)$ index.php?c=search&go&id=$1&page=$2

RewriteRule ^file([0-9]+)/?$ index.php?c=file&id=$1
RewriteRule ^file([0-9]+)/listen/?$ index.php?c=file&d=listen&id=$1

RewriteRule ^go/([0-9]+)/?$ index.php?c=go&id=$1

RewriteRule ^down([0-9]+)/?$ system/kernel/download.php?id=$1
RewriteRule ^conv([0-9]+)/?$ system/kernel/conv.php?id=$1

RewriteRule ^convertedTrackStatus/?$ index.php?c=status [L,QSA]
RewriteRule ^converted/([.0-9Aa-zZ]+)$ temp/$1 [L,QSA]

RewriteRule ^file([0-9]+)/comments/?$ index.php?c=comments&id=$1
RewriteRule ^file([0-9]+)/comments/delete([0-9]+)/?$ index.php?c=comments&id=$1&cid=$2&d=delete
RewriteRule ^file([0-9]+)/comments/add/?$ index.php?c=comments&id=$1&d=add
RewriteRule ^file([0-9]+)/comments&page=([0-9]+)$ index.php?c=comments&id=$1&page=$2

RewriteRule ^table/?$ index.php?c=table
RewriteRule ^table/completed/?$ index.php?c=table&d=list&e=completed
RewriteRule ^table/incompleted/?$ index.php?c=table&d=list&e=incompleted
RewriteRule ^table/canceled/?$ index.php?c=table&d=list&e=canceled
RewriteRule ^table/add/?$ index.php?c=table&d=add
RewriteRule ^table/([0-9]+)/?$ index.php?c=table&d=view&id=$1

RewriteRule ^exchanger/?$ index.php?c=exchanger
RewriteRule ^exchanger/([0-9]+)/?$ index.php?c=exchanger&id=$1
RewriteRule ^exchanger&page=([0-9]+)$ index.php?c=exchanger&page=$1
RewriteRule ^exchanger/([0-9]+)/add/?$ index.php?c=exchanger&id=$1&d=add
RewriteRule ^exchanger/file([0-9]+)/?$ index.php?c=exchanger&id=$1&d=file
RewriteRule ^exchanger/file([0-9]+)/listen/?$ index.php?c=exchanger&d=file&e=listen&id=$1

RewriteRule ^exchanger/down([0-9]+)/?$ system/kernel/download.php?id=$1&exchanger
RewriteRule ^exchanger/conv([0-9]+)/?$ system/kernel/conv.php?id=$1&exchanger
RewriteRule ^exchanger/file([0-9]+)/comments/?$ index.php?c=comments_ex&id=$1
RewriteRule ^exchanger/file([0-9]+)/comments/add/?$ index.php?c=comments_ex&id=$1&d=add
RewriteRule ^exchanger/file([0-9]+)/comments/delete([0-9]+)/?$ index.php?c=comments_ex&id=$1&cid=$2&d=delete
RewriteRule ^exchanger/file([0-9]+)/comments&page=([0-9]+)$ index.php?c=comments_ex&id=$1&page=$2


RewriteRule ^feedback/?$ index.php?c=feedback