Apache zezwala na nadpisanie wszystkich bashów
sed "$(grep -n "AllowOverride None" input.file |cut -f1 -d:)s/.*/AllowOverride All/" input.file > output.file
Defeated Dotterel