Forum Discussion
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 ?
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
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