Forum Discussion

Jason_19901's avatar
Jason_19901
Icon for Nimbostratus rankNimbostratus
May 20, 2013

iRule for Reverse Proxy

Have a need to add in some javascript files for application being load balanced. we are moving away from juniper ssl and based on Username, it will capture the location from AD and provide needed assets. I am looking for some assistance on putting these files in an iRule.

 

 

Here are the resources in Juniper

 

 

http://myxyqa.something.com:80/services/citrix/apps.ashx*

 

http://myxyqa.something.com:80/services/citrix/launch.ica*

 

http://myxydev.something.com:80/services/citrix/apps.ashx*

 

http://myxydev.something.com:80/services/citrix/launch.ica*

 

http://myxy.something.com:80/services/citrix/apps.ashx*

 

http://myxy.something.com:80/services/citrix/launch.ica*

 

 

Header values

 

x-UserLocation us.xy.com

 

X-JuniperHello www.xy.com

 

X-ForwardedUsername

 

X-ForwardedPassword

 

 

Any help would be awesome.

 

7 Replies

  • The files *could* be served with an iRule. Are the files static? May I ask what you're trying to achieve with this?
  • yes these files are static. these files are embedded in our intranet site and they allow a user to log in and based on user location, this will direct them to the correct citrix farm and the correct xenapp server.
  • I want to insert these files in to the header of the log on page of APM