lslb marks webserver as "bad node" because of 301 reply

Clockwork

Well-Known Member
#1
I've configured my webservers to route all requests to www.domainname.com with a 301 redirect to avoid duplicate content (seo purpose).

So, every time lslb checks the ip of my backend webserver he will answer with a 301 redirect to my default domain.

Now lslb thinks my webservers are "bad nodes" because they don't answer with 200:

Code:
[192.168.0.3:80] Failure detected: Unexpected status code, 0:Success
Code:
[clusterHTTP_s1] Ping response code: 301
[clusterHTTP_s1] Ping response code: 301
[clusterHTTP_s1] Ping response code: 301
[clusterHTTP_s1] Ping response code: 301
...
 
Top