web-serving does not update a file's atime?
Nathan Kinkade
nkinkade at ub.edu.bz
Tue Aug 17 08:18:42 PDT 2004
On Tue, Aug 17, 2004 at 08:35:45AM -0400, Mikhail Teterin wrote:
> Hello!
>
> I tried to use stat(1) to see the last time a file was downloaded
> through Apache.
>
> To my surprise, all three dates displayed by stat are long ago, even
> though the web-server's log is showing downloads from a just a few
> hours back.
>
> The file-system used to be mounted noatime, but I turned that option
> off some time ago. If I read one of those files (with head(1) or
> file(1), for example), the atime is updated. But if Apache serves it
> out -- it is not... There is no caching in Apache either.
>
> Any ideas? Thanks!
>
> -mi
Is this all running on your local machine? If not, is it possible that
there is a proxy server between you and the host running Apache?
Perhaps a transparent proxy?
Nathan
--
PGP Public Key: pgp.mit.edu:11371/pks/lookup?op=get&search=0xD8527E49
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20040817/c77bd649/attachment.bin
More information about the freebsd-questions
mailing list