httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexei Kosut <ako...@organic.com>
Subject Re: mod_negotiation gif/jpeg issues
Date Wed, 17 Jul 1996 17:23:16 GMT
On Wed, 17 Jul 1996, Mark J Cox wrote:

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

I'm probably wrong, but I *think* I remember rst, a long long time ago, 
saying you can do something like "AddType jpg image/jpeg;qs=0.6", and it
may work.

-- Alexei Kosut <akosut@organic.com>            The Apache HTTP Server 
   http://www.nueva.pvt.k12.ca.us/~akosut/      http://www.apache.org/


Mime
View raw message