客户至上、服务为根、勇于拼搏、务实创新

< 返回上层

如何实现302临时性重定向

2016-06-03 10:22:42 来源:蓝队云

ISAPI是1.3不能实现301永久性重定向的,只能实现302临时性重定向

# For ISAPI_Rewrite 1.x 

[ISAPI_Rewrite]

CacheClockRate 3600

RepeatLimit 32 

RewriteCond Host: ^weijingtai.org$

RewriteRule (.*) http://www.weijingtai.org$1 [R,I]


# For ISAPI_Rewrite 2.x 

RewriteCond Host: ^weijingtai.org$ 

RewriteRule (.*) http://www.weijingtai.org$1 [I,R]