Quantcast
Channel: General
Viewing all articles
Browse latest Browse all 7363

IIS8, jboss and ARR

$
0
0

I am trying to migrate from an older windows server 2003 using ISAPI_redirect to connect to a jboss application server. This server has worked for years but is failing PCI scans and I thought why not upgrade to a new server so I am moving to Windows server 2012 running iis8 and Application Request Routing. I followed this guide and was able to get the server farm setup and I can connect to the JBOSS admin page and it works fine. The trouble I am having is with the rules, I need this server to point to the application and instead it's pointing to the main webpage.

JBOSS is being run on another server and is NOT being run locally on the IIS server.

http://danny.bag.gs/blog/2010/05/14/iis7-tomcat-application-request-routing/

Example:

What it points to - www.domain.com

What I need - www.domain.com/application/signon

I am sure it is something easy but I am having trouble getting the rules setup properly. Here is a snapshot of my rules and I only have one global rule defined.

<rewrite>
            <globalRules>
                <clear />
                <rule name="ARR_Tomcat_loadbalance" enabled="true" patternSyntax="ECMAScript" stopProcessing="true">
                    <match url=".*" />
                    <conditions logicalGrouping="MatchAll" trackAllCaptures="false">
                    </conditions>
                    <action type="Rewrite" url="http://Tomcat/{R:0}" />
                </rule>
            </globalRules>
        </rewrite>

Things I have tried:

1. Change the Action properties path to read /application/signon instead of /{R:0}. This seems to cause weird graphic and form issues on the website but it redirects properly. 

2. If I leave the /{R:0} alone and manually open the URL  www.domain.com/application/signon the website works perfectly. 

Thanks for any help.Shannon


Viewing all articles
Browse latest Browse all 7363

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>