Re: Whack of changes to archives ...

From: Oleg Bartunov <oleg(at)sai(dot)msu(dot)su>
To: "Marc G(dot) Fournier" <scrappy(at)postgresql(dot)org>
Cc: pgsql-www(at)postgresql(dot)org
Subject: Re: Whack of changes to archives ...
Date: 2004-01-22 06:44:02
Message-ID: Pine.GSO.4.58.0401220939180.15137@ra.sai.msu.su
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)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(at)hub(dot)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(at)sai(dot)msu(dot)su, http://www.sai.msu.su/~megera/
phone: +007(095)939-16-83, +007(095)939-23-83

In response to

Browse pgsql-www by date

  From Date Subject
Next Message Justin Clift 2004-01-24 09:44:21 Error in pgsql-jobs archives
Previous Message Marc G. Fournier 2004-01-22 05:30:50 Re: Whack of changes to archives ...