destoon采集论坛

 找回密码
 立即注册
查看: 43|回复: 0

ini为静态规则

[复制链接]

18

主题

20

回帖

114

积分

注册会员

Rank: 2

积分
114
发表于 2011-11-5 16:05:15 | 显示全部楼层 |阅读模式
[ISAPI_Rewrite]
# 3600 = 1 hour
CacheClockRate 3600
RepeatLimit 32
# Protect httpd.ini and httpd.parse.errors files
# from accessing through HTTP
RewriteRule ^(.*)-htm-(.*)$ $1\.php\?$2
RewriteRule ^(.*)/show-([0-9]+)([\-])?([0-9]+)?\.html$ $1/show\.php\?itemid=$2&page=$4
RewriteRule ^(.*)/list-([0-9]+)([\-])?([0-9]+)?\.html$ $1/list\.php\?catid=$2&page=$4
RewriteRule ^(.*)/show/([0-9]+)/([0-9]+)?([/])?$ $1/show\.php\?itemid=$2&page=$3
RewriteRule ^(.*)/list/([0-9]+)/([0-9]+)?([/])?$ $1/list\.php\?catid=$2&page=$3
RewriteRule ^(.*)/([a-z0-9]+)\.co/(.*)$ $1/company/index\.php\?homepage=$2&rewrite=$3
RewriteRule ^(.*)/htm/(.*)$ $1/index\.php\?&rewrite=$2

是这样不? 为啥我弄不成静态  企业的不能显示xx.com/com/xxx
回复

使用道具 举报

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

本版积分规则

QQ|小黑屋|手机版|Archiver|destoon采集论坛

GMT+8, 2025-11-26 16:37 , Processed in 0.013024 second(s), 20 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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