diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2018-02-20 16:16:15 +0100 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2018-02-20 16:16:15 +0100 |
commit | 3d19ce5671e45b8e06a91cb09065d81e22f9d6fd (patch) | |
tree | e6221f12bdc4c48f5dc919874265633e3709559c /adei/scripts/override.sed | |
download | adei-3d19ce5671e45b8e06a91cb09065d81e22f9d6fd.tar.gz adei-3d19ce5671e45b8e06a91cb09065d81e22f9d6fd.tar.bz2 adei-3d19ce5671e45b8e06a91cb09065d81e22f9d6fd.tar.xz adei-3d19ce5671e45b8e06a91cb09065d81e22f9d6fd.zip |
Initial import
Diffstat (limited to 'adei/scripts/override.sed')
-rw-r--r-- | adei/scripts/override.sed | 19 |
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 |