From 7edd8f5d420dbe3e1e24d587eb5ceeda219afe3f Mon Sep 17 00:00:00 2001 From: Joshua Slive Date: Wed, 5 Dec 2001 19:11:45 +0000 Subject: [PATCH] Update SSI docs to use AddOutputFilter in place of SetOutputFilter. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92349 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/howto/ssi.html.en | 4 +--- docs/manual/mod/mod_include.html | 15 +-------------- 2 files changed, 2 insertions(+), 17 deletions(-) diff --git a/docs/manual/howto/ssi.html.en b/docs/manual/howto/ssi.html.en index 812f0c683b..eef2ed2f9f 100644 --- a/docs/manual/howto/ssi.html.en +++ b/docs/manual/howto/ssi.html.en @@ -160,9 +160,7 @@ the following directives:

         AddType text/html .shtml
-        <FilesMatch "\.shtml(\..+)?$">
-          SetOutputFilter INCLUDES
-        </FilesMatch>
+	AddOutputFilter INCLUDES .shtml
 

One disadvantage to this approach is that if you wanted to diff --git a/docs/manual/mod/mod_include.html b/docs/manual/mod/mod_include.html index 8d9623cb46..5a309c4db0 100644 --- a/docs/manual/mod/mod_include.html +++ b/docs/manual/mod/mod_include.html @@ -55,22 +55,9 @@

AddType text/html .shtml
- <FilesMatch "\.shtml(\..+)?$">
-   SetOutputFilter INCLUDES
- </FilesMatch>
+ AddOutputFilter INCLUDES .shtml
-

Be careful to properly scope the INCLUDES filter to process - only the correct files. The filter is not - restricted to processing only HTML files. So, for example, if - the INCLUDES filter is activated using a - <Directory> 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.

-

The following directive must be given for the directories containing the shtml files (typically in a <Directory> section, but this directive is -- 2.40.0