Jump to content
Welcome to our new Citrix community!

Redirect multiple URLs to specific resources/URLs on same port


I C

Recommended Posts

Hi, I'm fairly new to Citrix world, my only experience is with ACD and basic loadbalancing.

 

How is the best way to redirect the 3 links on the same port (80 and 443), example below:

 

http://staff.xxxx.com(same VIP)   > https://xxxx.sharepoint.com/sites/staffxxxx
http://my.xxxx.com(same VIP)          >     https://xxxx.sharepoint.com/sites/myxxxx
http://comm.xxxx.com(same VIP)       >    https://xxxx.sharepoint.com/sites/Commxxxx

 

https://staff.xxxx.com(same VIP)       > https://xxxx.sharepoint.com/sites/staffxxxx
https://my.xxxx.com(same VIP)          >     https://xxxx.sharepoint.com/sites/myxxxx
https://comm.xxxx.com(same VIP)     >   https://xxxx.sharepoint.com/sites/Commxxxx

 

What is above, I think it's not load balancing but we are forced to use ADC to redirect local DNS queries to cloud SharePoint, it can be easily done with a proxy but in our case we are stuck with LB, I hope it makes sense.

 

I imagine it can be done using rewrite and responder policies but I am not sure how to combine them, a simple example will be useful, thanks.

Link to comment
Share on other sites

Link to comment
Share on other sites

Hi,

You can try this

 

Responder Action

add responder action Redirect-Action redirect "\"https://xxxx.sharepoint.com/sites/staffxxxx\"" -responseStatusCode 302

add responder action Redirect-Action redirect "\"https://xxxx.sharepoint.com/sites/myxxxx\"" -responseStatusCode 302

add responder action Redirect-Action redirect "\"https://xxxx.sharepoint.com/sites/Commxxxx\"" -responseStatusCode 302

Responder Policy:

add responder policy Redirect-Policy "HTTP.REQ.HOSTNAME.CONTAINS(\"staff\")" Redirect-Action

add responder policy Redirect-Policy "HTTP.REQ.HOSTNAME.CONTAINS(\"my\")" Redirect-Action

add responder policy Redirect-Policy "HTTP.REQ.HOSTNAME.CONTAINS(\"comm\")" Redirect-Action

 

Binding LB Virtual Server:

bind lb vserver name_of_LB -policyName Redirect-Policy -priority 100 -gotoPriorityExpression END -type REQUEST

 

Thanks

Manoj

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...