Forum Discussion
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
Cirrocumulus
Yes this should definitely work. You can use the "contains" condition for the host header.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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