AKCMS的nginx伪静态规则

作者:CQman 发布时间:September 4, 2013浏览:104791 分类:主机域名

location / {
rewrite ^/$ /index.php last;
rewrite ^/([a-zA-Z0-9\-_\/]+)/([a-zA-Z0-9\-_\/]+)/([a-zA-Z0-90-9]+).htm$ /article.php?id=$3 last;
rewrite ^/([a-zA-Z0-9\-_\/]+)/([a-zA-Z0-90-9]+)/index.html$ /category.php?id=$2 last;
rewrite ^/([a-zA-Z0-9\-_\/]+)/index.html$ /category.php?id=$1 last;
rewrite ^/([a-zA-Z0-9\-_\/]+)/index.html$ /category.php?id=$1&page=$2 last;
}
akcms.zip
赞助商链接

标签: rewrite, akcms, ngnix

您可能会感兴趣的文章:

添加新评论 »