You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by sl...@apache.org on 2001/12/05 20:11:45 UTC

cvs commit: httpd-2.0/docs/manual/mod mod_include.html

slive       01/12/05 11:11:45

  Modified:    docs/manual/howto ssi.html.en
               docs/manual/mod mod_include.html
  Log:
  Update SSI docs to use AddOutputFilter in place of SetOutputFilter.
  
  Revision  Changes    Path
  1.9       +1 -3      httpd-2.0/docs/manual/howto/ssi.html.en
  
  Index: ssi.html.en
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/manual/howto/ssi.html.en,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -d -b -u -r1.8 -r1.9
  --- ssi.html.en	2001/11/28 19:19:49	1.8
  +++ ssi.html.en	2001/12/05 19:11:45	1.9
  @@ -160,9 +160,7 @@
       the following directives:</p>
   <pre>
           AddType text/html .shtml
  -        &lt;FilesMatch "\.shtml(\..+)?$"&gt;
  -          SetOutputFilter INCLUDES
  -        &lt;/FilesMatch&gt;
  +	AddOutputFilter INCLUDES .shtml
   </pre>
   
       <p>One disadvantage to this approach is that if you wanted to
  
  
  
  1.38      +1 -14     httpd-2.0/docs/manual/mod/mod_include.html
  
  Index: mod_include.html
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/manual/mod/mod_include.html,v
  retrieving revision 1.37
  retrieving revision 1.38
  diff -u -d -b -u -r1.37 -r1.38
  --- mod_include.html	2001/09/22 19:36:01	1.37
  +++ mod_include.html	2001/12/05 19:11:45	1.38
  @@ -55,21 +55,8 @@
   
       <blockquote>
         <code>AddType text/html .shtml<br />
  -       &lt;FilesMatch "\.shtml(\..+)?$"&gt;<br />
  -       &nbsp;&nbsp;SetOutputFilter INCLUDES<br />
  -       &lt;/FilesMatch&gt;</code>
  +            AddOutputFilter INCLUDES .shtml</code>
       </blockquote>
  -
  -    <p>Be careful to properly scope the INCLUDES filter to process
  -    only the correct files. The filter is <strong>not</strong>
  -    restricted to processing only HTML files. So, for example, if
  -    the INCLUDES filter is activated using a
  -    <code>&lt;Directory&gt;</code> section and that directory
  -    includes GIF files, mod_include will process the GIF files.
  -    This can have two adverse consequences: 1. there will be extra
  -    overhead in serving these files, and 2. these files could
  -    become corrupted if they happen to contain something that looks
  -    like an SSI element.</p>
   
       <p>The following directive must be given for the directories
       containing the shtml files (typically in a