首页 » 默认不分类 » 虚拟主机上实现301重定向

虚拟主机上实现301重定向

经测试在iis上面要配置isapi_rewrite 3 版本才可以实现,现在只有免费版,都是全局的规则,httpd.conf中设置规则,不能针对单站设置,商业版可以独立站点设置http.ini。

大多数虚拟主机允许加载 1.3 版本的,

现在网上传播的大多是较老的 1.3 版,建议使用最新的 ISAPI Rewrite 3,功能更完善,规则相对也灵活和丰富。ISAPI Rewrite 3 分为商业版和免费的 Lite 版,商业版可以在每个站点放置一个 httpd.ini 来单独设置规则,免费版只能将规则写到安装目录下的 httpd.conf 文件中,作用于全局。

,

转发到新浪微博 转发到新浪微博

目前这篇文章有2条评论(Rss)

  1. http://www.gpsmoto.org/ | #1
    05/16/2012 at 09:08

    you are truly a just right webmaster. The web site loading velocity is amazing. It seems that you are doing any distinctive trick. In addition, The contents are masterwork. you’ve done a wonderful task on this matter!

  2. zinc | #2
    05/16/2012 at 14:20

    Another very entertaining post. Ive been reading through some of your posts and finally decided to drop a comment on this one. Please feel free to visit my site Doppler

我要评论