alias and mod_compress
When using an alias, mod_compress dosent create subdirectories for the cached compressed files.
www.domain2.com/n/my.css (n is an alis to domain1.com)
2007-02-12 12:57:03: (mod_compress.c.398) creating cachefile /var/lib/lighttpd/cache/compress//n/themes/obalanet/screen.css-gzip-7964071-2250-1170856112 failed No such file or directory
but /var/lib/lighttpd/cache/compress/ exists.
Updated by Anonymous almost 14 years ago
I'm having the same problem here. Is there a solution?
My server.modules section:
server.modules = ( "mod_indexfile", "mod_access", "mod_alias", "mod_accesslog", "mod_rewrite", "mod_evhost", "mod_compress", "mod_cgi", "mod_fastcgi", "mod_dirlisting", "mod_staticfile", # 11 )
Updated by spillgroup about 13 years ago
I've attached a slightly modified version for 1.4.18 which is a bit smarter with mkdir's. The previous behaviour was to try and mkdir every part of a file's patch on every access (even when already in the cache). This patch moves the mkdir's to after the place where it checks for existence.
Also available in: Atom