eirikn
Jul 26, 2016Nimbostratus
Can anyone help me with single apology page using data groups?
Hi,
I have a VS that serves several sites. Some times, one of these sites malfunction and I want to be able to manually put it in apology in a easy way.
Im thinking a datagroup with a string and a value will be easy enough, like this:
site1.com | no
site2.com | no
site3.com | yes
site4.com | no
site5.com | no
Site 3 will be put in apology (just a 301 redirect to a static URL. Every site has a different URL.)
My logic is:
If HTTP::host equals class match dg_apology_single and class match apology_dg_single value equals "yes"
then: 301 to http://apology.com/site3
else: do nothing.
Im having some problems creating the logic. Any help would be appreciated!