Forum Discussion
rajeshgoud
Altostratus
Jun 08, 2017URI access for all for 4 URIs and rest of the URIs based on IP whitelisting
Hi Everyone,
I have requirement for IP whitelisting for ALL the URIs except for 4 URI. The 4 URIs should be accessible to all
Here is the sample I used but its working for whitelisting but ...
Ed_Summers
Nimbostratus
Jun 08, 2017Can you clean up the presentation of the code a bit? It's really hard to read as-posted. The 'pre-formatted code' button in the editor window may help keep the indentation correct.
One issue I do see is that you use the 'string tolower' function to convert HTTP::host to lower-case, but your test text includes upper-case characters. Your 'if' tests on HTTP::host will never match. Are your 'if' and 'elseif' trying to match on the same text?
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
