Hi…I’m new to iRules and have received a request to do the following in the same iRule:
1 redirect from one domain to another
and look for a query string…and if found append with condition…if not..add the query..
For example:
https://original.domain.com/page.asmx?datatype=data
changes to
https://new.domain.om/page.asmx?datatype=data&cntgrp=Q
or
https://original.domain.com/page.asmx
changes to
https://new.domain.com/page.asmx?cntgrp=Q
Any suggestions on the structure of this iRule…and also any great places to work on irule examples for practice?
Thanks,
Jim