Received: by taz.hyperreal.com (8.6.12/8.6.5) id KAA10938; Wed, 17 Jul 1996 10:23:40 -0700 Received: from acidik.organic.com by taz.hyperreal.com (8.6.12/8.6.5) with ESMTP id KAA10933; Wed, 17 Jul 1996 10:23:38 -0700 Received: from localhost (akosut@localhost) by acidik.organic.com (8.7.5/8.6.12) with SMTP id KAA10845 for ; Wed, 17 Jul 1996 10:23:17 -0700 (PDT) X-Authentication-Warning: acidik.organic.com: akosut owned process doing -bs Date: Wed, 17 Jul 1996 10:23:16 -0700 (PDT) From: Alexei Kosut To: new-httpd@hyperreal.com Subject: Re: mod_negotiation gif/jpeg issues In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-new-httpd@apache.org Precedence: bulk Reply-To: new-httpd@hyperreal.com 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 The Apache HTTP Server http://www.nueva.pvt.k12.ca.us/~akosut/ http://www.apache.org/