Forum Discussion
John_Alam_45640
Apr 02, 2014Historic F5 Account
Yes, we do that often.
Use the HTTP_REQUEST event on the front virtual server.
when HTTP_REQUEST {
switch -glob [HTTP::uri] {
"abc*" { virtual abc }
"def* { virtual def }
default { HTTP::respond 200 content "You are in the wrong place." }
}
}
HTH
- TedSmith_143757Apr 03, 2014NimbostratusJohn, I have got this to work, however it appears that when I connect to the virtual server with the APM access policy associated it changes to uri to be /my.policy and I get the 'you are in the wrong place message' Any ideas?