Analog of mod_negotiation?

Discussion in 'Install/Configuration' started by [/root.], Apr 16, 2007.

  1. [/root.]

    [/root.] New Member

    I have a multilingual project and want to know does LiteSpeed have the same feature as mod_negotiation do? For e.g site language changes depends of user's browser options or his/her country? Thanks.
  2. mistwang

    mistwang LiteSpeed Staff

    LiteSpeed does not support language negotiation at this point, however, it could be easily implemented with a few simple rewrite rules.
  3. [/root.]

    [/root.] New Member

    Thanks for response. May i know what rules?
  4. mistwang

    mistwang LiteSpeed Staff

    It is not easy task.
    basically, you need to test "Accept-language" header to find out the preferred language then rewrite to a URL for that language.

Share This Page