httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark J Cox <m...@ukweb.com>
Subject mod_negotiation gif/jpeg issues
Date Wed, 17 Jul 1996 13:07:39 GMT
A friend using Apache 1.1 was telling me today about a site he just
created that had every image available as GIF and JPG.  He wanted to make
sure that Netscape and others got JPEGs and others got GIFs.  Without a
VAR map Apache always sent the GIF so he had to write a program to create
the hundreds of VAR maps that all said basically the same thing (*1)

He thought a good solution would be to specify a default type map that
would apply when a map isn't available and is built from a directory
listing instead (so he could say treat all "image/jpeg" as qs=0.6 and
"image/gif" as qs=0.5)

Does this sound like a useful patch to anyone else?

Mark

(*1)---------------------------------
URI: image; vary="type"

URI: image.jpg
Content-type: image/jpeg; qs=0.6

URI: image.gif
Content-type: image/gif; qs=0.5
-------------------




Mime
View raw message