Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/bash
- LN=$(cat -n apache.conf | grep '<Directory \/var\/www\/>' | grep -o '[0-9]*');
- sed -i "$LN","$(expr $LN + 4)"s/'AllowOverride None'/'AllowOverride All'/ apache.conf;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement