Forum Discussion
Opher_Shachar_6
Nimbostratus
Thats what a LTM Policy would look like:
ltm policy mycompany.com_policy {
controls { forwarding }
requires { http }
rules {
egift {
actions {
0 {
http-reply
redirect
location https://456.mycompany.com[HTTP::uri]
}
}
conditions {
0 {
http-host
host
values { 123.mycompany.com }
}
1 {
http-uri
path
values { /egift.aspx }
}
}
ordinal 1
}
}
strategy first-match
}
marv_Williams_5
Sep 11, 2015Nimbostratus
Further clarification:
- hostname changes from mycompany.com to egift.mycompany.com
- uri remains egift.aspx all the way through
-user enters dynamic content in the request (mycompany.com/egift.aspx?eid=xxxxxxx&tid=xxxxxxx and the is then redirected with new dynamic content.
ex: egift.mycompany.com/egift.aspx?eid=a&tid=b
Hope this makes sense?