mime.types.conf int lighttpd

Paweł Gołaszewski blues at pld-linux.org
Mon Feb 27 12:44:50 CET 2012


On Mon, 27 Feb 2012, Elan Ruusamäe wrote:
> > > > There is problem with recent change in lighttpd-mime.types.sh (it
> > > > generates mime.types.conf).
> > > > [...]
> > > > revision 1.3
> > > > date: 2012/01/22 20:52:51;  author: glen;  state: Exp;  lines: +15 -1;
> > > > kopt: kv;  commitid: 64d94f1c7723ee01;  filename:
> > > > lighttpd-mime.types.sh;
> > > > - add charset to text content-types; default as utf8
> > > > [...]
> > > >
> > > > There is added header:
> > > > # charset used for "text/*" mimetypes
> > > > mimetype_textcharset = "utf-8"
> > > >
> > > > ...and some "charset= + mimetype_textcharset" entries. It causes 
> > > > problems because encoding is not detected in pages, always utf-8 
> > > > is used, no matter what header in html is set. Tested on AC. This 
> > > > should be reversed...
> > > perhaps then mimetype_charsetheader = "; charset=\"utf-8\""
> > > to be able to leave it empty meaning no charset is enforced
> >
> > Any docs about that option? I can't find anything about that...
> docs of what? mimetype.assign = ()?

no, mimetype_charsetheader

> so, that go with that last option (mimetype_charsetheader = "; 
> charset=\"utf-8\"") ?, better than completely reverting...
> 
> and you seem to mean by "user files" html <meta http equiv>?

yep, meta.

-- 
pozdr.  Paweł Gołaszewski          jid:blues<at>jabber<dot>gda<dot>pl
--------------------------------------------------------------------------
If you think of MS-DOS as mono, and Windows as stereo, then Linux is Dolby
Pro-Logic Surround Sound with Bass Boost and all the music is free.


More information about the pld-devel-en mailing list