Forum Discussion
amit_128525
Nimbostratus
Dec 05, 2013irule not working
one of our requiremnet is that to define a irule which allow the few user in specific ip address to access the normal website but if the user comes from some other ip address apart from this ip addre...
amit_128525
Nimbostratus
Dec 05, 2013hello thanks for reply that "." is typo mistake in copy paste , I have checked on F5 it doesnt work still with ip address 10.1.1.1 . If any one can help me thanks when HTTP_REQUEST { if { [HTTP::host] contains "a.b.com" } { switch [IP::addr [IP::client_addr] mask 255.255.255.255] { "10.1.1.1" { pool Pool_A_Prod } default { HTTP::respond 200 content [b64decode [class element -name 0 DG_MAINTENANCE_HTML]] "Content-Type" "text/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