From 3d19ce5671e45b8e06a91cb09065d81e22f9d6fd Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Tue, 20 Feb 2018 16:16:15 +0100 Subject: Initial import --- adei/scripts/override.sed | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 adei/scripts/override.sed (limited to 'adei/scripts/override.sed') diff --git a/adei/scripts/override.sed b/adei/scripts/override.sed new file mode 100644 index 0000000..7b96a5b --- /dev/null +++ b/adei/scripts/override.sed @@ -0,0 +1,19 @@ +\,, { + :loop + + \,, { + b exit + } + + s/^(\s*Options|\s*AllowOverride).*/\1 All/ + n + + b loop +} +\,/adei/cfg/apache.conf, { + $ ! d +} +\,/adei/cfg/apache.conf, ! { + $aInclude /adei/cfg/apache.conf +} +:exit -- cgit v1.2.3