Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[已答复] lighttpd的vps服务器如何允许X静态化

[复制链接]
www21cucom 发表于 2010-5-21 04:11:58 | 显示全部楼层 |阅读模式
求lighttpd可用的X静态化规则!
老谁家的小谁 发表于 2010-5-24 12:30:27 | 显示全部楼层
  1. #Lighttpd for X

  2. url.rewrite-once = (
  3. "^(.*)/topic-(.+)\.html$" => "$1/portal.php?mod=topic&topic=$2",
  4. "^(.*)/article-([0-9]+)\.html$" => "$1/portal.php?mod=article&articleid=$2",
  5. "^(.*)/forum-([0-9]+)-([0-9]+)\.html$" => "$1/forum.php?mod=forumdisplay&fid=$2&page=$3",
  6. "^(.*)/thread-([0-9]+)-([0-9]+)-([0-9]+)\.html$" => "$1/forum.php?mod=viewthread&tid=$2&extra=page\%3D$4&page=$3",
  7. "^(.*)/group-([0-9]+)-([0-9]+)\.html$" => "$1/forum.php?mod=group&fid=$2&page=$3",
  8. "^(.*)/space-(username|uid)-(.+)\.html$" => "$1/home.php?mod=space&$2=$3"
  9. )
复制代码
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2024-5-17 09:48 , Processed in 0.102482 second(s), 16 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表