Forum Discussion

MDPF52_180608's avatar
MDPF52_180608
Icon for Nimbostratus rankNimbostratus
Jun 17, 2015

APM multiple profiles one VS

Hello DevCentral,

 

I want to ask you how to use a different ACCESS profile based on the URI so:

 

domain1.com/app1 --> ACCESS::profile x domain1.com/app2 --> ACCESS::profile y domain1.com/app3 --> ACCESS::profile z

 

How I can accomplish this?

 

Thanks in advance,

 

Best regards,

 

M.

 

1 Reply

  • You cannot use different ACCESS Profile based on uri.

     

    the solution is to create one access profile starting with an empty box with 3 branches with conditions like :

     

    expr { [mcget {session.server.landinguri}] starts_with "/app1" }

     

    on each branch, create a macro with your policy.