Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 55200 invoked by uid 500); 23 Mar 2002 23:41:21 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 55189 invoked from network); 23 Mar 2002 23:41:20 -0000 Received: from svr-ganmtc-appserv-mgmt.ncf.coxexpress.com (24.136.46.5) by daedalus.apache.org with SMTP; 23 Mar 2002 23:41:20 -0000 Received: from Tim.ncf.coxexpress.com (cpe-gan-24-136-34-81-cmcpe.ncf.coxexpress.com [24.136.34.81]) by svr-ganmtc-appserv-mgmt.ncf.coxexpress.com (8.11.4/8.11.4) with ESMTP id g2NNfRF11899 for ; Sat, 23 Mar 2002 18:41:27 -0500 Date: Sat, 23 Mar 2002 18:41:26 -0500 (Eastern Standard Time) From: "Timothy J. Luoma" To: users@httpd.apache.org Subject: Re: TrackModified not showing Last-Modified header in HTTP headers In-Reply-To: Message-ID: X-X-Sender: luomat@mail.peak.org MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Sat, 23 Mar 2002, Joshua Slive wrote: > One thing to consider: I don't know why you are looking for > "last-modified", but if you just want to help out caching, then Expires > might do fine. Check the mod_expires doc for how to use that. Thanks. I am using some mirroring software that seems to like the Last-Modified header to tell when a page needs updating/ > PHP: You can use PHP's capability to send HTTP headers to construct your > own Last-Modified header as part of the PHP script. My PHP coding skills > are rusty, so I can't give you an example, but it should be as simple as > checking the date on the file and using that to fill in a header. It is quite a simple matter that I was able to find using "php http header last modified" in google (namely http://www.zend.com/manual/function.header.php which also explains Expires headers in PHP) > Joshua. Thanks for your help... Now I have it working and now how to handle other similar situations if/when they arise. TjL -- Site: www.tntluoma.com mailto:luomat@peak.org Info: Apache/1.3.19 (Unix) with PHP/4.0.6 --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org