Setting up ARR in IIS
Set up the Microsoft Application Routing Request (ARR) redirector on IIS to enable integration with Tomcat.
Procedure
- If you currently have an ISAPI redirector set up to integrate IIS and Tomcat, configured with isapi_redirect.dll, undo the steps for setting up this assembly, remove or rename the filter, and restart IIS and Tomcat.
- Open an internet browser and access the URL http://HOSTNAME where HOSTNAME is the host name of your server. If you configured a different port for IIS than 80 (default), add
:PORT, where PORT is your IIS port number.You should see a Web page that displays Under Construction. - Download and install ARR with Web Platform Installer.
- Open IIS Manager and in the application window, click the top of the tree (your system name).
- Double-click Microsoft Application Request Routing in the middle pane.
- Select Server Proxy Settings in the right hand pane.
- Select Enable Proxy in the middle pane and select Apply.
- Select Sites in the left pane and expand it if necessary, then select Default Web Site.
- Double-click URL Rewrite in the middle pane.
A pop-up window opens.
- Select Add Rule in the right pane, and then Blank Rule to create a new rule for
jspexamplesand forcw.For example, you might assign values for the first rule (jspexamples) as follows:
Property Value Name jspexamplesPattern (examples.+)Rewrite URL http://HOSTNAME:8080/{R:0} And you might assign values for the second rule (cw) as follows:
Property Value Name cwPattern (cw.+)Rewrite URL http://HOSTNAME:8080/{R:0} where HOSTNAME is the host name of your server.
- Select Apply in the right pane.
- If you still have more rules to create, click Back to Rules in the right pane.