一聚教程网:一个值得你收藏的教程网站

最新下载

热门教程

iis ISAPI_Rewrite 301 重定向域名

时间:2022-06-25 14:46:13 编辑:袖梨 来源:一聚教程网

# for isapi_rewrite 1.3 重定向域名
#重定向111com.net
rewritecond host: ^111com.net$
rewriterule (.*) http://111com.net$1 [i,r]
#重定向www.uuwar.org
rewritecond host: ^www.111com.net$
rewriterule (.*) http://www.111com.net$1 [i,r]

 

# for isapi_rewrite 2.x
rewritecond host: ^maphack.org$
rewriterule (.*) http://111com.net$1 [i,rp]
rewritecond host: ^www.maphack.org$
rewriterule (.*) http://www.111com.net$1 [i,rp]

# for isapi_rewrite 3.x
rewritecond %{http:host} ^maphack.org$
rewriterule (.*) http://111com.net$1 [nc,r=301] rewritecond %{http:host} ^www.maphack.org$
rewriterule (.*) http://www.111com.net$1 [nc,r=301]

 

# for isapi_rewrite 2.x
rewriterule ^/1.html$ http://www.111com.net/index.html [i,o,rp,l]

# for isapi_rewrite 3.x
rewriterule ^/1.html$ http://www.111com.net/index.html [nc,l,r=301,o]

热门栏目