Forum Discussion
Jerry_Hsu_33186
Nimbostratus
May 11, 2014iRule to select pool member depending on client source ip address
Hi There,
I create an iRule for HTTP redirect based on the source IP address as below
it can be work!
when HTTP_REQUEST {
if {[matchclass [IP::client_addr] equals $::datagroup1]}
...
Mohamed_Lrhazi
Altocumulus
May 11, 2014Are you asking how to do a reidrect in an iRule? try this page:
https://clouddocs.f5.com/api/irules/HTTP__redirect.html
https://clouddocs.f5.com/api/irules/HTTPToHTTPSRedirect_301.html
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