Файл: www/adforum/.htaccess
Строк: 14
RewriteEngine On
RewriteRule ^([a-z]+)_([0-9]+)$
index.php?mod=$1&fid=$2 [L,QSA]
RewriteRule
^([a-z]+)_([0-9]+)_([a-z0-9]+)$ index.php?mod=$1&fid=$2&page=$3
[L,QSA]
RewriteRule ^([a-z]+)_([0-9]+)_([0-9]+)_([a-z0-9]+)$
index.php?mod=$1&fid=$2&nk=$3&page=$4 [L,QSA]
RewriteRule
^who_([a-z]+)$ who.php?mod=$1 [L,QSA]
RewriteRule ^who_([a-z]+)_([0-9]+)$
who.php?mod=$1&fid=$2 [L,QSA]
## Админка
##Попадаем в
форум/раздел/тему
RewriteRule ^admin_([a-z0-9]+)$
admin.php?mod=$1 [L,QSA]
RewriteRule ^admin_([a-z0-9]+)_([0-9]+)$
admin.php?mod=$1&fid=$2 [L,QSA]
##Попадаем в
форум/раздел/тему
RewriteRule
^admin_([a-z0-9]+)_([0-9]+)_([a-z0-9]+)$
admin.php?mod=$1&fid=$2&page=$3 [L,QSA]
RewriteRule ^([a-z0-9]+)$
$1.php [L,QSA]
RewriteRule ^([a-z0-9]+)_([a-z0-9]+)$ $1_$2.php
[L,QSA]
RewriteRule ^([a-z0-9]+)/([a-z0-9]+)$ $1/$2.php [L,QSA]
RewriteRule
^([a-z0-9]+)/([a-z0-9]+)_([a-z0-9]+)$ $1/$2_$3.php
[L,QSA]
########################Ссылки##########################################################
RewriteRule
^([a-z0-9]+).php10$ $1.php [L,QSA]
#
RewriteRule ^([a-z0-9]+).wml$ $1.php [L,QSA]
#
RewriteRule ^([a-z0-9]+).html$ $1.php [L,QSA]
#
RewriteRule ^([a-z0-9]+).cgi$ $1.php [L,QSA]
#
RewriteRule ^([a-z0-9]+).perl$
$1.php [L,QSA] #
RewriteRule
^([a-z0-9]+).shaxter$ $1.php [L,QSA]
#
RewriteRule ^([a-z0-9]+).shaxty$ $1.php [L,QSA]
#
#
RewriteRule ^([a-z0-9]+)_([a-z0-9]+).php10$
$1_$2.php [L,QSA] #
RewriteRule
^([a-z0-9]+)_([a-z0-9]+).wml$ $1_$2.php [L,QSA]
#
RewriteRule ^([a-z0-9]+)_([a-z0-9]+).html$ $1_$2.php [L,QSA]
#
RewriteRule ^([a-z0-9]+)_([a-z0-9]+).cgi$ $1_$2.php [L,QSA]
#
RewriteRule ^([a-z0-9]+)_([a-z0-9]+).perl$
$1_$2.php [L,QSA] #
RewriteRule
^([a-z0-9]+)_([a-z0-9]+).shaxter$ $1_$2.php [L,QSA]
#
RewriteRule ^([a-z0-9]+)_([a-z0-9]+).shaxty$ $1_$2.php [L,QSA]
#
#
RewriteRule ^([a-z0-9]+)/([a-z0-9]+).php10$
$1/$2.php [L,QSA] #
RewriteRule
^([a-z0-9]+)/([a-z0-9]+).wml$ $1/$2.php [L,QSA]
#
RewriteRule ^([a-z0-9]+)/([a-z0-9]+).html$ $1/$2.php [L,QSA]
#
RewriteRule ^([a-z0-9]+)/([a-z0-9]+).cgi$ $1/$2.php [L,QSA]
#
RewriteRule ^([a-z0-9]+)/([a-z0-9]+).perl$
$1/$2.php [L,QSA] #
RewriteRule
^([a-z0-9]+)/([a-z0-9]+).shaxter$ $1/$2.php [L,QSA]
#
RewriteRule ^([a-z0-9]+)/([a-z0-9]+).shaxty$ $1/$2.php [L,QSA]
#
#
RewriteRule
^([a-z0-9]+)/([a-z0-9]+)_([a-z0-9]+).php10$ $1/$2_$3.php [L,QSA]
#
RewriteRule ^([a-z0-9]+)/([a-z0-9]+)_([a-z0-9]+).wml$ $1/$2_$3.php
[L,QSA] #
RewriteRule
^([a-z0-9]+)/([a-z0-9]+)_([a-z0-9]+).html$ $1/$2_$3.php [L,QSA]
#
RewriteRule ^([a-z0-9]+)/([a-z0-9]+)_([a-z0-9]+).cgi$ $1/$2_$3.php
[L,QSA] #
RewriteRule
^([a-z0-9]+)/([a-z0-9]+)_([a-z0-9]+).perl$ $1/$2_$3.php [L,QSA]
#
RewriteRule ^([a-z0-9]+)/([a-z0-9]+)_([a-z0-9]+).shaxter$ $1/$2_$3.php
[L,QSA] #
RewriteRule ^([a-z0-9]+)/([a-z0-9]+)_([a-z0-9]+).shaxty$
$1/$2_$3.php [L,QSA]
#
########################################################################################