Forum Discussion
Capture a portion of a URI
Hello,
I am trying to capture a portion of a URI to append to a new URI and redirect. for example...
original request = https://domain.com/pcn/DownloadFile?ref=1cac6415-7446-4423-a29c-e0bda171c1f0
rewritten request = http://different-domain.com:6790/AttachmentURLRedirectPage.aspx?ref=1cac6415-7446-4423-a29c-e0bda171c1f0
In this case, the portion to capture from the original request to be inserted into the rewritten request is "?ref=1cac6415-7446-4423-a29c-e0bda171c1f0".
The values following "?ref" will change with each new request.
Hope I made sense. Thanks!
1 Reply
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