利用IIS7配置反向代理大量建设出租目录排名的方

1.首先前往http://www.iis.net/extensions/ApplicationRequestRouting下载Application Request Routing,然后

  应用Application Request Routing在IIS7配置反向代理
iis7反向代理

  1.首先前往http://www.iis.net/extensions/ApplicationRequestRouting下载Application Request Routing,然后安装

  2.安装完后在IIS管理界面找到ARR配置菜单:Application Request Routing

  3.点击右测开启Proxy项:server proxy settings..

  4.打开配置界面 在Enable proxy前面打勾保存

  5.在站点下建立web.config保存代码

  iis7全站反向代理设置

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.webServer>
        <rewrite>
            <rules>
                <rule name="fxdl" stopProcessing="true">
                    <match url="^(.*)" />
                    <conditions>
                        <add input="{HTTP_HOST}" pattern="(.*)" ignoreCase="false" />
                    </conditions>
                    <action type="Rewrite" url="http://www.seo-h.com/{R:1}" />
                </rule>
            </rules>
        </rewrite>
    </system.webServer>
</configuration>

  iis7二级目录反向代理设置

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.webServer>
        <rewrite>
            <rules>
                <rule name="secsafe" stopProcessing="true">
                    <match url="^abc(.*)" />
                    <conditions>
                        <add input="{HTTP_HOST}" pattern="(.*)" ignoreCase="false" />
                    </conditions>
                    <action type="Rewrite" url="http://www.seo-h.com/abc{R:1}" />
                </rule>
            </rules>
        </rewrite>
    </system.webServer>
</configuration>

下一篇:没有了

联系我们

蜘蛛池客服一:

蜘蛛池客服二:

Onlie Service

便捷的在线服务!

Work hours

北京时间:13:00-23:00

【免明】:权重蜘蛛池旨在为站长提供快速收录,增加网站权重外链,请遵守国家法律法规!