
adefacc at tin
Apr 6, 2008, 11:53 PM
Post #3 of 4
(328 views)
Permalink
|
|
Re: [Fwd: Re: max-age in the recent versions]
[In reply to]
|
|
Stefan de Konink wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA512 > > > Can anyone clarify this? > > I already found out that the mime lookup for an extension doesn't seem > to work. > > handler_file.c:404 > ret = cherokee_mime_get_by_suffix (srv->mime, > ext+1, &fhdl->mime); > > This return a '3' not found. > > Questions: > 1) The config file speaks about 'extensions'. I guess multiple are > allowed, I have also tried single item with and without dot. See below answer. > 2) It seems to be a 'lookup' issue, is it debugable? Yes, it is. General answer -------------- I guess you have tried to use a trunk version, right now max-age might not work in trunk, but in 0.6.x versions it should, so I suggest you to use a stable version at least till trunk won't stabilize again (within 5-7 weeks). As you know, in 0.6.x mime types are stored in an external file (mime.types) that you can edit in order to add max-age time by using the format documented in file headers (see comments). In trunk (future 0.7) mime types are listed inside configuration file (cherokee.conf); we have to decide what kind of max-age support we will add to 0.7 (i.e. max-age per mime type extension as in 0.6, per file extension, per virtual server, per directories, etc.). Any suggestion is welcome and even if it is believed that 0.7 development won't last too long (I guess less than a couple of months), remaining good ideas may be implemented in 0.8 or 0.9. Greetings. -- Nick Name: A.D.F. E-Mail: <adefacc () tin ! it> E-Mail-Format: Plain Text only (please); view using font Courier New -- _______________________________________________ Cherokee mailing list Cherokee[at]cherokee-project.com http://cherokee-project.com/cgi-bin/mailman/listinfo/cherokee
|