summaryrefslogtreecommitdiffstats
path: root/adei/files/opt/scripts/override.sed
diff options
context:
space:
mode:
Diffstat (limited to 'adei/files/opt/scripts/override.sed')
-rw-r--r--adei/files/opt/scripts/override.sed19
1 files changed, 19 insertions, 0 deletions
diff --git a/adei/files/opt/scripts/override.sed b/adei/files/opt/scripts/override.sed
new file mode 100644
index 0000000..7b96a5b
--- /dev/null
+++ b/adei/files/opt/scripts/override.sed
@@ -0,0 +1,19 @@
+\,<Directory "/srv/www/htdocs">, {
+ :loop
+
+ \,</Directory>, {
+ 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