LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   General (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=29)
-   -   lslb marks webserver as "bad node" because of 301 reply (http://www.litespeedtech.com/support/forum/showthread.php?t=3373)

Clockwork 09-18-2009 01:30 PM

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
...


mistwang 09-18-2009 02:14 PM

Just change the Ping URL that give you 200 code.

Clockwork 09-18-2009 02:26 PM

thanks, that helped :)


All times are GMT -7. The time now is 04:48 AM.