httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christoph Anton Mitterer <>
Subject [users@httpd] how to set qs with MultiViews
Date Thu, 04 Aug 2011 13:24:47 GMT

I'd like to use content negotiation with MultiViews, but still being able
to set a qs which applies in case several variants would have the same
quality based on the client’s selection.
E.g. if a client says "Accept: image/*; qs=0.5, */*; qs=0.1" and I have a
image test.jpeg and test.png, Apache currently chooses the JPEG (I guess
simply by alphabetical order).
Would be nice if I could tell that in such a case, the PNG is preferred,
e.g. because it supports transparency.

I know about this hack (
and I guess it should fully comply with RFC 2616,... nevertheless it looks
ugly ;-)

Are there any better ways... or is should this become a request for


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message