Re: Whack of changes to archives ... - Mailing list pgsql-www

From Oleg Bartunov
Subject Re: Whack of changes to archives ...
Date
Msg-id Pine.GSO.4.58.0401220939180.15137@ra.sai.msu.su
Whole thread Raw
In response to Re: Whack of changes to archives ...  ("Marc G. Fournier" <scrappy@postgresql.org>)
List pgsql-www
On Thu, 22 Jan 2004, Marc G. Fournier wrote:

> On Thu, 22 Jan 2004, Oleg Bartunov wrote:
>
> > But date in Last-Modified is still wrong:
> >
> > megera@zeon:~/preview/www.astronet.ru/db/astrosearch$ curl -I http://archives.p
> > ostgresql.org/pgsql-hackers/2004-01/msg00301.php
> > HTTP/1.1 200 OK
> > Date: Thu, 22 Jan 2004 05:14:27 GMT
> > Server: Apache/1.3.28 (Unix) PHP/4.3.3RC1
> > X-Powered-By: PHP/4.3.3RC1
> > Last-Modified: Thu, 22 Jan 2004 04:00:44 +0000
> > Cache-control: max-age=2592000
> > Content-Type: text/html
> >
> > The message was actually posted 13 Jan 2004, but have Last-Modified date
> > 22 Jan 2004.
>
> I tried to pull in posting date through the mhonarc .resource file, and it
> didn't work ... if you have any ideas on that, please feel free to let me
> know, but baring that, I'm just using the file modification date right
> now, so that unless I have to regenerate at some point (whcih, unless I
> change the .resource file, there is no reason to), the date stays fixed
> ...

I don't have experience with mhonarc, does it produces *static* files ?
If so, why messages have .php extension ? What's the reason for doing that ?
For static files you always could use 'touch' command to change mtime :)
If pages are served through php, you should have no problem to setup
proper header.

>
> ----
> Marc G. Fournier           Hub.Org Networking Services (http://www.hub.org)
> Email: scrappy@hub.org           Yahoo!: yscrappy              ICQ: 7615664
>
> ---------------------------(end of broadcast)---------------------------
> TIP 7: don't forget to increase your free space map settings
>

    Regards,
        Oleg
_____________________________________________________________
Oleg Bartunov, sci.researcher, hostmaster of AstroNet,
Sternberg Astronomical Institute, Moscow University (Russia)
Internet: oleg@sai.msu.su, http://www.sai.msu.su/~megera/
phone: +007(095)939-16-83, +007(095)939-23-83

pgsql-www by date:

Previous
From: "Marc G. Fournier"
Date:
Subject: Re: Whack of changes to archives ...
Next
From: Justin Clift
Date:
Subject: Error in pgsql-jobs archives