httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <sl...@finance.commerce.ubc.ca>
Subject [PATCH] httpd-std.conf proper example for activating SSI
Date Sat, 10 Feb 2001 23:08:50 GMT
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



Mime
View raw message