View Single Post
  #1  
Old 09-18-2009, 01:30 PM
Clockwork Clockwork is offline
Senior Member
 
Join Date: May 2009
Posts: 74
Default lslb marks webserver as "bad node" because of 301 reply

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
...
Reply With Quote