# 文章伪静态的url_rewrite规则，改名成 .htaccess 放网站根目录下

RewriteEngine on
RewriteBase /

RewriteRule ^files/article/info/[0-9]+/([0-9]+)\.htm$                modules/article/articleinfo.php?id=$1&%{QUERY_STRING}
RewriteRule ^files/article/sort([0-9]*)/[0-9]+/([0-9]+)\.htm$        modules/article/index.php?page=$2&class=$1&%{QUERY_STRING}
RewriteRule ^files/article/initial([01A-Z])/[0-9]+/([0-9]+)\.htm$    modules/article/index.php?page=$2&initial=$1&%{QUERY_STRING}
RewriteRule ^files/article/top([a-z]+)/[0-9]+/([0-9]+)\.htm$         modules/article/toplist.php?page=$2&sort=$1&%{QUERY_STRING}