httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vacelet, Manuel" <manuel.vace...@enalean.com>
Subject [users@httpd] Re: Last-Modified header overridden
Date Mon, 30 May 2016 11:09:19 GMT
Hi,

FWIW, I submitted a bug to the Centos project:
https://bugs.centos.org/view.php?id=10940

On Fri, May 27, 2016 at 2:28 PM, Vacelet, Manuel <manuel.vacelet@enalean.com
> wrote:

> Hi all,
>
> I got a weird behavior with apache 2.4.12 (from RHEL scl for that matter).
>
> I have a php application (behind fcgi/fpm) that sets Last-Modified header
> like:
> <?php header('Last-Modified: never');
>
> but when I curl the page, the header sent is:
> < Last-Modified: Thu, 01 Jan 1970 00:00:00 GMT
>
> When the date is correct in my php app, the returned value is OK but as
> soon as it's not RFC valid, it's modified.
>
> Note: I tested with nginx instead of apache, nginx doesn't modify the
> header so it's not an issue with the php/fpm part.
>
> Any idea ?
>

Mime
View raw message