cvs commit: apachen/htdocs/manual/mod mod_expires.html

1997-11-11 Thread coar
coar97/11/11 13:35:10

  Modified:htdocs/manual/mod mod_expires.html
  Log:
Add documentation for alternate mod_expires time syntax.
  
  PR:   1238
  
  Revision  ChangesPath
  1.5   +89 -1 apachen/htdocs/manual/mod/mod_expires.html
  
  Index: mod_expires.html
  ===
  RCS file: /export/home/cvs/apachen/htdocs/manual/mod/mod_expires.html,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- mod_expires.html  1997/06/04 16:14:20 1.4
  +++ mod_expires.html  1997/11/11 21:35:08 1.5
  @@ -154,6 +154,13 @@
 ExpiresDefault/A
 directive.
 /P
  +  P
  +  You can also specify the expiration time calculation using an
  +  A
  +   HREF=#AltSyn
  +  alternate syntax/A,
  +  described later in this document.
  +  /P
 HR
 H2A NAME=expiresdefault
  ExpiresDefault directive
  @@ -178,8 +185,89 @@
  HREF=#expiresbytype
 ExpiresByType/A
 directive.  See the description of that directive for details about
  -  the syntax of the argument.
  +  the syntax of the argument, and the
  +  A
  +   HREF=#AltSyn
  +  alternate syntax/A
  +  description as well.
  +  /P
  +  HR
  +  H2
  +   A NAME=AltSynAlternate Interval Syntax/A
  +  /H2
  +  P
  +  The 
  +  A
  +   HREF=#expiresdefault
  +  SAMPExpiresDefault/SAMP/A
  +  and
  +  A
  +   HREF=#expiresbytype
  +  SAMPExpiresByType/SAMP/A
  +  directives can also be defined in a more readable syntax of the form:
  +  /P
  +  DL
  +   DDCODEExpiresDefault lt;basegt; [plus] {lt;numgt; lt;typegt;}*
  +BR
  +ExpiresByType type/encoding lt;basegt; [plus] {lt;numgt; 
lt;typegt;}*/CODE
  +   /DD
  +  /DL
  +  P
  +  where lt;basegt; is one of:
  +  /P
  +  MENU
  +   LISAMPaccess/SAMP  
  +   /LI
  +   LISAMPnow/SAMP (equivalent to 'SAMPaccess/SAMP')
  +   /LI
  +   LISAMPmodification/SAMP
  +   /LI
  +  /MENU
  +  /P
  +  P
  +  The 'SAMPplus/SAMP' keyword is optional.  lt;numgt; should be an
  +  integer value [acceptable to SAMPatoi()/SAMP], and lt;typegt;
  +  is one of:
  +  /P
  +  MENU
  +   LISAMPyears/SAMP
  +   /LI
  +   LISAMPmonths/SAMP
  +   /LI
  +   LISAMPweeks/SAMP
  +   /LI
  +   LISAMPdays/SAMP
  +   /LI
  +   LISAMPhours/SAMP
  +   /LI
  +   LISAMPminutes/SAMP
  +   /LI
  +   LISAMPseconds/SAMP
  +   /LI
  +  /MENU
  +  P
  +  For example, any of the following directives can be used to make
  +  documents expire 1 month after being accessed, by default:
  +  /P
  +  DL
  +   DDCODEExpiresDefault access plus 1 month
  +BR
  +ExpiresDefault access plus 4 weeks
  +BR
  +ExpiresDefault access plus 30 days
  +   /DD
  +  /DL
  +  P
  +  The expiry time can be fine-tuned by adding several 'lt;numgt; 
lt;typegt;'
  +  clauses:
 /P
  +  DL
  +   DDCODEExpiresByType text/html access plus 1 month 15 days 2 hours
  +BR
  +ExpiresByType image/gif modification plus 5 hours 3 minutes
  +   /DD
  +  /DL
  +
 !--#include virtual=footer.html --
/BODY
   /HTML
  
  
  


cvs commit: apachen/htdocs/manual/mod mod_expires.html

1997-11-11 Thread fielding
fielding97/11/11 13:58:16

  Modified:htdocs/manual/mod mod_expires.html
  Log:
  Close them CODE elements
  
  Revision  ChangesPath
  1.6   +2 -2  apachen/htdocs/manual/mod/mod_expires.html
  
  Index: mod_expires.html
  ===
  RCS file: /export/home/cvs/apachen/htdocs/manual/mod/mod_expires.html,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- mod_expires.html  1997/11/11 21:35:08 1.5
  +++ mod_expires.html  1997/11/11 21:58:15 1.6
  @@ -254,7 +254,7 @@
   BR
   ExpiresDefault access plus 4 weeks
   BR
  -ExpiresDefault access plus 30 days
  +ExpiresDefault access plus 30 days/CODE
  /DD
 /DL
 P
  @@ -264,7 +264,7 @@
 DL
  DDCODEExpiresByType text/html access plus 1 month 15 days 2 hours
   BR
  -ExpiresByType image/gif modification plus 5 hours 3 minutes
  +ExpiresByType image/gif modification plus 5 hours 3 minutes/CODE
  /DD
 /DL