Forum Discussion
Paulius
MVP
Jim_Sadleir I believe you need the following to be swapped out for the appropriate two lines the difference is the () being added in the appropriate locations.
if { (([string tolower [HTTP::uri]] contains "/path_to_block_from_outside/") and not ([class match [IP::client_addr] equals CLASS-PRIVATE-IPS])) } {
if { (([string tolower [HTTP::uri]] contains "/path_that_has_to_be_sent_to_iis/") and ([active_members POOL-1.1.1.1-IIS-80-WEB-SERVICES] != 0)) } {
Leslie_Hubertus
Jan 18, 2023Ret. Employee
Jim_Sadleir did Paulius's suggestion work for you? If yes, can you please hit the Accept as Solution button, so future users with the same issue can easily find the answer they need?
And if not, it lets the community know that you still need help.