]> granicus.if.org Git - apache/commitdiff
Fix mod_expires to add Expires headers for content that isn't served
authorMarc Slemko <marc@apache.org>
Fri, 4 Sep 1998 18:15:45 +0000 (18:15 +0000)
committerMarc Slemko <marc@apache.org>
Fri, 4 Sep 1998 18:15:45 +0000 (18:15 +0000)
from disk (ie. the case where r->finfo.st_mode == 0), unless it is
a modification date based setting.

PR:
Obtained from:
Submitted by: Paul Phillips <paulp@go2net.com>
Reviewed by:

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@81989 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/mod_expires.html

index 870501e6598858be46b1911f9b4c4e3da032d87f..3b10d2b39406e2e992786603996182d8ee60ba68 100644 (file)
     ExpiresByType image/gif "modification plus 5 hours 3 minutes"</CODE>
    </DD>
   </DL>
+  <P>
+  Note that if you use a modification date based setting, the Expires
+  header will <STRONG>not</STRONG> be added to content that does
+  not come from a file on disk.  This is due to the fact that there is
+  no modification time for such content.
 
   <!--#include virtual="footer.html" -->
  </BODY>