discuz论坛伪静态设置
2009-11-05 09:58
155 查看
[ISAPI_Rewrite]
# 3600 = 1 hour
CacheClockRate 3600
RepeatLimit 32
# DISCUZ论坛+UCHome Rewrite规则,针对可操作IIS用户,
# 此默认规则只针对UCHome程序放在根目录中用独立域名访问的,论坛也可以直接用.
RewriteRule ^(.*)/archiver/((fid|tid)-[/w/-]+/.html)/?*(.*)$ $1/archiver/index/.php/?$2&$4
RewriteRule ^(.*)/forum-([0-9]+)-([0-9]+)/.html/?*(.*)$ $1/forumdisplay/.php/?fid=$2&page=$3&$4
RewriteRule ^(.*)/thread-([0-9]+)-([0-9]+)-([0-9]+)/.html/?*(.*)$ $1/viewthread/.php/?tid=$2&extra=page/%3D$4&page=$3&$4
RewriteRule ^(.*)/space-(username|uid)-(.+)/.html/?*(.*)$ $1/space/.php/?$2=$3&$4
RewriteRule ^(.*)/tag-(.+)/.html/?*(.*)$ $1/tag/.php/?name=$2&$3
RewriteRule ^/(space|network)-(.+)/.html$ /$1/.php/?rewrite=$2 [L]
RewriteRule ^/(space|network)/.html$ /$1/.php [L]
RewriteRule ^/([0-9]+)$ /space/.php/?uid=$1 [L]
# Protect httpd.ini and httpd.parse.errors files
# from accessing through HTTP
# 3600 = 1 hour
CacheClockRate 3600
RepeatLimit 32
# DISCUZ论坛+UCHome Rewrite规则,针对可操作IIS用户,
# 此默认规则只针对UCHome程序放在根目录中用独立域名访问的,论坛也可以直接用.
RewriteRule ^(.*)/archiver/((fid|tid)-[/w/-]+/.html)/?*(.*)$ $1/archiver/index/.php/?$2&$4
RewriteRule ^(.*)/forum-([0-9]+)-([0-9]+)/.html/?*(.*)$ $1/forumdisplay/.php/?fid=$2&page=$3&$4
RewriteRule ^(.*)/thread-([0-9]+)-([0-9]+)-([0-9]+)/.html/?*(.*)$ $1/viewthread/.php/?tid=$2&extra=page/%3D$4&page=$3&$4
RewriteRule ^(.*)/space-(username|uid)-(.+)/.html/?*(.*)$ $1/space/.php/?$2=$3&$4
RewriteRule ^(.*)/tag-(.+)/.html/?*(.*)$ $1/tag/.php/?name=$2&$3
RewriteRule ^/(space|network)-(.+)/.html$ /$1/.php/?rewrite=$2 [L]
RewriteRule ^/(space|network)/.html$ /$1/.php [L]
RewriteRule ^/([0-9]+)$ /space/.php/?uid=$1 [L]
# Protect httpd.ini and httpd.parse.errors files
# from accessing through HTTP
相关文章推荐
- discuz论坛设置帖子审核后才可发布
- 设置Discuz 7论坛游客可以查看图片,但不能下载附件.
- Discuz!开发之将论坛首页设置为某个版块页面的方法
- Discuz!X3.2版设置论坛QQ在线客服号码无法发起聊天的问题解决办法
- discuz插件伪静态如何设置,根据独游魔盒设置经验进行讲解
- DISCUZ论坛中如何设置列表文章显示的条数呢?
- Discuz!教程之论坛设置过滤词无效的解决方法
- 论坛升至discuz5.0时遇到了这个问题--交易手续费设置有误,请返回修改
- 图文解说:Discuz论坛基础设置第一弹
- CentOS 上部署Discuz!X论坛3 - Discuz设置 推荐
- 在win2008 iis7下如何设置Discuz伪静态教程
- Discuz!教程之论坛设置发帖时默认打开附加选项等功能
- discuz论坛用户--设置--修改头像不显示
- Discuz 论坛设置发帖最大字数
- discuz! 设置私密论坛版块的方法
- Discuz论坛附件设置超过8M不能上传的问题
- discuz论坛后台部分设置更改之后,清除了缓存网站前台不更新不生效的解决办法
- Discuz!论坛各版本通用SEO优化设置教程
- DISCUZ 论坛管理员密码忘记,如何通过数据库的重新设置密码