Permit specif IPs to pools, all others see simple maintenance page REPOST as requested
I have an irule set up to redirect to specific pools depending on uri. Now maintenance is being done and only specific ips need to be allowed to sites, all other get a simple web page that the site is down.
when HTTP_REQUEST { switch -glob [string tolower [HTTP::uri]] { "/jumper" { pool jumper_JMPRIIS_Https_Pool log local0. "redirect irule pool jumper_JMPRIIS_Https_Pool" } "/" - "/annie" - "/bugg" - "/charles" - "/dog" - "/fashion" { pool fashion_FHSIIS_Https_Pool log local0. "redirect irule pool fashion_FHSIIS_Https_Pool" } default { pool skijump_SKJWEB_Https_Pool log local0. "redirect irule pool skijump_SKJWEB_Https_Pool" } } }
I've set up a datagroup list with the ips in it. I need assitance allowing the ip group to the site, while sending all other to the simple website down page.