wsw8wmy 发表于 2011-11-5 16:05:15

ini为静态规则


# 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-(+)([\-])?(+)?\.html$ $1/show\.php\?itemid=$2&page=$4
RewriteRule ^(.*)/list-(+)([\-])?(+)?\.html$ $1/list\.php\?catid=$2&page=$4
RewriteRule ^(.*)/show/(+)/(+)?([/])?$ $1/show\.php\?itemid=$2&page=$3
RewriteRule ^(.*)/list/(+)/(+)?([/])?$ $1/list\.php\?catid=$2&page=$3
RewriteRule ^(.*)/(+)\.co/(.*)$ $1/company/index\.php\?homepage=$2&rewrite=$3
RewriteRule ^(.*)/htm/(.*)$ $1/index\.php\?&rewrite=$2

是这样不? 为啥我弄不成静态企业的不能显示xx.com/com/xxx
页: [1]
查看完整版本: ini为静态规则