Re: [htdig] $(MODIFIED) mystery


Michael Boer (boerm@u.washington.edu)
Fri, 30 Apr 1999 22:10:03 -0700 (PDT)


It appears that adding the following as the *first* line in each of our
PHP-parsed .html files will do the trick of providing a Last-Modified
value:

<? header("Last-Modified: " . gmdate("D, d M Y H:i:s") . "GMT")?>

[X] Michael Boer | boerm@u.washington.edu | 206-221-3471 | IM:MBoerSEA

On Fri, 30 Apr 1999, Michael Boer wrote:

> Geoff, your guess is a good one. We have PHP riding on Apache --
> there's PHP coding in practically every .html page... I guess I should
> take a look at whether there is a PHP setting that would have an effect
> on the headers...
>
> On Fri, 30 Apr 1999, Geoff Hutchison wrote:
>
> > At 7:05 PM -0400 4/30/99, Michael Boer wrote:
> > >started experimenting with the "sort by time" feature; we noticed that
> > >all the PDF files were being grouped together at the top of the results.
> >
> > I'm going to guess you're using server-parsed or CGI-generated HTML. In
> > that case, Apache (correctly) does not send a Last-Modified: header. There
> > may be an option to make it do this, but you can also have the CGI output
> > the header manually.
> >
> > (This should be in the FAQ. Anyone know if there's an Apache option to
> > force the header?)
>
> ------------------------------------
> To unsubscribe from the htdig mailing list, send a message to
> htdig@htdig.org containing the single word "unsubscribe" in
> the SUBJECT of the message.
>
>

------------------------------------
To unsubscribe from the htdig mailing list, send a message to
htdig@htdig.org containing the single word "unsubscribe" in
the SUBJECT of the message.



This archive was generated by hypermail 2.0b3 on Fri Apr 30 1999 - 22:19:31 PDT