1. 论坛系统升级为Xenforo,欢迎大家测试!
    排除公告

老鬼,能不能给这个论坛的REWRITE规则来?

本帖由 BoBo2007-03-22 发布。版面名称:后端开发

  1. BoBo

    BoBo New Member

    注册:
    2005-09-29
    帖子:
    929
    赞:
    0
    rt

    thanks
     
  2. laogui

    laogui Administrator
    管理成员

    注册:
    2005-08-30
    帖子:
    15,216
    赞:
    35
    我的太简单了,就两个规则
    RewriteEngine on
    RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
    RewriteRule .* - [F]
    RewriteRule /f([0-9]+)$ /forumdisplay.php?f=$1 [L]
    RewriteRule /([0-9]+)$ /showthread.php?t=$1 [L]
     
  3. BoBo

    BoBo New Member

    注册:
    2005-09-29
    帖子:
    929
    赞:
    0