Forum Discussion
URL Redirect with variable
Hi again, Our source and target link below and you can see my irule. I think my problem start after ? query How can i configure irule after ? query. Is this irule work?
Source http://test.abc.com/xyz/aa/srt/rfc/rc/TST_Z_WS_PORTAL?xyz-client=010&xyz-user=wsuser&xyz-password=sm3jl6qc3dr
Target http://xyztstr.abc.com:8010/xyz/aa/srt/rfc/rc/Z_WS_PORTAL_EMTIA?xyz-client=010&xyz-user=wsuser&xyz-password=sm3jl6qc3dr
when HTTP_REQUEST { if { [HTTP::path] starts_with "/xyz/aa/srt/rfc/rc/TST_Z_WS_PORTAL? } { HTTP::redirect "http://xyztstr.abc.com:8010/xyz/aa/srt/rfc/rc/Z_WS_PORTAL_EMTIA? [HTTP::query]" } }
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com