- muyang2013-12-04金牌会员13787
- 本帖最后由 muyang 于 2013-12-4 22:41 编辑 *
第一段:
- [ISAPI_Rewrite]
- - # 3600 = 1 hour
- CacheClockRate 3600
- - RepeatLimit 32
- - RewriteRule ^(.*)/index.html$ $1/index.php
- RewriteRule ^(.)/news(.)/$ $1/index.php?page=$2
- RewriteRule ^(.)/sitemap(.).html$ $1/sitemap.php?page=$2
- RewriteRule ^(.*)/robots.txt$ $1/robots.php
- RewriteRule ^(.*)/404.html$ $1/404.php复制代码
第二段:
- [ISAPI_Rewrite]
- - # 3600 = 1 hour
- CacheClockRate 3600
- - RepeatLimit 32
- # UCHome Rewrite规则
- # 独立主机用户
- - RewriteRule ^(.*)\/index\.html$ $1\/index\.php
- RewriteRule ^(.)\/news(.)\/$ $1\/index\.php\?page=$2
- RewriteRule ^(.)\/sitemap(.)\.html$ $1\/sitemap\.php\?page=$2
- RewriteRule ^(.*)\/robots\.txt$ $1\/robots\.php
- 复制代码
两段一样的效果吧?第一段的RepeatLimit 32以下,是不是可以直接用于.htaccess?