File size: 1.14Kb
AddDefaultCharset UTF-8
# Магические кавычки
php_flag magic_quotes_gpc Off
php_flag magic_quotes_runtime Off
php_flag magic_quotes_sybase Off
RewriteEngine On
RewriteRule ^agreement.xhtml$ pages/agreement.php [L,QSA]
RewriteRule ^me.xhtml$ pages/me.php [L,QSA]
RewriteRule ^smiles.xhtml$ pages/smiles.php [L,QSA]
RewriteRule ^bb_codes.xhtml$ pages/bb.php [L,QSA]
RewriteRule ^statistics.xhtml$ pages/stat.php [L,QSA]
RewriteRule ^all_category.xhtml/$ all_cat.php [L,QSA]
RewriteRule ^all_category.xhtml$ all_cat.php [L,QSA]
RewriteRule ^all_category.xhtml/page=([a-z0-9]+)$ all_cat.php?page=$1 [L,QSA]
RewriteRule ^all_notes.xhtml$ all_note.php [L,QSA]
RewriteRule ^all_notes.xhtml/page=([a-z0-9]+)$ all_note.php?page=$1
RewriteRule ^notes/([A-Za-z0-9_\-]*)-([0-9]*)\.xhtml$ view_note.php?id=$2 [L,QSA]
RewriteRule ^category-([0-9]+).xhtml$ view_cat.php?id=$1
RewriteRule ^category-([0-9]+).xhtml/page=([a-z0-9]+)$ view_cat.php?id=$1&page=$2 [L,QSA]
RewriteRule ^comment-([0-9]+).xhtml$ pages/comment.php?id=$1
RewriteRule ^comment-([0-9]+).xhtml/page=([a-z0-9]+)$ pages/comment.php?id=$1&page=$2 [L,QSA]