Forum Discussion

sandy16's avatar
sandy16
Icon for Altostratus rankAltostratus
Oct 30, 2015

2 x ASM policies on 1 x VS.

Hi, we have 2 websites/apps hosted on the same VS. So lets say *.abc.com and *.xyz.com are both been served by the same VS. (same public ip). We want to have 2 seperate ASM policies for them. I plan to do it by using the LTM policies and adding 2 x rules. So rule 1 matches the http-host *.abc.com and the target is ASM policy for abc.com. Rule no. 2 matches the http-host *.xyz.com and the target is ASM policy for xyz.com. The default rule for ASM enabled will be disabled in the end. My questions is - will this work? Does the rule allow for wildcard domains/hosts? I have yet to try this in a lab.

 

thnx

 

1 Reply

  • nathe's avatar
    nathe
    Icon for Cirrocumulus rankCirrocumulus

    Yes this should definitely work. You can use the "contains" condition for the host header.