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 27, 2009HTTP::path will return the path in the URI (URI minus the query string). It will not include the host. HTTP::host will return the host header value. So you can remove data.abc.com from your rule and it should work fine.
And switch is a good way to do this.
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
