Reverse Proxy IIS two directories and directory pan

Suitable for windows host first say something, IIS6 a little old, wants to reverse proxy basically the game is, so I use IIS7.5 and IIS8.5 say something! windows server2008 iis7 use ApplicationRequest Routing achieve secondary directory reverse proxy.

What is the introduction to the first reverse proxy? Refers to the proxy server to accept connection requests on the Internet, and then forwards the request to the server on the internal network, and returns the results obtained from the server to the client connection requests on the Internet, in which case the external proxy server on the performance of a server. We can achieve through the reverse proxy load balancing, break through the firewall restrictions and some very useful Web server function, there are many, many reverse proxy with the matter in a private cloud or public cloud virtual machines.

Step One: Download and install ARR (Application Request Routing), http://www.iis.net/downloads/microsoft/application-request-routing: download, the installation process is very simple!

The second step, briefly setting ARR, configure Application Request Routing Cache, after the installation is complete, IIS there will be more than two icons, namely the Application Request Routing and URL rewriting. After the 2.0 version (that is, 2008 or Win7 system) need to double-click ApplicationRequest Routing, Server Proxy Settings on the right side, the proxy feature is turned on, and later versions of Win8 own acquiescence opened:

iis two analytical reverse proxy directory pan (Pan comprising directory)

iis two analytical reverse proxy directory pan (Pan comprising directory)

1, set the proxy

iis two analytical reverse proxy directory pan (Pan comprising directory)

iis two analytical reverse proxy directory pan (Pan comprising directory)

2, start the proxy

iis two analytical reverse proxy directory pan (Pan comprising directory)

iis two analytical reverse proxy directory pan (Pan comprising directory)

Applications can be

The third step is to set a reverse proxy:

ARR after the basic set up, we need to build a good website to enter URL rewriting configurations on a IIS,

 

Page 2 / (5 pages)

A method, modify or create site root Web.config there are no modifications are created, follows the column and the domain name parameter can modify according to their needs

<?xml version="1.0" encoding="UTF-8"?>

<configuration>

<system.webServer>

<defaultDocument>

<files>

<clear />

<add value="index.html" />

<add value="index.php" />

<add value="index.htm" />

<add value="Default.htm" />

<add value="default.aspx" />

<add value="Default.asp" />

<add value="iisstart.htm" />

</files>

</defaultDocument>

<rewrite>

<rules>

<rule name="ReverseProxyInboundRule1" stopProcessing="true">

<match url="^bet(.*)" />

<action type="Rewrite" url="http://118.184.82.6/{R:1}" />

<conditions>

<add input="{HTTP_HOST}" pattern="www.51zixueba.com" />

</conditions>

</rule>

</rules>

</rewrite>

</system.webServer>

</configuration>

Guess you like

Origin blog.csdn.net/c2289206/article/details/91849631