产品使用及交流论坛

注册

 

QQ登录

只需一步,快速开始

发新话题 回复该主题

PA的ISAPI_Rewrite是什么版本的? [复制链接]

1#
因为我想做301重定向的,我看文章版本不同,规则写法也不同。请问,我使用的是PA网站上下载的DLL。请问版本是多少的呢?
  1. # ISAPI_Rewrite 1.3 版本 域名的301重定向
  2. RewriteCond Host: ^www\.farlee\.info$
  3. RewriteRule (.*) http\://farlee\.info$1 [I,R]
复制代码
  1. # ISAPI_Rewrite 2.x 版本
  2. RewriteCond Host: ^www\.farlee\.info$
  3. RewriteRule (.*) http\://farlee\.info$1 [I,RP]
复制代码
  1. # ISAPI_Rewrite 3.x 版本
  2. RewriteCond %{HTTP:Host} ^www\.farlee\.info$
  3. RewriteRule (.*) http\://farlee\.info$1 [NC,R=301]
复制代码
分享 转发
TOP
2#

给个URL呗???
TOP
发新话题 回复该主题