the following directives:</p>
<pre>
AddType text/html .shtml
- <FilesMatch "\.shtml(\..+)?$">
- SetOutputFilter INCLUDES
- </FilesMatch>
+ AddOutputFilter INCLUDES .shtml
</pre>
<p>One disadvantage to this approach is that if you wanted to
<blockquote>
<code>AddType text/html .shtml<br />
- <FilesMatch "\.shtml(\..+)?$"><br />
- SetOutputFilter INCLUDES<br />
- </FilesMatch></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><Directory></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
<code><Directory></code> section, but this directive is