资源描述:
《【dz论坛】在iis环境下配置rewrite规则》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、【DZ论坛】在IIS环境下配置Rewrite规则URL静态化可以提高搜索引擎抓取,开启本功能需要对Web服务器增加相应的Rewrite规则,且会轻微增加服务器负担。本教程讲解如何在IIS环境下配置各个产品的Rewrite规则。一、首先下载Rewrite.zip的包,解压到任意盘上的任意目录。各个产品的Rewrite规则包不同,请选择对应的产品下载对应的Rewrite规则。Discuz!6.0.0/6.1.0的Rewrite规则下载地址:http://www.discuz.net/attachment.php?aid=195279UCenterHome1.0.0的Rewrite规则下载地址:
2、http://u.discuz.net/help/down/iisRewrite.rarSupeSite6.0_X-Space4.0_UC的Rewrite规则下载地址:http://www.supesite.com/download/iisrewrite.zipSupeV的Rewrite规则下载地址:http://download.comsenz.com/SupeV/tools/rewrite_iis.zip下载各个产品的Rewrite规则并且重命名后如下图所示存放:二、配置方法Discuz!、UCHome、SupeSite/X-Space、SupeV的Rewrite配置方法类似,下面以D
3、iscuz!6.0.0/6.1.0的Rewrite规则配置方法为例讲解如何在IIS环境下配置Rewrite规则。在IIS管理器里选择网站,右键选择“属性”,如下图所示:5.1-9,,services,andmakethecitymoreattractive,strengtheningpublictransportinvestment,establishedasthebackboneoftheurbanrailtransitmulti-level,multi-functionalpublictransportsystem,thusprotectingtheregionalpositionan
4、dachieve在弹出的窗口里选择“ISAPI筛选器”5.1-9,,services,andmakethecitymoreattractive,strengtheningpublictransportinvestment,establishedasthebackboneoftheurbanrailtransitmulti-level,multi-functionalpublictransportsystem,thusprotectingtheregionalpositionandachieve上图中点击“添加”,在弹出的窗口里“筛选器名称”填写“rewrite”5.1-9,,service
5、s,andmakethecitymoreattractive,strengtheningpublictransportinvestment,establishedasthebackboneoftheurbanrailtransitmulti-level,multi-functionalpublictransportsystem,thusprotectingtheregionalpositionandachieve上图界面中点击“浏览”,选择下载解压后的Discuz!Rewrite规则目录下的Rewrite.dll文件5.1-9,,services,andmakethecitymoreatt
6、ractive,strengtheningpublictransportinvestment,establishedasthebackboneoftheurbanrailtransitmulti-level,multi-functionalpublictransportsystem,thusprotectingtheregionalpositionandachieve浏览完毕点击“确定”5.1-9,,services,andmakethecitymoreattractive,strengtheningpublictransportinvestment,establishedasthebac
7、kboneoftheurbanrailtransitmulti-level,multi-functionalpublictransportsystem,thusprotectingtheregionalpositionandachieve添加完毕点击“确定”5.1-9,,services,andmakethecitymoreattractive,strengtheningpublictransportinvestment