Forum Discussion

Steph_282542's avatar
Apr 03, 2019

Layered VS returns 404 when APM policy is enabled

We want a layered VS architecture for our web portal. Depending of the layered VS, we may have different APM policies and each will have different ASM policies.

The forwarding works fine. The problem I have: as soon as APM policy is enabled (on the layered VS), I get a 404:

https://webportal.com/my.policy

any idea ?

1 Reply

  • Hi Steph,

    How do you distribute the HTTP request on the front-ending virtual server to the individual backend-ending virtual servers?

    You may check if /my.policy is hitting the right virtual server by adding the iRule below to the back-ending virtual server.

    when CLIENT_ACCEPTED {
        ACCESS::restrict_irule_events disable
    }
    when HTTP_REQUEST {
        if { [HTTP::uri] eq "/my.policy" } then {
            log local0.debug "The request to [HTTP::host]/my.policy has hit the VS = [virtual]"
        }   
    }
    

    Cheers, Kai