namazu-ml(avocado)


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: httpのLast-modifiedについて



Gorochan ^o^ <kunito@xxxxxxxxxxxxxxxxxxx> wrote:
>どのようなhtml file なのでしょうか。
>たとえば SSI を使っていたりすると、server が Apache でも、 
>Last-Modified は返さないと思います。CGI でもそうだと思いますが。

Apache であれば、XBitHack を full にすれば返します。


Syntax: XBitHack status
Default: XBitHack off

*** snip ***

   full
          As for on but also test the group-execute bit. If it is set,
          then set the Last-modified date of the returned file to be the
          last modified time of the file. If it is not set, then no
          last-modified date is sent. Setting this bit allows clients and
          proxies to cache the result of the request.

          Note: you would not want to use this, for example, when you
          #include a CGI that produces different output on each hit (or
          potentially depends on the hit).

-- >8 -- signature -- >8 --
FROM    : 佐藤文優(さとうふみやす) <fumiya@xxxxxxxxx>
WEB     : http://www.bento.ad.jp/~fumiya/
WEB(LAN): http://kumasun.si.ykhm.cij.co.jp/
SAMBA   : http://samba.bento.ad.jp/