From 906e8c3feb1e16066328f299eb3bb9f7f1c4f0a2 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Tue, 31 Dec 2002 03:16:29 +0000 Subject: Correct unfinished mod_xslt lines. --- apache/apache-ssl.cf | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/apache/apache-ssl.cf b/apache/apache-ssl.cf index 9248364..78f192e 100755 --- a/apache/apache-ssl.cf +++ b/apache/apache-ssl.cf @@ -1,4 +1,4 @@ -#! /usr/bin/cfengine -qf +#! /usr/bin/cfengine -qvf control: OutputPrefix = ("${cf_prefix}") @@ -317,35 +317,36 @@ editfiles: UnsetAbort "^# END CFENGINE$" EndGroup # - # LoadModule authshadow_module /usr/lib/apache/1.3/mod_xslt.so + # LoadModule xslt_module /usr/lib/apache/1.3/mod_xslt.so # - # + # # # AddHandler mod_xslt .html # AddHandler mod_xslt .txt # # # - BeginGroupIfFileExists "/usr/lib/apache/1.3/mod_auth_shadow.so" + BeginGroupIfFileExists "/usr/lib/apache/1.3/mod_xslt.so" ResetSearch "1" -# bug! UnCommentLinesMatching "^#[[:blank:]]*LoadModule[[:blank:]]+authshadow_module[[:blank:]].*" - LocateLineMatching "^#[[:blank:]]*LoadModule[[:blank:]]+authshadow_module[[:blank:]]+/usr/lib/apache/1.3/mod_auth_shadow.so$" - ReplaceLineWith "LoadModule authshadow_module /usr/lib/apache/1.3/mod_auth_shadow.so" +# bug! UnCommentLinesMatching "^#[[:blank:]]*LoadModule[[:blank:]]+xslt_module[[:blank:]].*" + LocateLineMatching "^#[[:blank:]]*LoadModule[[:blank:]]+xslt_module[[:blank:]]+/usr/lib/apache/1.3/mod_xslt.so$" + ReplaceLineWith "LoadModule xslt_module /usr/lib/apache/1.3/mod_xslt.so" CatchAbort AbortAtLineMatching "^# END CFENGINE$" LocateLineMatching "^# BEGIN CFENGINE$" - BeginGroupIfNoSuchLine "" - InsertLine "" - InsertLine " " + BeginGroupIfNoSuchLine "" + InsertLine "" + InsertLine " " InsertLine " " InsertLine "" EndGroup ResetSearch "1" LocateLineMatching "^# BEGIN CFENGINE$" - LocateLineMatching "^$" - LocateLineMatching "[[:blank:]]+" - BeginGroupIfNoLineMatching "[[:blank:]]+AuthShadow Off" - InsertLine " AuthShadow Off" + LocateLineMatching "^$" + LocateLineMatching "[[:blank:]]+" + BeginGroupIfNoLineMatching "[[:blank:]]+AddHandler mod_xslt .html" + InsertLine " AddHandler mod_xslt .html" + InsertLine " AddHandler mod_xslt .txt" EndGroup UnsetAbort "^# END CFENGINE$" EndGroup -- cgit v1.2.3