From: Joshua Slive Date: Wed, 5 Dec 2001 19:11:45 +0000 (+0000) Subject: Update SSI docs to use AddOutputFilter in place of SetOutputFilter. X-Git-Tag: 2.0.30~277 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7edd8f5d420dbe3e1e24d587eb5ceeda219afe3f;p=thirdparty%2Fapache%2Fhttpd.git 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 --- diff --git a/docs/manual/howto/ssi.html.en b/docs/manual/howto/ssi.html.en index 812f0c683b4..eef2ed2f9f1 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 8d9623cb469..5a309c4db07 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