Forum Discussion
Anush
Nimbostratus
Mar 17, 2016redirect site using irule
Hi Expert,
We have one requirement from out client but I am not sure whether it is even possible or not. looking for your help on this.
Sample requirement :
https://abc.com/sites/Port...
DevBabu
Cirrus
Mar 17, 2016You can use HTTP::query to get the portion after "?" and append it to the new redirect URI. https://devcentral.f5.com/wiki/irules.http__query.ashx
Example:
when HTTP_REQUEST {
HTTP::redirect "https://xyz.com/generaltechnical?[HTTP::query]"
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects