PDA

View Full Version : gzip for static files with no write permissions


IO
09-24-2005, 02:42 AM
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)

mistwang
09-24-2005, 07:43 AM
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".

IO
09-24-2005, 08:26 AM
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.