Forum Discussion
issue with iRule - client IP and http redirect
this also gave me a code error.
01070151:3: Rule [clientIP-redirection] error: line 1: [parse error: missing close-brace] [{ if {[HTTP::uri] contains "CA" && [IP::addr [IP::client_addr] equals 10.10.0.0/21] } { HTTP::redirect "https://public.example.com" } else { HTTP::redirect "https://inside.example.com" }] line 2: [command is not valid in the current scope] [if {[HTTP::uri] contains "CA" && [IP::addr [IP::client_addr] equals 10.10.0.0/21] } { HTTP::redirect "https://public.example.com" } else { HTTP::redirect "https://inside.example.com" }]
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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
