Forum Discussion
yugraj_rai_1230
Nimbostratus
Jul 21, 2015Irule to redirect URL
I looking for Irule where my all URL like abc.com/abc,abc.com/abd,abc.com/azx etc to redirect on abc.com/www
Thanks Yugraj Rai
1 Reply
- Samir_Jha_52506
Noctilucent
Hi Yugraj, Create class & add URI as much you can. Hope it will work for you
class redirectURIs { /abc /pqr /xyz } when HTTP_REQUEST { if { [matchclass [HTTP::uri] starts_with redirectURIs] } { HTTP::redirect "abc.com/www" } }
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