6 Star 14 Fork 7

Fize / ashapo

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.htaccess 608 Bytes
一键复制 编辑 原始数据 按行查看 历史
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
#默认首页
RewriteRule ^index.htm[l]?[\/]?$ /index.asp?a=index
#新闻首页
RewriteRule ^news(?:[\/]?(?:index.htm[l]?)?)?$ /index.asp?m=news
#新闻分页
RewriteRule ^news\/p-([\d]+).html$ /index.asp?m=news&p=$1
#新闻分页
RewriteRule ^news\/p-([\d]+).html$ /index.asp?m=news&p=$1
#新闻内容
RewriteRule ^news\/([\d]+).html$ /index.asp?m=news&a=read&id=$1
#后台入口
RewriteRule ^admin(?:[\/]?(?:index.htm[l]?)?)?$ /index.asp?g=admin&m=index&a=index
</IfModule>
ASP
1
https://gitee.com/fizechan/ashapo.git
git@gitee.com:fizechan/ashapo.git
fizechan
ashapo
ashapo
master

搜索帮助