mime.types.conf int lighttpd

Paweł Gołaszewski blues at pld-linux.org
Sat Feb 25 22:35:14 CET 2012


On Sat, 25 Feb 2012, glen at pld-linux.org 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...

Any encoding set in user files CAN'T be overwriten...

P.S.: I wanted revert your changes today...

-- 
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