Forum Discussion
Jim_Sadleir
Jan 09, 2023Nimbostratus
iRule 'HTTP::respond 403' assistance.
Hello DevCentral Technical Forum, I would greatly appreciate assistance getting an iRule working properly. Our service providers US based support used to be exemplary in assisting us with our iRule...
Paulius
Jan 10, 2023MVP
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_HubertusJan 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.
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