LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Load Balancer > General > lslb marks webserver as "bad node" because of 301 reply

Reply
 
Thread Tools Display Modes
  #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
  #2  
Old 09-18-2009, 02:14 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
Just change the Ping URL that give you 200 code.
Reply With Quote
  #3  
Old 09-18-2009, 02:26 PM
Clockwork Clockwork is offline
Senior Member
 
Join Date: May 2009
Posts: 74
thanks, that helped
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 08:58 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.