From: Joshua Slive
XBitHack
AddType
-AddHandler
+SetOutputFilter
BrowserMatchNoCase
diff --git a/docs/manual/mod/mod_include.html b/docs/manual/mod/mod_include.html
index ee32bf010a..722120ea03 100644
--- a/docs/manual/mod/mod_include.html
+++ b/docs/manual/mod/mod_include.html
@@ -49,7 +49,7 @@ variables.
See also: Options -and AddHandler.
+and SetOutputFilter.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 also valid .htaccess files if AllowOverride
@@ -77,15 +87,8 @@ Options
is set):
Alternatively the XBitHack
-directive can be used to parse normal (text/html
) files,
-based on file permissions.
For backwards compatibility, documents with mime type
-text/x-server-parsed-html
or
-text/x-server-parsed-html3
will also be parsed
-(and the resulting output given the mime type text/html
)
-as will documents with the handler server-parsed
.
+
For more information, see our Tutorial +on Server Side Includes.
+
Warning: This directive is not yet working in +Apache 2.0. The issue is being tracked in PR7751.
+ + + The XBitHack directives controls the parsing of ordinary html documents. This directive only affects files associated with the MIME typetext/html
. XBitHack can take on the following values:
diff --git a/docs/manual/upgrading.html b/docs/manual/upgrading.html
index 9b315f5048..901927f595 100644
--- a/docs/manual/upgrading.html
+++ b/docs/manual/upgrading.html
@@ -24,9 +24,9 @@ Features document, or in the src/CHANGES
file.
autoconf
and libtool
-system for configuring the build processes. Using this system
-is similar to, but not the same as, using the APACI system in
-Apache 1.3. Further documentation to follow.AddHandler server-parsed .shtml
, you can get
+similar functionality using
+
+<FilesMatch "\.shtml(\..+)?$">
+ SetOutputFilter INCLUDES
+</FilesMatch>
+
CacheNegotiatedDocs
directive now takes
the argument on
or off
. Existing
instances of CacheNegotiatedDocs
should be replaced
diff --git a/docs/manual/upgrading.html.en b/docs/manual/upgrading.html.en
index 9b315f5048..901927f595 100644
--- a/docs/manual/upgrading.html.en
+++ b/docs/manual/upgrading.html.en
@@ -24,9 +24,9 @@ Features document, or in the src/CHANGES
file.
autoconf
and libtool
-system for configuring the build processes. Using this system
-is similar to, but not the same as, using the APACI system in
-Apache 1.3. Further documentation to follow.AddHandler server-parsed .shtml
, you can get
+similar functionality using
+
+<FilesMatch "\.shtml(\..+)?$">
+ SetOutputFilter INCLUDES
+</FilesMatch>
+
CacheNegotiatedDocs
directive now takes
the argument on
or off
. Existing
instances of CacheNegotiatedDocs
should be replaced