Forum Discussion
Peak_10_71174
Nimbostratus
Oct 27, 2009http redirect if no path match irule
I need to create an irule that accomplishes 2 things:
When incoming http requests for data.abc.com are received on a virtual server, they are redirected to www.abc.com/data. However, wh...
hoolio
Cirrostratus
Oct 29, 2009Hi Matt,
I'm not sure how the logic you've just posted relates to what you posted originally. Can you clarify what you want to have redirected and what you want to go to the pool? Do you just want to ensure a client request to / is redirected to the same host with a URI of /base/?
Does the domain you're redirecting the the client to resolve to the virtual server you're running the iRule on? If so, you'll need to be careful to avoid infinite redirects in your logic.
Also, the URI will never be null--all HTTP clients must specify a URI of / even if the user doesn't include a URI.
Aaron
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
