[solved] cookie length/content length

Discussion in 'Install/Configuration' started by sofatime, Mar 5, 2012.

  1. sofatime

    sofatime Well-Known Member


    I have an application which produces the following error messages:

    Content len: 28152, Request line: 'POST /index.php?...
    Cookie len: 184, ...

    These requests are then blocked by lsws.

    Unfortunately I cannot find the settings to change these limits. Can anyone help here?

    Last edited by a moderator: Mar 7, 2012
  2. webizen

    webizen Well-Known Member

    pls elaborate and paste here any related error message from log or screen.
  3. sofatime

    sofatime Well-Known Member

    I think I mixed up log messages. litespeed blocked a request with the following error message:

    mod_security rule triggered!
    [Wed Feb 29 16:21:32 2012] [error] [client] ModSecurity: Access denied with code 403, [Rule: 'ARGS' '(fromCharCode|http-equiv|<.+>|innerHTML|dynsrc|-->)']
    [Msg: XSS attack]

    This was not an XSS attack but just some strange request by this application. I disabled this rule, looks good now. The mentioned log entries have nothing to do with this.

    Sorry about that.

Share This Page