From: Marc Slemko Date: Fri, 4 Sep 1998 18:15:45 +0000 (+0000) Subject: Fix mod_expires to add Expires headers for content that isn't served X-Git-Tag: 1.3.2~16 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f2b9b639422aacc28fadcd02d20018dfc762fe7d;p=apache Fix mod_expires to add Expires headers for content that isn't served 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 Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@81989 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/mod_expires.html b/docs/manual/mod/mod_expires.html index 870501e659..3b10d2b394 100644 --- a/docs/manual/mod/mod_expires.html +++ b/docs/manual/mod/mod_expires.html @@ -316,6 +316,11 @@ ExpiresByType image/gif "modification plus 5 hours 3 minutes" +

+ Note that if you use a modification date based setting, the Expires + header will not 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.