Protect F5 VS with iRule using APM

Hi Devcentral,

I would like to add an APM policy to a VS that basically provides HTML content generated directly from iRule starting from HTTP request using URI /?action=view

I would like to add an APM logon page in order to protect the web service provided by the iRule.

Do you know how I can do that without creating another Virtual Server? I would like to have a single VS.

Thanks!

M

Try too use ACCESS events rather that HTTP ones. I have not tested but something like:

when ACCESS_ACL_ALLOWED {
    If { [HTTP::uri] eq "xxxx"} {
        ACCESS::respond 200 content {your content}
    }
}