Ticket #230 (closed defect: duplicate)
Cache not being created for static content
Description
lighttpd.conf:
server.username = "www"
server.groupname = "www"
compress.cache-dir = "/var/log/lighttpd/cache"
compress.filetype = ("text/css", "text/html", "text/javascript", "text/plain", "text/xml")
alias.url = ( "/webalizer/" => "/usr/local/www/webalizer/" )
*
mkdir -p /var/log/lighttpd/cache/ chown -R www:www /var/log/lighttpd
*
*
(mod_compress.c.400) creating cachefile /var/cache//webalizer/usage_200508.htm-gzip-476821-169605-1124917563 failed No such file or directory
*
also someone setup via mod_userdir gets a simmilar error
2005-08-25 08:59:25: (mod_compress.c.400) creating cachefile /var/log/lighttpd/cache//~username/home.html-gzip-682512-2147-1124474104 failed No such file or directory
2005-08-25 08:59:25: (mod_compress.c.400) creating cachefile /var/log/lighttpd/cache//~username/stylesheet.css-gzip-682506-833-1124460891 failed No such file or directory
Doing an mkdir /var/log/lighttpd/cache/\~username and setting proper ownership will allow cached files to be created successfully.
*
weigon says that it has to do w/ mod_alias and mod_userdir

