mod_expires.html revision b0e3ab3976be7487e581aa06e37b75f0f4f0ded7
1351c9607d0f3eb5f61b8c90cf53b997dc7744b7Andrew Forrest<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
1351c9607d0f3eb5f61b8c90cf53b997dc7744b7Andrew Forrest <!-- Background white, links blue (unvisited), navy (visited), red (active) -->
1351c9607d0f3eb5f61b8c90cf53b997dc7744b7Andrew Forrest BGCOLOR="#FFFFFF"
1351c9607d0f3eb5f61b8c90cf53b997dc7744b7Andrew Forrest TEXT="#000000"
1351c9607d0f3eb5f61b8c90cf53b997dc7744b7Andrew Forrest LINK="#0000FF"
1351c9607d0f3eb5f61b8c90cf53b997dc7744b7Andrew Forrest VLINK="#000080"
1351c9607d0f3eb5f61b8c90cf53b997dc7744b7Andrew Forrest ALINK="#FF0000"
1351c9607d0f3eb5f61b8c90cf53b997dc7744b7Andrew Forrest <!--#include virtual="header.html" -->
1351c9607d0f3eb5f61b8c90cf53b997dc7744b7Andrew Forrest This module is contained in the <CODE>mod_expires.c</CODE> file, and
1351c9607d0f3eb5f61b8c90cf53b997dc7744b7Andrew Forrest is <STRONG>not</STRONG> compiled in by default. It provides for the
1351c9607d0f3eb5f61b8c90cf53b997dc7744b7Andrew Forrest generation of <CODE>Expires</CODE> headers according to user-specified
1351c9607d0f3eb5f61b8c90cf53b997dc7744b7Andrew Forrest This module controls the setting of the <CODE>Expires</CODE> HTTP
1351c9607d0f3eb5f61b8c90cf53b997dc7744b7Andrew Forrest header in server responses. The expiration date can set to be
bf41c4342792552d38ff8e8857d4869470694fe3Andrew Forrest relative to either the time the source file was last modified, or to
1351c9607d0f3eb5f61b8c90cf53b997dc7744b7Andrew Forrest the time of the client access.
1351c9607d0f3eb5f61b8c90cf53b997dc7744b7Andrew Forrest The <CODE>Expires</CODE> HTTP header is an instruction to the client
1351c9607d0f3eb5f61b8c90cf53b997dc7744b7Andrew Forrest about the document's validity and persistence. If cached, the document
1351c9607d0f3eb5f61b8c90cf53b997dc7744b7Andrew Forrest may be fetched from the cache rather than from the source until this
bf41c4342792552d38ff8e8857d4869470694fe3Andrew Forrest time has passed. After that, the cache copy is considered
1351c9607d0f3eb5f61b8c90cf53b997dc7744b7Andrew Forrest "expired" and invalid, and a new copy must be obtained from
bf41c4342792552d38ff8e8857d4869470694fe3Andrew Forrest HREF="#expiresactive"
1351c9607d0f3eb5f61b8c90cf53b997dc7744b7Andrew Forrest >ExpiresActive</A>
1351c9607d0f3eb5f61b8c90cf53b997dc7744b7Andrew Forrest HREF="#expiresbytype"
1351c9607d0f3eb5f61b8c90cf53b997dc7744b7Andrew Forrest >ExpiresByType</A>
bf41c4342792552d38ff8e8857d4869470694fe3Andrew Forrest HREF="#expiresdefault"
bf41c4342792552d38ff8e8857d4869470694fe3Andrew Forrest >ExpiresDefault</A>
1351c9607d0f3eb5f61b8c90cf53b997dc7744b7Andrew Forrest ExpiresActive directive
bf41c4342792552d38ff8e8857d4869470694fe3Andrew Forrest <!--%plaintext <?INDEX {\tt ExpiresActive} directive> -->
bf41c4342792552d38ff8e8857d4869470694fe3Andrew Forrest <STRONG>Syntax:</STRONG> ExpiresActive <EM>boolean</EM>
1351c9607d0f3eb5f61b8c90cf53b997dc7744b7Andrew Forrest <STRONG>Context:</STRONG> server config, virtual host, directory, .htaccess
<!--#include virtual="footer.html" -->