300M国内免备案空间
300M网站空间,送60M数据库!
现价只要:12元/月
现在购买>>
600M国内免备案空间
600M网站空间,送100M数据库!
现价只要:19元/月
现在购买>>
1G国内免备案空间
1G网站空间,送200M数据库!
现价只要:36元/月
现在购买>>
100M香港免备案空间
100M网站空间,送30M数据库!
现价只要:5元/月
现在购买>>
300M香港免备案空间
300M网站空间,送160M数据库!
现价只要:7元/月
现在购买>>
1G香港免备案空间
1G网站空间,送200M数据库!
现价只要:10元/月
现在购买>>
购买国内免备案空间 | 购买香港空间【不限iis】 | 购买美国空间【不限流量及CPU】 |
.Net专用空间 | 成品网站【程序+域名+空间】 | 特价美国空间 |
优化排名【不上首页不扣费】 | 优惠套餐 | 香港云主机/VPS |
[ISAPI_Rewrite]
# 3600 = 1 hour
CacheClockRate 3600
RepeatLimit 32
# Protect httpd.ini and httpd.parse.errors files
# from accessing through HTTP
RewriteRule ^(.*)/topic-(.+)\.html(\?(.*))*$ $1/portal\.php\?mod=topic&topic=$2&$4
RewriteRule ^(.*)/article-([0-9]+)-([0-9]+)\.html(\?(.*))*$ $1/portal\.php\?mod=view&aid=$2&page=$3&$5
RewriteRule ^(.*)/forum-(\w+)-([0-9]+)\.html(\?(.*))*$ $1/forum\.php\?mod=forumdisplay&fid=$2&page=$3&$5
RewriteRule ^(.*)/thread-([0-9]+)-([0-9]+)-([0-9]+)\.html(\?(.*))*$ $1/forum\.php\?mod=viewthread&tid=$2&extra=page\%3D$4&page=$3&$6
RewriteRule ^(.*)/group-([0-9]+)-([0-9]+)\.html(\?(.*))*$ $1/forum\.php\?mod=group&fid=$2&page=$3&$5
RewriteRule ^(.*)/space-(username|uid)-(.+)\.html(\?(.*))*$ $1/home\.php\?mod=space&$2=$3&$5
RewriteRule ^(.*)/([a-z]+)-(.+)\.html(\?(.*))*$ $1/$2\.php\?rewrite=$3&$5
以上是httpd.ini文件的所有内容,注:此方法只适用于 iis 的系统空间
规则写好以后,上传到空间的根目录即可,然后就是进到论坛后台管理页面:
配置好httpd.ini文件后,进入后台管理,全局- seo设置,全选后,然后确定,更新缓存,搞定。
以上是我配置discuz伪静态的方法,完全可用!