On Thu, 25 May 2000, Jeff Waugh wrote:

> See if anyone has any ideas on the headers-for-images thing, otherwise you
> might just have to hack in some temp filenames for the time being.

MRTG (Multi Router Traffic Grapher) runs into this same problem.  Their
way of solving it was to write 'filename.meta' data out at the same time
as the .gif image.

This file contains a line like:

Expires: Thu, 25 May 2000 23:00:31 GMT

and with suitable mojo to the apache config, such as the following lines
in access.conf:

<Directory /usr/local/apache/share/htdocs/mrtg>
MetaSuffix .meta
</Directory>

apache will read the .meta information for a referenced file and send it
through.  It works for MRTG, I can't see why it shouldn't also work for
these .gif images.

-- 
Andrew Shipton --------------------- http://www.careless.net/andrew/
"It is inhumane, in my opinion, to force people who have a genuine medical
need for coffee to wait in line behind people who apparently view it as
some kind of recreational activity."            -- Dave Barry

--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to [EMAIL PROTECTED] with
unsubscribe in the text

Reply via email to