You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Joshua Slive <sl...@finance.commerce.ubc.ca> on 2001/02/11 00:08:50 UTC

[PATCH] httpd-std.conf proper example for activating SSI

The recent change to use SetOutputFilter in the default config is a little
bit off.  In particular, it will not properly handle files with multiple
extensions (such as the xxx.html.en files we use in the docs).  Here is a
patch to fix that, and also to use the more obvious <FilesMatch> form
of the directive.

Index: httpd-std.conf
===================================================================
RCS file: /home/cvs/httpd-2.0/docs/conf/httpd-std.conf,v
retrieving revision 1.20
diff -u -d -b -r1.20 httpd-std.conf
--- httpd-std.conf      2001/02/10 17:15:59     1.20
+++ httpd-std.conf      2001/02/10 23:04:19
@@ -752,9 +752,9 @@
 #
 # To use server-parsed HTML files
 #
-#<Files ~ "\.shtml$">
+#<FilesMatch "\.shtml[.$]">
 #    SetOutputFilter INCLUDES
-#</Files>
+#</FilesMatch>

 #
 # Uncomment the following line to enable Apache's send-asis HTTP file