From 7edd8f5d420dbe3e1e24d587eb5ceeda219afe3f Mon Sep 17 00:00:00 2001
From: Joshua Slive
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