i try to publish 2 webpages with WAF.
because "redirect to HTTPS" is not working, i create different rules for HTTP / HTTPS
my setup:
2 Webserver - vServer1 & vServer2
2 Domains - www.domain1.de & www.domain2.de
4Rules:
http www.domain1.de -> vServer1
https www.domain1.de -> vServer1
http www.domain2.de -> vServer2
https www.domain2.de -> vServer2
(within domain field i have only one domain)
... looks simple.
But if i try to reach the webpages via http (port80) only the first rule matches and I see the webpage from vServer1 all the time. This occurs with http://www.domain1.de and http://www.domain2.de
I never reach rule 3. The traffic counter counts at rule 1 only. I see the webpage from vServer1 all the time.
If i change the rule-order, the other HTTP Rule matches all the time - for all domains. (the current first http rule)
if i use https .. it works. The correct rule matches and i see the correct webpage.
Currently i am unable to isolate the corresponding lines from reverseproxy.log.
This thread was automatically locked due to age.