Thanks Henrik.
I've tried using mod_expires but ...
ExpiresActive On
ExpiresByType application/x-httpd-cgi A20
ExpiresDefault A30
with the above settings, ExpiresDefault gets executed, application/x-httpd-cgi doesn't. I have been trying in the last 4 hours to figure out the right mime/type what my /cgi-bin/path/to/file.wxh. Neither text/html works.
I have looked at the web for hints about mod_expires / mod_headers, but there weren't many helpful links.
Could you or anyone share some thoughts on this?
Many thanks.
PS: thanks for your hard work being a very active member in this list.
Subject: Re: [squid-users] mod_expire newbie question?
Date: Tue, Oct 21, 2003 at 10:38:19AM +0200
Quoting Henrik Nordstrom (hno@squid-cache.org):
: On Tue, 21 Oct 2003, Christian Purnomo wrote:
:
: > I'm trying to figure out a way I can refresh my cache every day, ideally the
: > caches would be re-freshed as soon as the database is updated (at a specific
: > time via cron job). One way of doing this that I can see is to include 'Expires: ....GMT' header for something.wxh and the date HAS TO be absolute, as in:
: > Expires: Tue Oct 21 2003 17:05:44 GMT
:
: I think mod_header is a closer match for what you want to do. If not try
: asking in the appropriate Apache forum.
:
: Regards
: Henrik
Received on Wed Oct 22 2003 - 01:11:01 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:20:34 MST