Project

General

Profile

mod_compress not working / 1.4.28 + centos 6

Added by Letus over 12 years ago

Hi,
after moving to new server, I installed (yum install lighttpd from RPMFORGE repo) 1.4.28 version of lighttpd ... I updated my existing old server config to be same as the new system (not one large config, but several small, each for one module, I like it a lot), and everything works ...

except mod_compress ...

obviously, when I turn on mod_compress and let it compress some stuff

server.modules += ( "mod_compress" )
compress.max-filesize = 0

compress.cache-dir = "/mnt/compress"
compress.filetype = ("text/plain", "text/html", "text/javascript", "text/javascript;charset=utf-8", "text/css", "text/xml")

the files are not served directly, but via mod_compres, and for all those files, I'm gettin error 403 Forbidden, and the cache directory is empty.

The directory is now chmoded to 777, owned by lighttpd user and group, no change. Setting different directory doesnt help as well.

No error appear in error.log for this module.

What am I doing wrong, where might be the problem ? How to detect it ?

Thanks alot


Replies (4)

RE: mod_compress not working / 1.4.28 + centos 6 - Added by Letus over 12 years ago

PS. using the original config file that worked on the old server didnt work as well, so its not about order of the items, module enabled / disabled etc. i guess. The only difference is that previous server was 1.4.19

RE: mod_compress not working / 1.4.28 + centos 6 - Added by Letus over 12 years ago

one more thing ... and very confusing ... it seems, that the css or js file is send from server to the browser, I can see the data, but at the end, the new HTML page with "403 - Forbidden" error gets appended, I do not understand that at all :( same happens when trying Chrome, Firefox or curl command line with gzip encoding turned on

RE: mod_compress not working / 1.4.28 + centos 6 - Added by Letus over 12 years ago

manual install from tarball for 1.4.29 gave me the very same error ... downgrading to last known working version 1.4.19 helped, the files are now working from mod_compress as expected ... with the very same configuration ... Any ideas?

RE: mod_compress not working / 1.4.28 + centos 6 - Added by nitrox over 12 years ago

Join #lighttpd at irc.freenode.net and report back to this topic if the problem got solved.

    (1-4/4)