Discussion in 'General' started by dims, May 20, 2013.

  1. dims

    dims Member

  2. dims

    dims Member

    like as AcceptPathInfo on
  3. NiteWave

    NiteWave Administrator

    did simple tests:

    it's default behavior of Apache as well

    e.g, the default is
    AcceptPathInfo Default
           The treatment of requests with trailing pathname information is determined by the handler responsible for the request. The core handler for normal files defaults to rejecting PATH_INFO requests. Handlers that serve scripts, such as cgi-script and isapi-handler, generally accept PATH_INFO by default.
    my test show that
    AcceptPathInfo On/Off
    no effect to lsws. lsws just stick to "AcceptPathInfo Default"

    and test show that if the php script has query string,
    AcceptPathInfo On/Off
    also no effect to apache.

    for example,
    the behavior are same between apache and lsws
  4. dims

    dims Member

    This is will be fixed?
  5. mistwang

    mistwang LiteSpeed Staff

    It is not likely be changed, however, you can easily address it with a rewrite rule, by testing the PATH_INFO env with RewiteCond directive.

Share This Page