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

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[经验] UCH伪静态规则 httpd.ini

[复制链接]
lusong1 发表于 2011-6-10 13:59:40 | 显示全部楼层 |阅读模式
本帖最后由 lusong1 于 2011-6-10 15:28 编辑


规则如下:


  1. [ISAPI_Rewrite]
  2. # 3600 = 1 hour
  3. CacheClockRate 3600
  4. RepeatLimit 32
  5. # Protect httpd.ini and httpd.parse.errors files
  6. # from accessing through HTTP
  7. RewriteRule ^(.*)/topic-(.+)\.html\?*(.*)$ $1/portal\.php\?mod=topic&topic=$2&$3
  8. RewriteRule ^/(space|network)-(.+)\.html$ /$1\.php\?rewrite=$2 [L]
  9. RewriteRule ^/(space|network)\.html$ /$1\.php [L]
  10. RewriteRule ^/([0-9]+)$ /space\.php\?uid=$1 [L]
复制代码
测试完全运行正常,欢迎访问蜂窝网:http://fw.hc27.com




本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
zxshao 发表于 2011-6-24 10:57:39 | 显示全部楼层
不知道好不好使  
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-9-28 08:29 , Processed in 0.780703 second(s), 17 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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