summaryrefslogtreecommitdiffstats
path: root/adei/scripts/override.sed
diff options
context:
space:
mode:
Diffstat (limited to 'adei/scripts/override.sed')
-rw-r--r--adei/scripts/override.sed19
1 files changed, 19 insertions, 0 deletions
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 @@
+\,<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