AnsweredAssumed Answered

SPS proxyrule - Frontend url changes to backend url on redirection

Question asked by Dsarkar1987 on Mar 3, 2016
Latest reply on Mar 4, 2016 by rusad02

Hi team,

Please help me understanding a basic concept in Siteminder SPS proxyrule.

Lets say, I have SPS in hostmachibe - abc.sitea.com

I have 2 application ABC and MNC in a tomcat on server - xyz.siteb.com

here ABC is a real application while MNO has a single jsp page.

Proxy rules are written to forward resquest to these applications as below:

 

<nete:proxyrules xmlns:nete="http://abc.sitea.com/" debug="yes">

<nete:cond type="uri" criteria="beginswith"><nete:case value="/abc"><nete:forward>http://xyz.siteb.com:8080$0</nete:forward>

</nete:case>

<nete:cond type="uri" criteria="beginswith"><nete:case value="/mno"><nete:forward>http://xyz.siteb.com:8080$0</nete:forward>

</nete:case>

</nete:proxyrules>

 

Now when I access as - abc.sitea.com/mno/c.html   -> Works fine

But when I access - abc.sitea.com/abc/ --> Returns the page as http://xyz.siteb.com:8080/abc/login.do   (URL changing to backend server)

 

So, I am not understanding what causes this behavior. When and why this url changes to the backend server?

Please help.

 

Thanks,

Debasish Sarkar.

Outcomes