Forum Discussion
waterfall_10467
Jul 19, 2012Altostratus
Help for when_http_response
when HTTP_REQUEST timing on priority 100 {
Check the requested path with wildcard matching
switch -glob [HTTP::path] {
...
hooleylist
Jul 19, 2012Cirrostratus
A few comments:
You can remove the 'string tolower' command on the client IP address as IPv4 addresses don't have alpha characters.
You could add the IP addresses to a data group and then use the class command to look up the client IP against the data group. This should be simpler and more efficient than using the a switch statement to do a string comparison of the IP addresses.
Aaron
Recent Discussions
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