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

Discussion in 'General' started by Clockwork, Sep 18, 2009.

  1. Clockwork

    Clockwork Member

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

    mistwang LiteSpeed Staff

    Just change the Ping URL that give you 200 code.
  3. Clockwork

    Clockwork Member

    thanks, that helped :)

Share This Page