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

ini为静态规则

[复制链接]

18

主题

20

回帖

114

积分

注册会员

积分
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, 2026-2-2 23:43 , Processed in 0.023279 second(s), 27 queries .

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

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