gzip for static files with no write permissions

Discussion in 'Bug Reports' started by IO, Sep 24, 2005.

  1. IO

    IO Active Member

    I test all the possibles parameters for gzip compression (Auto Update Static and others) and I never got gzip for html static files when lsws has no write permission in the directory the file is... Is it normal ?
    (In the same directory, gzip work only for dynamic files)
  2. mistwang

    mistwang LiteSpeed Staff

    LiteSpeed needs write permission to create a copy of the compressed static file under the same directory. If you prefer not to give write permission to the server process, you can create them manually, just rename "*.gz" file to "*.lsz".
  3. IO

    IO Active Member

    OK, I understand.

    Before I think lsws use another directory to compress static files when 'Auto Update Static' is disabled. (for Apache I use /dev/shm)

    Thank you.

Share This Page