This file does not want to give the leader with the modified file https://www.w3strict.ru/tlm.php

<?php header("Last-Modified: Wed, 15 Nov 1995 04:58:08 GMT"); 

A file without a BOM, if you try to give any other leader, it is successfully given (the same redirect). server - nginx + php-fpm.

  • Heading to studio - Naumov
  • one
    well, except for this hider, it is necessary to give also others. besides, on the server may not pass. here it is intelligible - DiGiTAL

2 answers 2

Thanks to all. SSI was turned on, which does not allow to give this header.

    In addition to the answer, Alex Art from October 30 at 21:05:

    You can use the ssi_last_modified directive with the value on


    Syntax: ssi_last_modified on | off;
    Default: ssi_last_mod off;
    Context: http, server, location
    This directive appeared in version 1.5.1.
    Allows you to save the “Last-Modified” header field of the original response during SSI processing for better caching of responses.

    By default, the header field is removed because the content of the response changes during processing and may contain dynamically created elements or parts that have changed independently of the original response.

    Source: http://nginx.org/ru/docs/http/ngx_http_ssi_module.html